JavaTokens

dotty.tools.dotc.parsing.JavaTokens
object JavaTokens extends TokensCommon

Attributes

Graph
Supertypes
class TokensCommon
class Object
trait Matchable
class Any
Self type
JavaTokens.type

Members list

Type members

Inherited types

type Token = Int

Attributes

Inherited from:
TokensCommon
type TokenSet = BitSet

Attributes

Inherited from:
TokensCommon

Value members

Concrete methods

final def maxToken: Int

Inherited methods

def buildKeywordArray(keywords: TokenSet): (Int, Array[Int])

Attributes

Inherited from:
TokensCommon
def enter(token: Int, str: String, debugStr: String): Unit

Attributes

Inherited from:
TokensCommon
def isKeyword(token: Token): Boolean

Attributes

Inherited from:
TokensCommon
def tokenRange(lo: Int, hi: Int): TokenSet

Attributes

Inherited from:
TokensCommon

Concrete fields

inline val AMP: 148
inline val AMPAMP: 159
inline val AMPEQ: 165
inline val ASSERT: 134
inline val ASTERISK: 152
inline val ASTERISKEQ: 169
inline val BANG: 146
inline val BANGEQ: 141
inline val BAR: 149
inline val BARBAR: 160
inline val BAREQ: 166
inline val BOOLEAN: 181
inline val BREAK: 130

control structures

control structures

Attributes

inline val BYTE: 182
inline val CHAR: 184
inline val CONST: 102
inline val CONTINUE: 131
inline val DEFAULT: 111
inline val DOTDOTDOT: 164
inline val DOUBLE: 188
inline val ENUM: 106
inline val EQEQ: 140

special symbols

special symbols

Attributes

inline val FLOAT: 187
inline val GOTO: 132
inline val GT: 143
inline val GTEQ: 145
inline val GTGT: 157
inline val GTGTEQ: 174
inline val GTGTGT: 158
inline val GTGTGTEQ: 175
inline val HAT: 155
inline val HATEQ: 172
inline val IMPLEMENTS: 107
inline val INSTANCEOF: 101

keywords

keywords

Attributes

inline val INT: 185
inline val INTERFACE: 105

templates

templates

Attributes

inline val LONG: 186
inline val LT: 142
inline val LTEQ: 144
inline val LTLT: 156
inline val LTLTEQ: 173
inline val MINUS: 151
inline val MINUSEQ: 168
inline val MINUSMINUS: 162
inline val NATIVE: 116
inline val PERCENT: 154
inline val PERCENTEQ: 171
inline val PLUS: 150
inline val PLUSEQ: 167
inline val PLUSPLUS: 161
inline val PUBLIC: 110

modifiers

modifiers

Attributes

inline val QMARK: 147
inline val RECORD: 135

contextual keywords (turned into keywords in certain conditions, see JLS 3.9 of Java 9+)

contextual keywords (turned into keywords in certain conditions, see JLS 3.9 of Java 9+)

Attributes

inline val SHORT: 183
inline val SLASH: 153
inline val SLASHEQ: 170
inline val STATIC: 112
inline val STRICTFP: 117
inline val SWITCH: 133
inline val SYNCHRONIZED: 115
inline val THROWS: 118
inline val TILDE: 163
inline val TRANSIENT: 113
inline val VOID: 180

primitive types

primitive types

Attributes

inline val VOLATILE: 114
final val keywords: BitSet
inline val minToken: 0
final val primTypes: TokenSet
final val sharedKeywords: BitSet

Inherited fields

inline val ABSTRACT: 32

Attributes

Inherited from:
TokensCommon
inline val AT: 83

Attributes

Inherited from:
TokensCommon
inline val CATCH: 54

Attributes

Inherited from:
TokensCommon
inline val CHARLIT: 3

literals

literals

Attributes

Inherited from:
TokensCommon
inline val CLASS: 45

Attributes

Inherited from:
TokensCommon
inline val COLONop: 74

special keywords

special keywords

Attributes

