Interpreter.PrologInterpreter.Sexp.Postfix.Expr
Class PostfixExprSexp

java.lang.Object
  |
  +--Interpreter.Sexp.Sexp
        |
        +--Interpreter.Sexp.ConsSexp
              |
              +--Interpreter.PrologInterpreter.Sexp.TermSexp
                    |
                    +--Interpreter.PrologInterpreter.Sexp.Postfix.PostfixSexp
                          |
                          +--Interpreter.PrologInterpreter.Sexp.Postfix.Expr.PostfixExprSexp
Direct Known Subclasses:
SqrSexp

public abstract class PostfixExprSexp
extends PostfixSexp
implements NotAtomicExpr, NotCallable

Un oggetto PostfixExprSexp è 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.Postfix.PostfixSexp
sx
 
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
PostfixExprSexp(Sexp h, Sexp t)
          Costruisce una nuova PostfixExprSexp.
 
Methods inherited from class Interpreter.PrologInterpreter.Sexp.Postfix.PostfixSexp
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

PostfixExprSexp

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


Codice realizzato da Francesco Geri & Marco Tamanti