|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectstep6.expr.yyLex
public static class expr.yyLex
| Field Summary | |
|---|---|
protected int |
token
returned by token(). |
protected Object |
value
returned by value(). |
private int[] |
yy_acpt
|
private boolean |
yy_at_bol
|
private int |
YY_BOL
|
private char[] |
yy_buffer
|
private int |
yy_buffer_end
|
private int |
yy_buffer_index
|
private int |
yy_buffer_read
|
private int |
YY_BUFFER_SIZE
|
private int |
yy_buffer_start
|
private int[] |
yy_cmap
|
private int |
YY_E_INTERNAL
|
private int |
YY_E_MATCH
|
private int |
YY_END
|
private int |
YY_EOF
|
private boolean |
yy_eof_done
|
private String[] |
yy_error_string
|
private int |
YY_F
|
private boolean |
yy_last_was_cr
|
private int |
yy_lexical_state
|
private int |
YY_NO_ANCHOR
|
private int |
YY_NO_STATE
|
private int |
YY_NOT_ACCEPT
|
private int[][] |
yy_nxt
|
private BufferedReader |
yy_reader
|
private int[] |
yy_rmap
|
private int |
YY_START
|
private int[] |
yy_state_dtrans
|
private int |
YYINITIAL
|
private int |
yyline
|
| Constructor Summary | |
|---|---|
private |
expr.yyLex()
|
|
expr.yyLex(InputStream instream)
|
|
expr.yyLex(Reader reader)
|
| Method Summary | |
|---|---|
boolean |
advance()
move on to next token. |
static void |
main(expr.yyInput scanner)
scanner test driver. |
static void |
main(String[] args)
main program, generates and tests a scanner on standard input. |
int |
token()
current input symbol. |
String |
toString()
position for error message. |
private int[][] |
unpackFromString(int size1,
int size2,
String st)
|
Object |
value()
null or object associated with current input symbol. |
static String |
visible(String s)
return a JLex-style visible rendering of a string. |
private int |
yy_advance()
|
private char[] |
yy_double(char[] buf)
|
private void |
yy_error(int code,
boolean fatal)
|
private void |
yy_mark_end()
|
private void |
yy_mark_start()
|
private void |
yy_move_end()
|
private void |
yy_to_mark()
|
private void |
yybegin(int state)
|
private int |
yylength()
|
private String |
yytext()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private final int YY_BUFFER_SIZE
private final int YY_F
private final int YY_NO_STATE
private final int YY_NOT_ACCEPT
private final int YY_START
private final int YY_END
private final int YY_NO_ANCHOR
private final int YY_BOL
private final int YY_EOF
protected int token
token().
protected Object value
value().
private BufferedReader yy_reader
private int yy_buffer_index
private int yy_buffer_read
private int yy_buffer_start
private int yy_buffer_end
private char[] yy_buffer
private int yyline
private boolean yy_at_bol
private int yy_lexical_state
private boolean yy_eof_done
private final int YYINITIAL
private final int[] yy_state_dtrans
private boolean yy_last_was_cr
private final int YY_E_INTERNAL
private final int YY_E_MATCH
private String[] yy_error_string
private int[] yy_acpt
private int[] yy_cmap
private int[] yy_rmap
private int[][] yy_nxt
| Constructor Detail |
|---|
public expr.yyLex(Reader reader)
public expr.yyLex(InputStream instream)
private expr.yyLex()
| Method Detail |
|---|
public static void main(String[] args)
throws IOException
IOException
public static void main(expr.yyInput scanner)
throws IOException
IOExceptionpublic int token()
token in interface expr.yyInputpublic Object value()
value in interface expr.yyInputexpr.yyInput.token().public String toString()
toString in class Objectpublic static String visible(String s)
private void yybegin(int state)
private int yy_advance()
throws IOException
IOExceptionprivate void yy_move_end()
private void yy_mark_start()
private void yy_mark_end()
private void yy_to_mark()
private String yytext()
private int yylength()
private char[] yy_double(char[] buf)
private void yy_error(int code,
boolean fatal)
private int[][] unpackFromString(int size1,
int size2,
String st)
public boolean advance()
throws IOException
expr.yyInput
advance in interface expr.yyInputIOException - on input error.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||