logo

const enum

compiler::Token

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

Token is the enum for all the token types.

Slots

abstractKeyword

static Token abstractKeyword

amp

static Token amp

arrow

static Token arrow

asKeyword

static Token asKeyword

assertKeyword

static Token assertKeyword

assign

static Token assign

assignAmp

static Token assignAmp

assignCaret

static Token assignCaret

assignLshift

static Token assignLshift

assignMinus

static Token assignMinus

assignPercent

static Token assignPercent

assignPipe

static Token assignPipe

assignPlus

static Token assignPlus

assignRshift

static Token assignRshift

assignSlash

static Token assignSlash

assignStar

static Token assignStar

at

static Token at

bang

static Token bang

breakKeyword

static Token breakKeyword

caret

static Token caret

caseKeyword

static Token caseKeyword

catchKeyword

static Token catchKeyword

classKeyword

static Token classKeyword

cmp

static Token cmp

colon

static Token colon

comma

static Token comma

constKeyword

static Token constKeyword

continueKeyword

static Token continueKeyword

decrement

static Token decrement

defAssign

static Token defAssign

defaultKeyword

static Token defaultKeyword

doKeyword

static Token doKeyword

docComment

static Token docComment

dot

static Token dot

dotDot

static Token dotDot

dotDotDot

static Token dotDotDot

doubleAmp

static Token doubleAmp

doubleColon

static Token doubleColon

doublePipe

static Token doublePipe

durationLiteral

static Token durationLiteral

elseKeyword

static Token elseKeyword

enumKeyword

static Token enumKeyword

eof

static Token eof

eq

static Token eq

falseKeyword

static Token falseKeyword

finalKeyword

static Token finalKeyword

finallyKeyword

static Token finallyKeyword

floatLiteral

static Token floatLiteral

forKeyword

static Token forKeyword

foreachKeyword

static Token foreachKeyword

fromStr

static Token fromStr(Str name, Bool checked := def)

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

gotoKeyword

static Token gotoKeyword

gt

static Token gt

gtEq

static Token gtEq

identifier

static Token identifier

ifKeyword

static Token ifKeyword

increment

static Token increment

intLiteral

static Token intLiteral

internalKeyword

static Token internalKeyword

isAssign

const Bool isAssign

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

isKeyword

static Token isKeyword

keyword

const Bool keyword

Is this a keyword token such as "null"

keywords

static Str:Token keywords

Get a map of the keywords

lbrace

static Token lbrace

lbracket

static Token lbracket

lparen

static Token lparen

lshift

static Token lshift

lt

static Token lt

ltEq

static Token ltEq

main

static Void main()

minus

static Token minus

mixinKeyword

static Token mixinKeyword

nativeKeyword

static Token nativeKeyword

newKeyword

static Token newKeyword

notEq

static Token notEq

notSame

static Token notSame

nullKeyword

static Token nullKeyword

overrideKeyword

static Token overrideKeyword

percent

static Token percent

pipe

static Token pipe

plus

static Token plus

pound

static Token pound

privateKeyword

static Token privateKeyword

protectedKeyword

static Token protectedKeyword

publicKeyword

static Token publicKeyword

question

static Token question

rbrace

static Token rbrace

rbracket

static Token rbracket

readonlyKeyword

static Token readonlyKeyword

returnKeyword

static Token returnKeyword

rparen

static Token rparen

rshift

static Token rshift

same

static Token same

semicolon

static Token semicolon

slash

static Token slash

star

static Token star

staticKeyword

static Token staticKeyword

strLiteral

static Token strLiteral

superKeyword

static Token superKeyword

switchKeyword

static Token switchKeyword

symbol

const Str symbol

Get string used to display token to user in error messages

thisKeyword

static Token thisKeyword

throwKeyword

static Token throwKeyword

tilde

static Token tilde

toExprId

ExprId toExprId()

Get this Token as a ExprId or throw Err.

toShortcutOp

ShortcutOp toShortcutOp(Int degree)

trueKeyword

static Token trueKeyword

tryKeyword

static Token tryKeyword

uriLiteral

static Token uriLiteral

usingKeyword

static Token usingKeyword

values

static Token[] values

List of Token values indexed by ordinal

virtualKeyword

static Token virtualKeyword

voidKeyword

static Token voidKeyword

volatileKeyword

static Token volatileKeyword

whileKeyword

static Token whileKeyword