Lines Matching refs:next_char
55 protected static int next_char; field in lexer
135 next_char = System.in.read(); in init()
136 if (next_char == EOF_CHAR) in init()
151 old_char = next_char; in advance()
152 next_char = next_char2; in advance()
153 if (next_char == EOF_CHAR) in advance()
253 if (next_char == EOF_CHAR) in swallow_comment()
260 if (next_char == '*' && next_char2 == '/') in swallow_comment()
279 while (next_char != '\n' && next_char != '\f' && next_char!=EOF_CHAR) in swallow_comment()
306 while (!(next_char == ':' && next_char2 == '}')) in do_code_string()
309 if (next_char == EOF_CHAR) in do_code_string()
316 result.append(new Character((char)next_char)); in do_code_string()
340 buffer[0] = (char)next_char; in do_id()
345 while(id_char(next_char)) in do_id()
347 buffer[0] = (char)next_char; in do_id()
404 if (next_char == ' ' || next_char == '\t' || next_char == '\n' || in real_next_token()
405 next_char == '\f' || next_char == '\r') in real_next_token()
413 sym_num = find_single_char(next_char); in real_next_token()
422 if (next_char == ':') in real_next_token()
446 if (next_char == '/' && (next_char2 == '*' || next_char2 == '/')) in real_next_token()
454 if (next_char == '{' && next_char2 == ':') in real_next_token()
458 if (id_start_char(next_char)) return do_id(); in real_next_token()
461 if (next_char == EOF_CHAR) return new token(sym.EOF); in real_next_token()
465 new Character((char)next_char) + "'(" + next_char + in real_next_token()