Dotty Documentation

0.1.1-bin-SNAPSHOT

object Tokens
extends TokensCommon

[-] Constructors

[-] Members

[+] final val ARROW : 77
[+] final val BACKQUOTED_IDENT : 13
[+] final val CASE : 28
[+] final val CASECLASS : 29
[+] final val CASEOBJECT : 30
[+] final val DEF : 39
[+] final val ENUM : 63
[+] final val FORSOME : 61
[+] final val HASH : 82
[+] final val IMPLICIT : 37
[+] final val INLINE : 62
[+] final val INTERPOLATIONID : 10
[+] final val LARROW : 76
[+] final val LAZY : 59
[+] final val MATCH : 58
[+] final val NEWLINE : 78

special symbols

[+] final val NEWLINES : 79
[+] final val OBJECT : 44
[+] final val SEALED : 51
[+] final val SUBTYPE : 80
[+] final val SUPERTYPE : 81
[+] final val SYMBOLLIT : 11
[+] final val THEN : 60
[+] final val TRAIT : 50
[+] final val TYPE : 40
[+] final val USCORE : 73

special keywords

[+] final val VAL : 31
[+] final val VAR : 38
[+] final val VIEWBOUND : 84
[+] final val WITH : 26

alphabetic keywords

[+] final val XMLSTART : 96

XML mode

[+] final val YIELD : 48
[+] final val accessModifierTokens : Coll
[+] final val allTokens : TokenSet
[+] final val alphaKeywords : TokenSet
[+] final val atomicExprTokens : This
[+] final val canEndStatTokens : This
[+] final val canStartBindingTokens : This
[+] final val canStartExpressionTokens : This
[+] final val canStartStatTokens : This
[+] final val canStartTypeTokens : This
[+] final val dclIntroTokens : Coll
[+] final val defIntroTokens : This
[+] final val identifierTokens : Coll
[+] final val keywords : TokenSet
[+] final val literalTokens : This
[+] final val localModifierTokens : Coll
[+] final val maxToken : 96
[+] final val minToken : 0
[+] final val modifierTokens : This
[+] final val modifierTokensOrCase : This
[+] final val mustStartStatTokens : This

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

[+] final val numericLitTokens : Coll
[+] final val simpleLiteralTokens : This
[+] final val symbolicKeywords : TokenSet
[+] final val symbolicTokens : TokenSet
[+] final val templateIntroTokens : Coll
[+] def isIdentifier ( token: Int ) : Boolean