User Tools

Site Tools


cc17:token_types

Extended MiniJava Token Types

Token Class Token
BAD() represents incorrect tokens.
EOF() Signifies end-of-file
COLON() :
SEMICOLON() ;
DOT() .
COMMA() ,
EQSIGN() =
EQUALS() ==
BANG() !
LPAREN() (
RPAREN() )
LBRACKET() [
RBRACKET() ]
LBRACE() {
RBRACE() }
AND() &&
OR() ||
LESSTHAN() <
PLUS() +
MINUS() -
TIMES() *
DIV() /
CLASS() class
PUBLIC() public
STATIC() static
VOID() void
STRING() String
EXTENDS() extends
INT() int
BOOLEAN() boolean
WHILE() while
IF() if
ELSE() else
MAIN() main
RETURN() return
LENGTH() length
TRUE() true
FALSE() false
THIS() this
NEW() new
PRINTLN() System.out.println
SIDEF() sidef
ID(name) Identifier
INTLIT(value) Integer literal
STRINGLIT(value) String literal
cc17/token_types.txt · Last modified: 2017/02/20 14:55 by hossein