Interpreter.Sexp
Class IdentSexp

java.lang.Object
  |
  +--Interpreter.Sexp.Sexp
        |
        +--Interpreter.Sexp.AtomSexp
              |
              +--Interpreter.Sexp.IdentSexp
Direct Known Subclasses:
EofToken, IdentToken, NumToken, OpSexp, PrimitiveToken, QuotedToken, SpecialToken, VarSexp

public class IdentSexp
extends AtomSexp

Un oggetto IdentSexp è una S-expression atomica. Costituisce un identificatore.


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
IdentSexp(java.lang.String s)
          Costruisce un nuovo IdentSexp.
 
Method Summary
 void accept(SexpVisitor e)
          Accetta un SexpVisitor per la valutazione.
 
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, isEq, reverse
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IdentSexp

public IdentSexp(java.lang.String s)
Costruisce un nuovo IdentSexp.
Parameters:
s - identificatore dell'IdentSexp.
Method Detail

accept

public void accept(SexpVisitor e)
            throws InterpreterException
Accetta un SexpVisitor per la valutazione.
Parameters:
e - oggetto che realizza un Pattern Visitor per le Sexp.
Overrides:
accept in class Sexp


Codice realizzato da Francesco Geri & Marco Tamanti