enum class compiler::Token

sys::Obj
  sys::Enum
    compiler::Token

@Serializable { simple=true }

Source

Token is the enum for all the token types.

abstractKeyword

const static Token abstractKeyword := ...

Source

amp

const static Token amp := ...

Source

arrow

const static Token arrow := ...

Source

asKeyword

const static Token asKeyword := ...

Source

assertKeyword

const static Token assertKeyword := ...

Source

assign

const static Token assign := ...

Source

assignMinus

const static Token assignMinus := ...

Source

assignPercent

const static Token assignPercent := ...

Source

assignPlus

const static Token assignPlus := ...

Source

assignSlash

const static Token assignSlash := ...

Source

assignStar

const static Token assignStar := ...

Source

at

const static Token at := ...

Source

bang

const static Token bang := ...

Source

breakKeyword

const static Token breakKeyword := ...

Source

caret

const static Token caret := ...

Source

caseKeyword

const static Token caseKeyword := ...

Source

catchKeyword

const static Token catchKeyword := ...

Source

classKeyword

const static Token classKeyword := ...

Source

cmp

const static Token cmp := ...

Source

colon

const static Token colon := ...

Source

comma

const static Token comma := ...

Source

constKeyword

const static Token constKeyword := ...

Source

continueKeyword

const static Token continueKeyword := ...

Source

decimalLiteral

const static Token decimalLiteral := ...

Source

decrement

const static Token decrement := ...

Source

defAssign

const static Token defAssign := ...

Source

defaultKeyword

const static Token defaultKeyword := ...

Source

doKeyword

const static Token doKeyword := ...

Source

docComment

const static Token docComment := ...

Source

dollar

const static Token dollar := ...

Source

dot

const static Token dot := ...

Source

dotDot

const static Token dotDot := ...

Source

dotDotLt

const static Token dotDotLt := ...

Source

doubleAmp

const static Token doubleAmp := ...

Source

doubleColon

const static Token doubleColon := ...

Source

doublePipe

const static Token doublePipe := ...

Source

dsl

const static Token dsl := ...

Source

durationLiteral

const static Token durationLiteral := ...

Source

elseKeyword

const static Token elseKeyword := ...

Source

elvis

const static Token elvis := ...

Source

eof

const static Token eof := ...

Source

eq

const static Token eq := ...

Source

falseKeyword

const static Token falseKeyword := ...

Source

finalKeyword

const static Token finalKeyword := ...

Source

finallyKeyword

const static Token finallyKeyword := ...

Source

floatLiteral

const static Token floatLiteral := ...

Source

forKeyword

const static Token forKeyword := ...

Source

foreachKeyword

const static Token foreachKeyword := ...

Source

fromStr

static new fromStr(Str name, Bool checked := true)

Source

Return the Token instance for the specified name. If not a valid name and checked is false return null, otherwise throw ParseErr.

gt

const static Token gt := ...

Source

gtEq

const static Token gtEq := ...

Source

identifier

const static Token identifier := ...

Source

ifKeyword

const static Token ifKeyword := ...

Source

increment

const static Token increment := ...

Source

intLiteral

const static Token intLiteral := ...

Source

internalKeyword

const static Token internalKeyword := ...

Source

isAssign

const Bool isAssign

Source

Is this an assignment token such as "=", etc "+=", etc

isIncrementOrDecrement

Bool isIncrementOrDecrement()

Source

Return if -- or ++

isKeyword

const static Token isKeyword := ...

Source

isProtectionKeyword

Bool isProtectionKeyword()

Source

Is one of: public, protected, internal, private

isnotKeyword

const static Token isnotKeyword := ...

Source

itKeyword

const static Token itKeyword := ...

Source

keyword

const Bool keyword

Source

Is this a keyword token such as "null"

keywords

const static Str:Token keywords

Source

Get a map of the keywords

lbrace

const static Token lbrace := ...

Source

lbracket

const static Token lbracket := ...

Source

localeLiteral

const static Token localeLiteral := ...

Source

lparen

const static Token lparen := ...

Source

lparenSynthetic

const static Token lparenSynthetic := ...

Source

lt

const static Token lt := ...

Source

ltEq

const static Token ltEq := ...

Source

main

static Void main()

Source

minus

const static Token minus := ...

Source

mixinKeyword

const static Token mixinKeyword := ...

Source

nativeKeyword

const static Token nativeKeyword := ...

Source

newKeyword

const static Token newKeyword := ...

Source

notEq

const static Token notEq := ...

Source

notSame

const static Token notSame := ...

Source

nullKeyword

const static Token nullKeyword := ...

Source

onceKeyword

const static Token onceKeyword := ...

Source

overrideKeyword

const static Token overrideKeyword := ...

Source

percent

const static Token percent := ...

Source

pipe

const static Token pipe := ...

Source

plus

const static Token plus := ...

Source

pound

const static Token pound := ...

Source

privateKeyword

const static Token privateKeyword := ...

Source

protectedKeyword

const static Token protectedKeyword := ...

Source

publicKeyword

const static Token publicKeyword := ...

Source

question

const static Token question := ...

Source

rbrace

const static Token rbrace := ...

Source

rbracket

const static Token rbracket := ...

Source

readonlyKeyword

const static Token readonlyKeyword := ...

Source

returnKeyword

const static Token returnKeyword := ...

Source

rparen

const static Token rparen := ...

Source

safeArrow

const static Token safeArrow := ...

Source

safeDot

const static Token safeDot := ...

Source

same

const static Token same := ...

Source

semicolon

const static Token semicolon := ...

Source

slash

const static Token slash := ...

Source

star

const static Token star := ...

Source

staticKeyword

const static Token staticKeyword := ...

Source

strLiteral

const static Token strLiteral := ...

Source

superKeyword

const static Token superKeyword := ...

Source

switchKeyword

const static Token switchKeyword := ...

Source

symbol

const Str symbol

Source

Get string used to display token to user in error messages

thisKeyword

const static Token thisKeyword := ...

Source

throwKeyword

const static Token throwKeyword := ...

Source

tilde

const static Token tilde := ...

Source

toExprId

ExprId toExprId()

Source

Get this Token as a ExprId or throw Err.

toShortcutOp

ShortcutOp toShortcutOp(Int degree)

Source

Map an operator token to it's shortcut operator enum. Degree is 1 for unary and 2 for binary.

toStr

virtual override Str toStr()

Source

trueKeyword

const static Token trueKeyword := ...

Source

tryKeyword

const static Token tryKeyword := ...

Source

uriLiteral

const static Token uriLiteral := ...

Source

usingKeyword

const static Token usingKeyword := ...

Source

vals

const static Token[] vals := ...

Source

List of Token values indexed by ordinal

virtualKeyword

const static Token virtualKeyword := ...

Source

voidKeyword

const static Token voidKeyword := ...

Source

volatileKeyword

const static Token volatileKeyword := ...

Source

whileKeyword

const static Token whileKeyword := ...

Source