Home | History | Annotate | Download | only in java_cup

Lines Matching defs:next_char

55   protected static int next_char; 
135 next_char = System.in.read();
136 if (next_char == EOF_CHAR)
145 * next_char2 to next_char and then reads a new next_char2.
151 old_char = next_char;
152 next_char = next_char2;
153 if (next_char == EOF_CHAR)
241 /* next_char == '/' at this point */
253 if (next_char == EOF_CHAR)
260 if (next_char == '*' && next_char2 == '/')
279 while (next_char != '\n' && next_char != '\f' && next_char!=EOF_CHAR)
306 while (!(next_char == ':' && next_char2 == '}'))
309 if (next_char == EOF_CHAR)
316 result.append(new Character((char)next_char));
339 /* next_char holds first character of id */
340 buffer[0] = (char)next_char;
345 while(id_char(next_char))
347 buffer[0] = (char)next_char;
404 if (next_char == ' ' || next_char == '\t' || next_char == '\n' ||
405 next_char == '\f' || next_char == '\r')
413 sym_num = find_single_char(next_char);
422 if (next_char == ':')
446 if (next_char == '/' && (next_char2 == '*' || next_char2 == '/'))
454 if (next_char == '{' && next_char2 == ':')
458 if (id_start_char(next_char)) return do_id();
461 if (next_char == EOF_CHAR) return new token(sym.EOF);
465 new Character((char)next_char) + "'(" + next_char +