Tokens

object Tokens extends TokensCommon
class Object
trait Matchable
class Any

Type members

Inherited types

type Token = Int
Inherited from
TokensCommon
Inherited from
TokensCommon

Value members

Concrete methods

def isIdentifier(token: Int): Boolean
final def maxToken: Int

Inherited methods

def buildKeywordArray(keywords: TokenSet): (Int, Array[Int])
Inherited from
TokensCommon
def enter(token: Int, str: String, debugStr: String): Unit
Inherited from
TokensCommon
def isKeyword(token: Token): Boolean
Inherited from
TokensCommon
def showToken(token: Int): String
Inherited from
TokensCommon
Inherited from
TokensCommon
def tokenRange(lo: Int, hi: Int): TokenSet
Inherited from
TokensCommon

Concrete fields

final val ARROW: 77
final val BACKQUOTED_IDENT: 15
final val CASE: 28
final val CASECLASS: 29
final val CASEOBJECT: 30
final val COLONEOL: 88
final val CTXARROW: 86
final val DEF: 39
final val END: 66
final val ENUM: 62
final val EXPORT: 64
final val FORSOME: 61
final val GIVEN: 63
final val HASH: 82
final val IMPLICIT: 37
final val INTERPOLATIONID: 12
final val LARROW: 76
final val LAZY: 59
final val MACRO: 65
final val MATCH: 58
final val NEWLINE: 78

special symbols

special symbols

final val NEWLINES: 79
final val OBJECT: 44
final val QUOTE: 87
final val QUOTEID: 13
final val SEALED: 51
final val SELFARROW: 89
final val SUBTYPE: 80
final val SUPERTYPE: 81
final val THEN: 60
final val TLARROW: 85
final val TRAIT: 50
final val TYPE: 40
final val USCORE: 73

special keywords

special keywords

final val VAL: 31
final val VAR: 38
final val VIEWBOUND: 84
final val WITH: 26

alphabetic keywords

alphabetic keywords

final val XMLSTART: 99

XML mode

XML mode

final val YIELD: 48
final val allTokens: TokenSet
final val keywords: TokenSet
final val minToken: 0

Is token only legal as start of statement (eof also included)?

Is token only legal as start of statement (eof also included)?

Faced with the choice between a type and a formal parameter, the following tokens determine it's a formal parameter.

Faced with the choice between a type and a formal parameter, the following tokens determine it's a formal parameter.

Tokens that stop a lookahead scan search for a <-, then, or do. Used for disambiguating between old and new syntax.

Tokens that stop a lookahead scan search for a <-, then, or do. Used for disambiguating between old and new syntax.

Inherited fields

final val ABSTRACT: 32
Inherited from
TokensCommon
final val AT: 83
Inherited from
TokensCommon
final val CATCH: 54
Inherited from
TokensCommon
final val CHARLIT: 3

literals

literals

Inherited from
TokensCommon
final val CLASS: 45
Inherited from
TokensCommon
final val COLON: 74

special keywords

special keywords

Inherited from
TokensCommon
final val COMMA: 70

special symbols

special symbols

Inherited from
TokensCommon
final val DECILIT: 5
Inherited from
TokensCommon
final val DO: 49
Inherited from
TokensCommon
final val DOT: 72
Inherited from
TokensCommon
final val DOUBLELIT: 9
Inherited from
TokensCommon
final val ELSE: 22
Inherited from
TokensCommon
final val EMPTY: 0

special tokens

special tokens

Inherited from
TokensCommon
final val EOF: 2
Inherited from
TokensCommon
final val EQUALS: 75
Inherited from
TokensCommon
final val ERROR: 1
Inherited from
TokensCommon
final val EXPOLIT: 6
Inherited from
TokensCommon
final val EXTENDS: 41
Inherited from
TokensCommon
final val FALSE: 43
Inherited from
TokensCommon
final val FINAL: 33
Inherited from
TokensCommon
final val FINALLY: 55
Inherited from
TokensCommon
final val FLOATLIT: 8
Inherited from
TokensCommon
final val FOR: 21
Inherited from
TokensCommon
final val IDENTIFIER: 14

identifiers

identifiers

Inherited from
TokensCommon
final val IF: 20

alphabetic keywords

alphabetic keywords

Inherited from
TokensCommon
final val IMPORT: 46
Inherited from
TokensCommon
final val INDENT: 97
Inherited from
TokensCommon
final val INTLIT: 4
Inherited from
TokensCommon
final val LBRACE: 95
Inherited from
TokensCommon
final val LBRACKET: 93
Inherited from
TokensCommon
final val LONGLIT: 7
Inherited from
TokensCommon
final val LPAREN: 91

parentheses

parentheses

Inherited from
TokensCommon
final val NEW: 25
Inherited from
TokensCommon
final val NULL: 24
Inherited from
TokensCommon
final val OUTDENT: 98
Inherited from
TokensCommon
final val OVERRIDE: 36
Inherited from
TokensCommon
final val PACKAGE: 47
Inherited from
TokensCommon
final val PRIVATE: 34
Inherited from
TokensCommon
final val PROTECTED: 35
Inherited from
TokensCommon
final val RBRACE: 96
Inherited from
TokensCommon
final val RBRACKET: 94
Inherited from
TokensCommon
final val RETURN: 57
Inherited from
TokensCommon
final val RPAREN: 92
Inherited from
TokensCommon
final val SEMI: 71
Inherited from
TokensCommon
final val STRINGLIT: 10
Inherited from
TokensCommon
final val STRINGPART: 11
Inherited from
TokensCommon
final val SUPER: 27
Inherited from
TokensCommon
final val THIS: 23
Inherited from
TokensCommon
final val THROW: 52
Inherited from
TokensCommon
final val TRUE: 42
Inherited from
TokensCommon
final val TRY: 53
Inherited from
TokensCommon
final val WHILE: 56
Inherited from
TokensCommon
Inherited from
TokensCommon
final val firstParen: 91
Inherited from
TokensCommon
final val lastParen: 98
Inherited from
TokensCommon
Inherited from
TokensCommon