Lines Matching defs:token

36  * The scanner keeps track of the current token,
37 * the value of the current token (if any), and the start
38 * position of the current token.<p>
41 * token in the input.<p>
99 * Current token
101 public int token;
104 * The position of the current token
109 * The position of the previous token
131 * A doc comment preceding the most recent token
170 * and scan the first token from it.
202 * Initialized keyword and token Hashtables
571 token = LONGVAL;
588 token = INTVAL;
603 token = INTVAL;
607 token = INTVAL;
612 token = INTVAL;
615 if (token == INTVAL) {
722 token = DOUBLEVAL;
724 token = isSingleFloat ? FLOATVAL : DOUBLEVAL;
756 // We have a token that parses as a number. Is this token possibly zero?
758 private static boolean looksLikeZero(String token) {
759 int length = token.length();
761 switch (token.charAt(i)) {
827 token = STRINGVAL;
872 token = CHARVAL;
956 token = idValue.getType();
964 * The ending position of the current token
972 * If the current token is IDENT, return the identifier occurrence.
976 return (token != IDENT) ? null : new IdentifierToken(pos, idValue);
980 * Scan the next token.
981 * @return the position of the previous token.
997 token = EOF;
1005 // a null token (and also avoid read-ahead).
1006 token = COMMENT;
1021 token = COMMENT;
1040 token = ASGDIV;
1044 token = DIV;
1071 token = FIELD;
1077 token = LBRACE;
1082 token = RBRACE;
1087 token = LPAREN;
1092 token = RPAREN;
1097 token = LSQBRACKET;
1102 token = RSQBRACKET;
1107 token = COMMA;
1112 token = SEMICOLON;
1117 token = QUESTIONMARK;
1122 token = BITNOT;
1127 token = COLON;
1134 token = DEC;
1139 token = ASGSUB;
1142 token = SUB;
1149 token = INC;
1154 token = ASGADD;
1157 token = ADD;
1165 token = ASGLSHIFT;
1168 token = LSHIFT;
1173 token = LE;
1176 token = LT;
1185 token = ASGRSHIFT;
1191 token = ASGURSHIFT;
1194 token = URSHIFT;
1197 token = RSHIFT;
1202 token = GE;
1205 token = GT;
1212 token = OR;
1217 token = ASGBITOR;
1220 token = BITOR;
1227 token = AND;
1232 token = ASGBITAND;
1235 token = BITAND;
1241 token = EQ;
1244 token = ASSIGN;
1250 token = ASGREM;
1253 token = REM;
1259 token = ASGBITXOR;
1262 token = BITXOR;
1268 token = NE;
1271 token = NOT;
1277 token = ASGMUL;
1280 token = MUL;
1300 token = EOF;
1321 * Scan to a matching '}', ']' or ')'. The current token must be
1329 if (token == open) {
1331 } else if (token == close) {
1335 } else if (token == EOF) {