Tokens

object Tokens extends TokensCommon
class Object
trait Matchable
class Any
Tokens.type

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
def showToken(token: Int): String

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 tokenRange(lo: Int, hi: Int): TokenSet
Inherited from:
TokensCommon

Concrete fields

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

special symbols

special symbols

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

special keywords

special keywords

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

alphabetic keywords

alphabetic keywords

inline val XMLSTART: 99

XML mode

XML mode

inline val YIELD: 48
final val allTokens: TokenSet
final val keywords: TokenSet
inline 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

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

literals

literals

Inherited from:
TokensCommon
inline val CLASS: 45
Inherited from:
TokensCommon
inline val COLONop: 74

special keywords

special keywords

Inherited from:
TokensCommon
inline val COMMA: 70

special symbols

special symbols

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

special tokens

special tokens

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

identifiers

identifiers

Inherited from:
TokensCommon
inline val IF: 20

alphabetic keywords

alphabetic keywords

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

parentheses

parentheses

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