edu.rice.cs.util.sexp
Interface Atom

All Superinterfaces:
SExp
All Known Implementing Classes:
BoolAtom, NumberAtom, TextAtom

public interface Atom
extends SExp

There are different kinds of atoms: text, boolean, number. Therefore they should have a visitor interface to support algorithms on them.


Method Summary
<Ret> Ret
accept(SExpVisitor<Ret> v)
          Visitor hook for the different kinds of Atom
 

Method Detail

accept

<Ret> Ret accept(SExpVisitor<Ret> v)
Visitor hook for the different kinds of Atom

Specified by:
accept in interface SExp
Parameters:
v - the visitor
Returns:
result of the given algorithm