|
Object-oriented Parser System v3.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
ObjectLambda.yyLex
public static class Lambda.yyLex
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface Scanner |
|---|
Scanner.Lookup |
| Field Summary | |
|---|---|
protected Scanner.Lookup |
lookup
reference to Parser to look up symbols for literals. |
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
|
| Fields inherited from interface Symbols |
|---|
badInput, endOfFile, firstSymbol, noInput |
| Constructor Summary | |
|---|---|
private |
Lambda.yyLex()
|
|
Lambda.yyLex(InputStream instream)
|
|
Lambda.yyLex(Reader reader)
|
| Method Summary | |
|---|---|
boolean |
advance()
move on to next token. |
static void |
main(String... args)
test driver. |
int |
position()
current line number, based at 1. |
void |
setLookup(Scanner.Lookup lookup)
where to look up symbol values. |
int |
token()
classifies current token. |
String |
toString()
position for error message. |
private int[][] |
unpackFromString(int size1,
int size2,
String st)
|
Object |
value()
associated with current token. |
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 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 Scanner.Lookup lookup
Parser to look up symbols for literals.
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 Lambda.yyLex(Reader reader)
public Lambda.yyLex(InputStream instream)
private Lambda.yyLex()
| Method Detail |
|---|
public void setLookup(Scanner.Lookup lookup)
Scanner
setLookup in interface Scannerpublic String toString()
toString in class Objectpublic int token()
Scanner
token in interface ScannerendOfFile once advance returned false.public Object value()
Scanneradvance returned false.
value in interface Scannertoken.public int position()
position in interface Scanner
public static void main(String... args)
throws Exception
Exceptionprivate 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
Scanner
advance in interface ScannerIOException - on input error.
|
(c) 2008 Axel T. Schreiner |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||