< prev index next >

src/jdk.compiler/share/classes/com/sun/tools/javac/parser/Tokens.java

Print this page

        

*** 161,173 **** --- 161,175 ---- THIS("this", Tag.NAMED), THROW("throw"), THROWS("throws"), TRANSIENT("transient"), TRY("try"), + VALUE(), // a phantom token never returned by the scanner, but can result from a reclassification by the parser. VOID("void", Tag.NAMED), VOLATILE("volatile"), WHILE("while"), + WITHFIELD("__WithField"), INTLITERAL(Tag.NUMERIC), LONGLITERAL(Tag.NUMERIC), FLOATLITERAL(Tag.NUMERIC), DOUBLELITERAL(Tag.NUMERIC), CHARLITERAL(Tag.NUMERIC),
*** 264,273 **** --- 266,277 ---- return "token.float"; case DOUBLELITERAL: return "token.double"; case ERROR: return "token.bad-symbol"; + case VALUE: + return "value"; case EOF: return "token.end-of-input"; case DOT: case COMMA: case SEMI: case LPAREN: case RPAREN: case LBRACKET: case RBRACKET: case LBRACE: case RBRACE: return "'" + name + "'";
< prev index next >