|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectpj.Rfc.Scanner
public static class Rfc.Scanner
embedded pj scanner.
| Field Summary | |
|---|---|
private int |
CLASS
|
private int |
DECL
|
private int |
EPILOG
|
private int |
EQUAL
|
private int |
ID
|
private int |
LEX
|
private int |
LINES
|
private int |
LIST
|
private int |
PKG
|
protected StringBuffer |
prolog
returned with SEP. |
private int |
PROLOG
|
private int |
RULES
|
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 |
Rfc.Scanner()
|
|
Rfc.Scanner(InputStream instream)
|
|
Rfc.Scanner(Reader reader)
|
| Method Summary | |
|---|---|
boolean |
advance()
move on to next token. |
static void |
main(String[] args)
quick and dirty test. |
int |
token()
current input symbol. |
String |
toString()
position for error message. |
private int[][] |
unpackFromString(int size1,
int size2,
String st)
|
Object |
value()
null or string 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().
protected StringBuffer prolog
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 PKG
private final int EQUAL
private final int LIST
private final int RULES
private final int DECL
private final int ID
private final int LEX
private final int YYINITIAL
private final int LINES
private final int PROLOG
private final int EPILOG
private final int CLASS
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 Rfc.Scanner(Reader reader)
public Rfc.Scanner(InputStream instream)
private Rfc.Scanner()
| Method Detail |
|---|
public static void main(String[] args)
throws Exception
Exceptionpublic int token()
token in interface Rfc.yyInputpublic Object value()
value in interface Rfc.yyInputRfc.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
Rfc.yyInput
advance in interface Rfc.yyInputIOException - on input error.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||