Enumeration SemanticTokenTypes

A set of predefined token types. This set is not fixed an clients can specify additional token types via the corresponding client capabilities.

3.16.0

Enumeration Members

class: "class"
comment: "comment"
decorator: "decorator"

3.17.0

enum: "enum"
enumMember: "enumMember"
event: "event"
function: "function"
interface: "interface"
keyword: "keyword"
label: "label"

3.18.0

macro: "macro"
method: "method"
modifier: "modifier"
namespace: "namespace"
number: "number"
operator: "operator"
parameter: "parameter"
property: "property"
regexp: "regexp"
string: "string"
struct: "struct"
type: "type"

Represents a generic type. Acts as a fallback for types which can't be mapped to a specific type like class or enum.

typeParameter: "typeParameter"
variable: "variable"