|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Object
|
+--exp.Parser
|
+--prolog.PrologParser
PrologParser Analizzatore sintattico che accetta la sintassi Prolog
| Fields inherited from class exp.Parser |
curToken,
lex,
msgOut |
| Constructor Summary | |
PrologParser(Lexer lex)
Costruttore |
|
PrologParser(Lexer lex,
OutputDevice msgOut)
Costruttore |
|
| Method Summary | |
protected Sexp |
argList()
Lettura di una lista di argomenti di una funzione |
protected Sexp |
atom()
Lettura di un goal |
protected Sexp |
body(Sexp head)
Lettura del corpo di una clausola |
protected Sexp |
bodyElem(Sexp head)
Lettura di un elemento del corpo |
protected Sexp |
clause()
Lettura di una clausola |
protected Sexp |
funcPred()
Lettura di una funzione |
protected Sexp |
list()
Lettura di una lista compresa tra [] |
protected Sexp |
operator()
Lettura di un operatore |
protected Sexp |
operPred()
Lettura di un predicato con operatori |
Sexp |
program()
Lettura di un programma |
Clause |
query()
Lettura di una query |
protected Sexp |
readSexp()
Lettura di un'espressione |
protected Sexp |
term()
Lettura di un termine |
protected Sexp |
termList()
Lettura di una lista di termini |
| 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 PrologParser(Lexer lex,
OutputDevice msgOut)
throws java.lang.Exception
public PrologParser(Lexer lex)
throws java.lang.Exception
| Method Detail |
protected Sexp readSexp()
throws java.lang.Exception
public Sexp program()
throws java.lang.Exception
public Clause query()
throws java.lang.Exception
protected Sexp clause()
throws java.lang.Exception
protected Sexp bodyElem(Sexp head)
throws java.lang.Exception
protected Sexp body(Sexp head)
throws java.lang.Exception
protected Sexp atom()
throws java.lang.Exception
protected Sexp operPred()
throws java.lang.Exception
protected Sexp operator()
throws java.lang.Exception
protected Sexp term()
throws java.lang.Exception
protected Sexp list()
throws java.lang.Exception
protected Sexp termList()
throws java.lang.Exception
protected Sexp funcPred()
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 | ||||||