Table of Contents

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 = 20

An attribute or annotation.

AttributeName = 23

A markup attribute name.

AttributeValue = 24

A markup attribute value.

Char = 7

A character literal.

Comment = 9

A comment.

ControlKeyword = 2

A control-flow keyword.

CssProperty = 26

A CSS property name.

CssPseudo = 29

A CSS pseudo-element or pseudo-class.

CssSelector = 25

A CSS selector.

CssUnit = 28

A CSS unit.

CssValue = 27

A CSS value.

Directive = 18

A directive.

Field = 14

A field name.

InterpolatedString = 6

An interpolated string literal.

Keyword = 1

A language keyword.

Method = 12

A method name.

Namespace = 17

A namespace name.

Number = 8

A numeric literal.

Operator = 10

An operator.

Parameter = 15

A parameter name.

PreprocessorDirective = 19

A preprocessor directive.

Property = 13

A property name.

Punctuation = 11

Punctuation.

RazorCodeBlock = 32

A Razor code block.

RazorDelimiter = 30

A Razor delimiter.

RazorExpression = 31

A Razor expression.

String = 4

A string literal.

Tag = 21

A markup tag and its contents.

TagName = 22

A markup tag name.

Text = 0

Plain text without special meaning.

Type = 3

A built-in or user-defined type name.

Variable = 16

A variable name.

VerbatimString = 5

A verbatim string literal.