Fan

 

Slots

abstractKeywordSource

static Token abstractKeyword := Token.make(67, "abstractKeyword")

ampSource

static Token amp := Token.make(25, "amp", "&")

arrowSource

static Token arrow := Token.make(61, "arrow", "->")

asKeywordSource

static Token asKeyword := Token.make(68, "asKeyword")

assertKeywordSource

static Token assertKeyword := Token.make(69, "assertKeyword")

assignSource

static Token assign := ")

assignAmpSource

static Token assignAmp := ")

assignCaretSource

static Token assignCaret := ")

assignLshiftSource

static Token assignLshift := ")

assignMinusSource

static Token assignMinus := ")

assignPercentSource

static Token assignPercent := ")

assignPipeSource

static Token assignPipe := ")

assignPlusSource

static Token assignPlus := ")

assignRshiftSource

static Token assignRshift := ")

assignSlashSource

static Token assignSlash := ")

assignStarSource

static Token assignStar := ")

atSource

static Token at := Token.make(27, "at", "@")

bangSource

static Token bang := Token.make(21, "bang", "!")

breakKeywordSource

static Token breakKeyword := Token.make(70, "breakKeyword")

caretSource

static Token caret := Token.make(26, "caret", "^")

caseKeywordSource

static Token caseKeyword := Token.make(71, "caseKeyword")

catchKeywordSource

static Token catchKeyword := Token.make(72, "catchKeyword")

classKeywordSource

static Token classKeyword := Token.make(73, "classKeyword")

cmpSource

static Token cmp := >")

colonSource

static Token colon := Token.make(11, "colon", ":")

commaSource

static Token comma := Token.make(10, "comma", ",")

constKeywordSource

static Token constKeyword := Token.make(74, "constKeyword")

continueKeywordSource

static Token continueKeyword := Token.make(75, "continueKeyword")

decimalLiteralSource

static Token decimalLiteral := ...

decrementSource

static Token decrement := Token.make(20, "decrement", "--")

defAssignSource

static Token defAssign := ")

defaultKeywordSource

static Token defaultKeyword := Token.make(76, "defaultKeyword")

doKeywordSource

static Token doKeyword := Token.make(77, "doKeyword")

docCommentSource

static Token docComment := Token.make(65, "docComment", "**")

dollarSource

static Token dollar := Token.make(66, "dollar", "$")

dotSource

static Token dot := Token.make(8, "dot", ".")

dotDotSource

static Token dotDot := Token.make(47, "dotDot", "..")

dotDotLtSource

static Token dotDotLt := Token.make(48, "dotDotLt", "..<")

doubleAmpSource

static Token doubleAmp := Token.make(29, "doubleAmp", "&&")

doubleColonSource

static Token doubleColon := Token.make(12, "doubleColon", "")

doublePipeSource

static Token doublePipe := Token.make(28, "doublePipe", "||")

dslSource

static Token dsl := Token.make(7, "dsl", "DSL")

durationLiteralSource

static Token durationLiteral := ...

elseKeywordSource

static Token elseKeyword := Token.make(78, "elseKeyword")

elvisSource

static Token elvis := Token.make(62, "elvis", "?:")

enumKeywordSource

static Token enumKeyword := Token.make(79, "enumKeyword")

eofSource

static Token eof := Token.make(113, "eof", "eof")

eqSource

static Token eq := =")

falseKeywordSource

static Token falseKeyword := Token.make(80, "falseKeyword")

finalKeywordSource

static Token finalKeyword := Token.make(81, "finalKeyword")

finallyKeywordSource

static Token finallyKeyword := Token.make(82, "finallyKeyword")

floatLiteralSource

static Token floatLiteral := ...

forKeywordSource

static Token forKeyword := Token.make(83, "forKeyword")

foreachKeywordSource

static Token foreachKeyword := Token.make(84, "foreachKeyword")

fromStrSource

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

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

gtSource

static Token gt := Token.make(37, "gt", ">")

gtEqSource

static Token gtEq := ")

identifierSource

static Token identifier := ...

ifKeywordSource

static Token ifKeyword := Token.make(85, "ifKeyword")

incrementSource

static Token increment := Token.make(19, "increment", "++")

intLiteralSource

static Token intLiteral := ...

internalKeywordSource

static Token internalKeyword := Token.make(86, "internalKeyword")

isAssignSource

const Bool isAssign

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

isKeywordSource

static Token isKeyword := Token.make(87, "isKeyword")

isProtectionKeywordSource

Bool isProtectionKeyword()

Is one of: public, protected, internal, private

isnotKeywordSource

