|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Object
|
+--exp.Parser
|
+--lisp.JavaParser
JavaParser Analizzatore sintattico che accetta la sintassi JAVA
| Fields inherited from class exp.Parser |
curToken,
lex,
msgOut |
| Constructor Summary | |
JavaParser(Lexer lex)
Costruttore |
|
JavaParser(Lexer lex,
OutputDevice msgOut)
Costruttore |
|
| Method Summary | |
protected Sexp |
argList()
Lettura della lista di argomenti di una funzione |
protected Sexp |
exp()
Lettura di un'espressione aritmetica |
protected Sexp |
factor()
Lettura di un fattore |
protected Sexp |
impl()
Lettura di una implicazione |
protected Sexp |
logExp()
Lettura di una espressione logica |
protected Sexp |
logFact()
Lettura di un fattore logico |
protected Sexp |
logTerm()
Lettura di un termine logico |
protected Sexp |
prop()
Lettura di una proposizione |
protected Sexp |
readSexp()
Lettura di un'espressione |
protected Sexp |
relExp()
Lettura di un'espressione relazionale |
protected Sexp |
term()
Lettura di un termine |
| Methods inherited from class exp.Parser |
atEOF,
nextToken,
parse,
print,
println |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Constructor Detail |
public JavaParser(Lexer lex,
OutputDevice msgOut)
throws java.lang.Exception
public JavaParser(Lexer lex)
throws java.lang.Exception
| Method Detail |
protected Sexp readSexp()
throws java.lang.Exception
protected Sexp prop()
throws java.lang.Exception
protected Sexp impl()
throws java.lang.Exception
protected Sexp logExp()
throws java.lang.Exception
protected Sexp logTerm()
throws java.lang.Exception
protected Sexp logFact()
throws java.lang.Exception
protected Sexp relExp()
throws java.lang.Exception
protected Sexp exp()
throws java.lang.Exception
protected Sexp term()
throws java.lang.Exception
protected Sexp factor()
throws java.lang.Exception
protected Sexp argList()
throws java.lang.Exception
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||