TOK

Enumeration of token kinds.

Values

ValueMeaning
Invalid

Unitialized token.

Illegal

Unrecognized characters.

Comment

// /**/ /++/

Shebang

#!/bin/something

HashLine

#line

Filespec

"new/path"

Newline

\n

Empty

Special token with empty text.

LastWhitespaceEmpty

End of whitespace tokens.

Identifier
String
Character
SpecialID

__FILE__, __LINE__ etc.

Int32
Int64
UInt32
UInt64
Float32
Float64
Float80
IFloat32
IFloat64
IFloat80
LParen
RParen
LBracket
RBracket
LBrace
RBrace
Dot
Dot2
Dot3
Unordered
UorE
UorG
UorGorE
UorL
UorLorE
LorEorG
LorG
Equal
Equal2
EqlGreater
Exclaim
ExclaimEql
Less
LessEql
Greater
GreaterEql
Less2
Less2Eql
Greater2
Greater2Eql
Greater3
Greater3Eql
Pipe
PipeEql
Pipe2
Amp
AmpEql
Amp2
Plus
PlusEql
Plus2
Minus
MinusEql
Minus2
Slash
SlashEql
Star
StarEql
Percent
PercentEql
Caret
CaretEql
Caret2
Caret2Eql
Tilde
TildeEql
Colon
Semicolon
Question
Comma
Dollar
At
Abstract

Keywords: NB.: Token.isKeyword() depends on this list being contiguous.

Alias
Align
ArgTypes
Asm
Assert
Auto
Body
Break
Case
Cast
Catch
Class
Const
Continue
Debug
Default
Delegate
Delete
Deprecated
Do
Else
Enum
Export
Extern
False
Final
Finally
For
Foreach
ForeachReverse
Function
Goto
Gshared
If
Immutable
Import
In
Inout
Interface
Invariant
Is
Lazy
Macro
Mixin
Module
New
Nothrow
Null
Out
OverloadSet
Override
Package
Parameters
Pragma
Private
Protected
Public
Pure
Ref
Return
Shared
Scope
Static
Struct
Super
Switch
Synchronized
Template
This
Throw
Traits
True
Try
Typedef
Typeid
Typeof
Union
Unittest
Vector
Version
Volatile
While
With
Char
Wchar
Dchar
Bool
Byte
Ubyte
Short
Ushort
Int
Uint
Long
Ulong
Cent
Ucent
Float
Double
Real
Ifloat
Idouble
Ireal
Cfloat
Cdouble
Creal
Void
EOF
MAX
OverloadsetOverloadSet
Foreach_reverseForeachReverse

Meta