|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--Interpreter.Sexp.Sexp
|
+--Interpreter.Sexp.AtomSexp
|
+--Interpreter.Sexp.IdentSexp
|
+--Interpreter.PrologInterpreter.Sexp.VarSexp
Un VarSexp è una variabile.
| Fields inherited from class Interpreter.Sexp.AtomSexp |
name |
| Fields inherited from class Interpreter.Sexp.Sexp |
BEGIN_S,
COUPLE_S,
END_S,
isAList,
Lisp,
nil,
NIL_S,
SEP_S,
Separators |
| Constructor Summary | |
VarSexp(java.lang.String s)
Costruisce un nuovo VarSexp. |
|
| Method Summary | |
void |
accept(SexpVisitor e)
Accetta un Visitor. |
boolean |
isEq(Sexp var)
|
| Methods inherited from class Interpreter.Sexp.AtomSexp |
append,
car,
cdr,
count,
equals,
equals,
reverse,
toString,
toString,
toStringInList |
| Methods inherited from class Interpreter.Sexp.Sexp |
isAList,
reverse |
| Methods inherited from class java.lang.Object |
clone,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
| Constructor Detail |
public VarSexp(java.lang.String s)
s - il nome della variabile.| Method Detail |
public boolean isEq(Sexp var)
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 | ||||||||