Interpreter.PrologInterpreter.Sexp.Prefix.Expr
Class PrefixExprSexp

java.lang.Object
  |
  +--Interpreter.Sexp.Sexp
        |
        +--Interpreter.Sexp.ConsSexp
              |
              +--Interpreter.PrologInterpreter.Sexp.TermSexp
                    |
                    +--Interpreter.PrologInterpreter.Sexp.Prefix.PrefixSexp
                          |
                          +--Interpreter.PrologInterpreter.Sexp.Prefix.Expr.PrefixExprSexp
Direct Known Subclasses:
UnaryMinusSexp, UnaryPlusSexp

public abstract class PrefixExprSexp
extends PrefixSexp
implements NotAtomicExpr, NotCallable

Un oggetto PrefixExprSexp è una S-expression costruita con operatori aritmetici. È una classe astratta da cui ereditano tutte le classi corrispondenti agli operatori aritmetici come + - / e *.


Fields inherited from class Interpreter.PrologInterpreter.Sexp.Prefix.PrefixSexp
dx
 
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
PrefixExprSexp(Sexp h, Sexp t)
          Costruisce una nuova PrefixExprSexp.
 
Methods inherited from class Interpreter.PrologInterpreter.Sexp.Prefix.PrefixSexp
choose, toString, toString
 
Methods inherited from class Interpreter.PrologInterpreter.Sexp.TermSexp
accept, argList, argNum, first, functor, getPriority, getVarList, second, 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

PrefixExprSexp

public PrefixExprSexp(Sexp h,
                      Sexp t)
Costruisce una nuova PrefixExprSexp.
Parameters:
h - primo elemento costituente la PrefixExprSexp;
t - secondo elemento costituente la PrefixExprSexp;


Codice realizzato da Francesco Geri & Marco Tamanti