Enum SemanticTokenType
Represents a semantic token type.
Namespace: DevToys.Api
Assembly: DevToys.Api.dll
Syntax
public enum SemanticTokenType
Fields
| Name | Description |
|---|---|
| Class | For identifiers that declare or reference a class type. |
| Comment | For tokens that represent a comment. |
| Decorator | For identifiers that declare or reference decorators and annotations. |
| Enum | For identifiers that declare or reference an enumeration type. |
| EnumMember | For identifiers that declare or reference an enumeration property, constant, or member. |
| Event | For identifiers that declare an event property. |
| Function | For identifiers that declare a function. |
| Interface | For identifiers that declare or reference an interface type. |
| Keyword | For tokens that represent a language keyword. |
| Label | For identifiers that declare a label. |
| Macro | For identifiers that declare a macro. |
| Method | For identifiers that declare a member function or method. |
| Namespace | For identifiers that declare or reference a namespace, module, or package. |
| Number | For tokens that represent a number literal. |
| Operator | For tokens that represent an operator. |
| Parameter | For identifiers that declare or reference a function or method parameters. |
| Property | For identifiers that declare or reference a member property, member field, or member variable. |
| RegularExpression | For tokens that represent a regular expression literal. |
| String | For tokens that represent a string literal. |
| Struct | For identifiers that declare or reference a struct type. |
| Type | For identifiers that declare or reference a type that is not covered above. |
| TypeParameter | For identifiers that declare or reference a type parameter. |
| Variable | For identifiers that declare or reference a local or global variable. |