Vixen
02b45cc4
csharp
public enum RavenTokenKind

Lexical token vocabulary for the hand-written lexer — the same shape the retired ANTLR vocabulary had, because the parser needs lexical identity (= versus == versus =>) while the tree's SyntaxKind for a token is chosen by context (an = is an EqualsToken in an initializer and an OperatorToken in an assignment expression).

No guide page documents this yet — the page shows what the code says about itself.

Fields and properties (129)

  • None
  • EndOfFile
  • NewLine
  • Whitespace
  • SingleLineComment
  • MultiLineComment
  • Identifier
  • IntegerLiteral
  • HexIntegerLiteral
  • BinIntegerLiteral
  • RealLiteral
  • StringLiteral
  • GetKeyword
  • SetKeyword
  • WillSetKeyword
  • DidSetKeyword
  • FuncKeyword
  • ProtocolKeyword
  • SelfKeyword
  • ShaderKeyword
  • StructKeyword
  • VarKeyword
  • ValKeyword
  • RepeatKeyword
  • ImportKeyword
  • PackageKeyword
  • InitKeyword
  • BaseKeyword
  • BreakKeyword
  • CaseKeyword
  • ContinueKeyword
  • DefaultKeyword
  • DiscardKeyword
  • ElseKeyword
  • EnumKeyword
  • FalseKeyword
  • ForKeyword
  • IfKeyword
  • InKeyword
  • OperatorKeyword
  • ReturnKeyword
  • SwitchKeyword
  • TrueKeyword
  • WhileKeyword
  • WhereKeyword
  • ComposeKeyword
  • ConstKeyword
  • OverrideKeyword
  • ReadOnlyKeyword
  • StaticKeyword
  • StreamKeyword
  • GroupSharedKeyword
  • InOutKeyword
  • BoolKeyword
  • Bool2Keyword
  • Bool3Keyword
  • Bool4Keyword
  • IntKeyword
  • Int2Keyword
  • Int3Keyword
  • Int4Keyword
  • UIntKeyword
  • UInt2Keyword
  • UInt3Keyword
  • UInt4Keyword
  • FloatKeyword
  • Float2Keyword
  • Float3Keyword
  • Float4Keyword
  • DoubleKeyword
  • Double2Keyword
  • Double3Keyword
  • Double4Keyword
  • Mat2Keyword
  • Mat2x3Keyword
  • Mat2x4Keyword
  • Mat3Keyword
  • Mat3x2Keyword
  • Mat3x4Keyword
  • Mat4Keyword
  • Mat4x2Keyword
  • Mat4x3Keyword
  • OpenBrace
  • CloseBrace
  • OpenBracket
  • CloseBracket
  • OpenParen
  • CloseParen
  • Dot
  • DotDot
  • Comma
  • Colon
  • Question
  • Arrow
  • Plus
  • Minus
  • Star
  • Slash
  • Percent
  • Ampersand
  • Bar
  • Caret
  • Bang
  • Tilde
  • Equals
  • LessThan
  • GreaterThan
  • PlusPlus
  • MinusMinus
  • AmpersandAmpersand
  • BarBar
  • EqualsEquals
  • BangEquals
  • LessThanEquals
  • GreaterThanEquals
  • PlusEquals
  • MinusEquals
  • StarEquals
  • SlashEquals
  • PercentEquals
  • AmpersandEquals
  • BarEquals
  • CaretEquals
  • LessThanLessThan
  • LessThanLessThanEquals
  • GreaterThanGreaterThan
  • GreaterThanGreaterThanEquals
  • UnsignedShiftRight
  • UnsignedShiftRightEquals

Used by (3)

  • LexerDifferentialTestsVixen.Raven.Tests
  • RavenLexerVixen.Raven
  • RavenParserVixen.Raven