|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Object
|
+--java.io.StreamTokenizer
|
+--exp.Lexer
|
+--lisp.LispLexer
LispLexer Analizzatore lessicale per il Lisp e Java
| Fields inherited from class exp.Lexer |
curToken,
msgOut |
| Fields inherited from class java.io.StreamTokenizer |
nval,
sval,
TT_EOF,
TT_EOL,
TT_NUMBER,
TT_WORD,
ttype |
| Constructor Summary | |
LispLexer(java.io.InputStream is)
|
|
LispLexer(java.io.Reader r)
Costruttori |
|
LispLexer(java.lang.String s)
|
|
LispLexer(java.lang.String s,
OutputDevice msgOut)
|
|
| Method Summary | |
protected Sexp |
getWord(boolean quoted)
Restituzione del token corrente (in caso di WORD) |
Sexp |
next()
Restituzione del prossimo token |
| Methods inherited from class exp.Lexer |
print,
println |
| Methods inherited from class java.io.StreamTokenizer |
commentChar,
eolIsSignificant,
lineno,
lowerCaseMode,
nextToken,
ordinaryChar,
ordinaryChars,
parseNumbers,
pushBack,
quoteChar,
resetSyntax,
slashSlashComments,
slashStarComments,
toString,
whitespaceChars,
wordChars |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
| Constructor Detail |
public LispLexer(java.io.Reader r)
public LispLexer(java.io.InputStream is)
throws java.lang.Exception
public LispLexer(java.lang.String s)
throws java.lang.Exception
public LispLexer(java.lang.String s,
OutputDevice msgOut)
throws java.lang.Exception
| Method Detail |
protected Sexp getWord(boolean quoted)
public Sexp next()
throws java.lang.Exception
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||