static Token isnotKeyword := Token.make(88, "isnotKeyword")

itKeywordSource

static Token itKeyword := Token.make(89, "itKeyword")

keywordSource

const Bool keyword

Is this a keyword token such as "null"

keywordsSource

static Str:Token keywords

Get a map of the keywords

lbraceSource

static Token lbrace := Token.make(41, "lbrace", "{")

lbracketSource

static Token lbracket := Token.make(45, "lbracket", "[")

lparenSource

static Token lparen := Token.make(43, "lparen", "(")

lshiftSource

static Token lshift := Token.make(39, "lshift", "<<")

ltSource

static Token lt := Token.make(35, "lt", "<")

ltEqSource

static Token ltEq := ")

mainSource

static Void main()

minusSource

static Token minus := Token.make(14, "minus", "-")

mixinKeywordSource

static Token mixinKeyword := Token.make(90, "mixinKeyword")

nativeKeywordSource

static Token nativeKeyword := Token.make(91, "nativeKeyword")

newKeywordSource

static Token newKeyword := Token.make(92, "newKeyword")

notEqSource

static Token notEq := ")

notSameSource

static Token notSame := =")

nullKeywordSource

static Token nullKeyword := Token.make(93, "nullKeyword")

onceKeywordSource

static Token onceKeyword := Token.make(94, "onceKeyword")

overrideKeywordSource

static Token overrideKeyword := Token.make(95, "overrideKeyword")

percentSource

static Token percent := Token.make(17, "percent", "%")

pipeSource

static Token pipe := Token.make(24, "pipe", "|")

plusSource

static Token plus := Token.make(13, "plus", "+")

poundSource

static Token pound := Token.make(18, "pound", "#")

privateKeywordSource

static Token privateKeyword := Token.make(96, "privateKeyword")

protectedKeywordSource

static Token protectedKeyword := Token.make(97, "protectedKeyword")

publicKeywordSource

static Token publicKeyword := Token.make(98, "publicKeyword")

questionSource

static Token question := Token.make(22, "question", "?")

rbraceSource

static Token rbrace := Token.make(42, "rbrace", "}")

rbracketSource

static Token rbracket := Token.make(46, "rbracket", "]")

readonlyKeywordSource

static Token readonlyKeyword := Token.make(99, "readonlyKeyword")

returnKeywordSource

static Token returnKeyword := Token.make(100, "returnKeyword")

rparenSource

static Token rparen := Token.make(44, "rparen", ")")

rshiftSource

static Token rshift := Token.make(40, "rshift", ">>")

safeArrowSource

static Token safeArrow := Token.make(64, "safeArrow", "?->")

safeDotSource

static Token safeDot := Token.make(63, "safeDot", "?.")

sameSource

static Token same := ==")

semicolonSource

static Token semicolon := Token.make(9, "semicolon", ";")

slashSource

static Token slash := Token.make(16, "slash", "/")

starSource

static Token star := Token.make(15, "star", "*")

staticKeywordSource

static Token staticKeyword := Token.make(101, "staticKeyword")

strLiteralSource

static Token strLiteral := ...

superKeywordSource

static Token superKeyword := Token.make(102, "superKeyword")

switchKeywordSource

static Token switchKeyword := Token.make(103, "switchKeyword")

symbolSource

const Str symbol

Get string used to display token to user in error messages

thisKeywordSource

static Token thisKeyword := Token.make(104, "thisKeyword")

throwKeywordSource

static Token throwKeyword := Token.make(105, "throwKeyword")

tildeSource

static Token tilde := Token.make(23, "tilde", "~")

toExprIdSource

ExprId toExprId()

Get this Token as a ExprId or throw Err.

toShortcutOpSource

ShortcutOp toShortcutOp(Int degree)

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

toStrSource

override Str toStr()

Overrides sys::Enum.toStr

Doc inherited from sys::Enum.toStr

Always returns name().

trueKeywordSource

static Token trueKeyword := Token.make(106, "trueKeyword")

tryKeywordSource

static Token tryKeyword := Token.make(107, "tryKeyword")

uriLiteralSource

static Token uriLiteral := ...

usingKeywordSource

static Token usingKeyword := Token.make(108, "usingKeyword")

valuesSource

static Token[] values := ...

List of Token values indexed by ordinal

virtualKeywordSource

static Token virtualKeyword := Token.make(109, "virtualKeyword")

voidKeywordSource

static Token voidKeyword := Token.make(111, "voidKeyword")

volatileKeywordSource

static Token volatileKeyword := Token.make(110, "volatileKeyword")

whileKeywordSource

static Token whileKeyword := Token.make(112, "whileKeyword")