Enum TokenKind
Represents the kind of token, a lexical element in the formal language grammar.
Namespace: CilTools.SourceCode.Common
Assembly: CilTools.SourceCode.dll
Syntax
public enum TokenKind
Fields
Name | Description |
---|---|
Comment | Single-line comment token |
DoubleQuotLiteral | Double-quoted text literal token ("foo") |
FunctionName | Identifier token that represents a function name |
Keyword | Keyword token |
MultilineComment | Multiline comment token |
Name | Uncategorized identifier token (keyword or name of function/type/variable etc.) |
NumericLiteral | Literal token of numeric type (integer or floating-point) |
Punctuation | Punctuation sign token |
SingleQuotLiteral | Single-quoted text literal token ('foo') |
SpecialTextLiteral | Text literal with a special syntax, such as verbatim string literal in C# |
TypeName | Identifier token that represents a type name |
Unknown | Unknown token |