Inherited from:
TokensCommon
inline val COMMA: 70

special symbols

special symbols

Attributes

Inherited from:
TokensCommon
inline val DECILIT: 5

Attributes

Inherited from:
TokensCommon
inline val DO: 49

Attributes

Inherited from:
TokensCommon
inline val DOT: 72

Attributes

Inherited from:
TokensCommon
inline val DOUBLELIT: 9

Attributes

Inherited from:
TokensCommon
inline val ELSE: 22

Attributes

Inherited from:
TokensCommon
inline val EMPTY: 0

special tokens

special tokens

Attributes

Inherited from:
TokensCommon
inline val EOF: 2

Attributes

Inherited from:
TokensCommon
inline val EQUALS: 75

Attributes

Inherited from:
TokensCommon
inline val ERROR: 1

Attributes

Inherited from:
TokensCommon
inline val EXPOLIT: 6

Attributes

Inherited from:
TokensCommon
inline val EXTENDS: 41

Attributes

Inherited from:
TokensCommon
inline val FALSE: 43

Attributes

Inherited from:
TokensCommon
inline val FINAL: 33

Attributes

Inherited from:
TokensCommon
inline val FINALLY: 55

Attributes

Inherited from:
TokensCommon
inline val FLOATLIT: 8

Attributes

Inherited from:
TokensCommon
inline val FOR: 21

Attributes

Inherited from:
TokensCommon
inline val IDENTIFIER: 14

identifiers

identifiers

Attributes

Inherited from:
TokensCommon
inline val IF: 20

alphabetic keywords

alphabetic keywords

Attributes

Inherited from:
TokensCommon
inline val IMPORT: 46

Attributes

Inherited from:
TokensCommon
inline val INDENT: 97

Attributes

Inherited from:
TokensCommon
inline val INTLIT: 4

Attributes

Inherited from:
TokensCommon
inline val LBRACE: 95

Attributes

Inherited from:
TokensCommon
inline val LBRACKET: 93

Attributes

Inherited from:
TokensCommon
inline val LONGLIT: 7

Attributes

Inherited from:
TokensCommon
inline val LPAREN: 91

parentheses

parentheses

Attributes

Inherited from:
TokensCommon
inline val NEW: 25

Attributes

Inherited from:
TokensCommon
inline val NULL: 24

Attributes

Inherited from:
TokensCommon
inline val OUTDENT: 98

Attributes

Inherited from:
TokensCommon
inline val OVERRIDE: 36

Attributes

Inherited from:
TokensCommon
inline val PACKAGE: 47

Attributes

Inherited from:
TokensCommon
inline val PRIVATE: 34

Attributes

Inherited from:
TokensCommon
inline val PROTECTED: 35

Attributes

Inherited from:
TokensCommon
inline val RBRACE: 96

Attributes

Inherited from:
TokensCommon
inline val RBRACKET: 94

Attributes

Inherited from:
TokensCommon
inline val RETURN: 57

Attributes

Inherited from:
TokensCommon
inline val RPAREN: 92

Attributes

Inherited from:
TokensCommon
inline val SEMI: 71

Attributes

Inherited from:
TokensCommon
inline val STRINGLIT: 10

Attributes

Inherited from:
TokensCommon
inline val STRINGPART: 11

Attributes

Inherited from:
TokensCommon
inline val SUPER: 27

Attributes

Inherited from:
TokensCommon
inline val THIS: 23

Attributes

Inherited from:
TokensCommon
inline val THROW: 52

Attributes

Inherited from:
TokensCommon
inline val TRUE: 42

Attributes

Inherited from:
TokensCommon
inline val TRY: 53

Attributes

Inherited from:
TokensCommon
inline val WHILE: 56

Attributes

Inherited from:
TokensCommon

Attributes

Inherited from:
TokensCommon
inline val firstParen: 91

Attributes

Inherited from:
TokensCommon
inline val lastParen: 98

Attributes

Inherited from:
TokensCommon

Attributes

Inherited from:
TokensCommon