Enum LspSemanticTokensSource.Type
// TypeScript
export enum SemanticTokenTypes {
namespace = 'namespace',
/**
* Represents a generic type. Acts as a fallback for types which
* can't be mapped to a specific type like class or enum.
*/
type = 'type',
class = 'class',
enum = 'enum',
interface = 'interface',
struct = 'struct',
typeParameter = 'typeParameter',
parameter = 'parameter',
variable = 'variable',
property = 'property',
enumMember = 'enumMember',
event = 'event',
function = 'function',
method = 'method',
macro = 'macro',
keyword = 'keyword',
modifier = 'modifier',
comment = 'comment',
string = 'string',
number = 'number',
regexp = 'regexp',
operator = 'operator',
/**
* @since 3.17.0
*/
decorator = 'decorator'
}
public enum LspSemanticTokensSource.Type
Fields
Class = 2
SemanticTokenTypes.class
Comment = 17
SemanticTokenTypes.comment
Decorator = 22
SemanticTokenTypes.decorator
Enum = 3
SemanticTokenTypes.enum
EnumMember = 10
SemanticTokenTypes.enumMember
Event = 11
SemanticTokenTypes.event
Function = 12
SemanticTokenTypes.function
Interface = 4
SemanticTokenTypes.interface
Keyword = 15
SemanticTokenTypes.keyword
Macro = 14
SemanticTokenTypes.macro
Method = 13
SemanticTokenTypes.method
Modifier = 16
SemanticTokenTypes.modifier
Namespace = 0
SemanticTokenTypes.namespace
Number = 19
SemanticTokenTypes.number
Operator = 21
SemanticTokenTypes.operator
Parameter = 7
SemanticTokenTypes.parameter
Property = 9
SemanticTokenTypes.property
Regexp = 20
SemanticTokenTypes.regexp
String = 18
SemanticTokenTypes.string
Struct = 5
SemanticTokenTypes.struct
Type = 1
SemanticTokenTypes.type
TypeParameter = 6
SemanticTokenTypes.typeParameter
Variable = 8
SemanticTokenTypes.variable