Interpreter.Extension
Class ExtendedPrologEvalVisitor

java.lang.Object
  |
  +--Interpreter.Sexp.Utils.SexpVisitor
        |
        +--Interpreter.PrologInterpreter.Sexp.Utils.StructureSexpVisitor
              |
              +--Interpreter.PrologInterpreter.Sexp.Utils.EvalSexpVisitor
                    |
                    +--Interpreter.PrologInterpreter.EvalVisitor
                          |
                          +--Interpreter.Extension.ExtendedPrologEvalVisitor

public class ExtendedPrologEvalVisitor
extends EvalVisitor

Un oggetto ExtendedPrologEvalVisitor estende la classe EvalVisitor.


Fields inherited from class Interpreter.Sexp.Utils.SexpVisitor
stack
 
Constructor Summary
ExtendedPrologEvalVisitor(SexpHashtable subs, SexpStack EngineStack)
          Costruisce un nuovo ExtendedPrologEvaVisitor.
 
Method Summary
protected  void visit(SqrSexp sqr)
          Effettua la visita di un SqrSexp, cioè valuta un SqrSexp.
 
Methods inherited from class Interpreter.PrologInterpreter.EvalVisitor
visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit
 
Methods inherited from class Interpreter.PrologInterpreter.Sexp.Utils.StructureSexpVisitor
visit, visit
 
Methods inherited from class Interpreter.Sexp.Utils.SexpVisitor
getResult, getStack
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExtendedPrologEvalVisitor

public ExtendedPrologEvalVisitor(SexpHashtable subs,
                                 SexpStack EngineStack)
Costruisce un nuovo ExtendedPrologEvaVisitor.
Parameters:
env - environment che verrà usato dall'EvalSexpVisitor.
Method Detail

visit

protected void visit(SqrSexp sqr)
              throws InterpreterException
Effettua la visita di un SqrSexp, cioè valuta un SqrSexp.
Parameters:
sqr - oggetto che viene visitato.


Codice realizzato da Francesco Geri & Marco Tamanti