Enum TokenType
- Namespace
- BlazOrbit.SyntaxHighlight.Tokens
- Assembly
- BlazOrbit.SyntaxHighlight.dll
Defines the types of tokens that can be produced by the syntax highlighter.
public enum TokenType
Fields
Attribute = 20An attribute or annotation.
AttributeName = 23A markup attribute name.
AttributeValue = 24A markup attribute value.
Char = 7A character literal.
Comment = 9A comment.
ControlKeyword = 2A control-flow keyword.
CssProperty = 26A CSS property name.
CssPseudo = 29A CSS pseudo-element or pseudo-class.
CssSelector = 25A CSS selector.
CssUnit = 28A CSS unit.
CssValue = 27A CSS value.
Directive = 18A directive.
Field = 14A field name.
InterpolatedString = 6An interpolated string literal.
Keyword = 1A language keyword.
Method = 12A method name.
Namespace = 17A namespace name.
Number = 8A numeric literal.
Operator = 10An operator.
Parameter = 15A parameter name.
PreprocessorDirective = 19A preprocessor directive.
Property = 13A property name.
Punctuation = 11Punctuation.
RazorCodeBlock = 32A Razor code block.
RazorDelimiter = 30A Razor delimiter.
RazorExpression = 31A Razor expression.
String = 4A string literal.
Tag = 21A markup tag and its contents.
TagName = 22A markup tag name.
Text = 0Plain text without special meaning.
Type = 3A built-in or user-defined type name.
Variable = 16A variable name.
VerbatimString = 5A verbatim string literal.