|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--Interpreter.Sexp.Sexp
|
+--Interpreter.Sexp.ConsSexp
|
+--Interpreter.PrologInterpreter.Sexp.TermSexp
|
+--Interpreter.PrologInterpreter.Sexp.Terms.ListingTerm
Un oggetto ListingTerm è il termine asserta, predefinito in prolog. Il termine asserta è ad 1 argomento. Stampa il contenuto del database relativo al suo argomento. Se l'argomento è un atomo stampa tutte le clausole con testa uguale a Term.
| Fields inherited from class Interpreter.PrologInterpreter.Sexp.TermSexp |
priority,
Prolog,
PrologTerm,
Spaces |
| Fields inherited from class Interpreter.Sexp.ConsSexp |
head,
tail |
| Fields inherited from class Interpreter.Sexp.Sexp |
BEGIN_S,
COUPLE_S,
END_S,
isAList,
Lisp,
nil,
NIL_S,
SEP_S,
Separators |
| Constructor Summary | |
ListingTerm(Sexp args)
Costruisce una nuova ListingTerm. |
|
| Method Summary | |
void |
accept(SexpVisitor e)
Accetta un PrologSexpVisitor per la valutazione. |
| Methods inherited from class Interpreter.PrologInterpreter.Sexp.TermSexp |
argList,
argNum,
first,
functor,
getPriority,
getVarList,
second,
toString,
toString,
toStringInList,
unify |
| Methods inherited from class Interpreter.Sexp.ConsSexp |
append,
car,
cdr,
count,
equals,
isEq,
reverse,
setIsAList |
| Methods inherited from class Interpreter.Sexp.Sexp |
isAList,
reverse |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
| Constructor Detail |
public ListingTerm(Sexp args)
args - lista degli argomenti del termine.| Method Detail |
public void accept(SexpVisitor e)
throws InterpreterException
e - oggetto che realizza un Pattern Visitor per le Sexp.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||