Private literalPrivate regexPrivate regexPrivate regexPrivate regexPrivate colorConverts a vscode.Color object to a hex color string.
The vscode.Color object to convert.
Determines whether to include the alpha channel or a color literal.
A hex color string.
Private colorPrivate colorPrivate denormalizePrivate denormalizePrivate extractExtracts a range from a document.
The document to extract the range from.
The start index of the range.
The color string to determine the end of the range.
A vscode.Range object.
Private findFinds colors in a given text using a regex pattern.
The text to find colors in.
The document the text is from.
The regex pattern to use for finding colors.
An array of vscode.ColorInformation objects.
Private fromPrivate getPrivate handlePrivate handlePrivate handlePrivate hexPrivate isPrivate normalizePrivate normalizePrivate parseProvides color presentations for a given color in a document.
The vscode.Color object to provide presentations for.
The context in which the color presentations are provided.
An array of vscode.ColorPresentation objects, or an empty array if an error occurs.
Generated using TypeDoc
The PineColorProvider class provides color information for Pine scripts in VSCode. It implements the vscode.DocumentColorProvider interface.