edu.rice.cs.util.sexp
Interface SExpVisitor<Ret>


public interface SExpVisitor<Ret>

Just your every-day visitor. It works on the three types of Atoms as well as the two types of lists, as the code suggests.
The return types are parameterized.


Method Summary
 Ret forBoolAtom(BoolAtom b)
           
 Ret forCons(Cons c)
           
 Ret forEmpty(Empty e)
           
 Ret forNumberAtom(NumberAtom n)
           
 Ret forTextAtom(TextAtom t)
           
 

Method Detail

forEmpty

Ret forEmpty(Empty e)

forCons

Ret forCons(Cons c)

forBoolAtom

Ret forBoolAtom(BoolAtom b)

forNumberAtom

Ret forNumberAtom(NumberAtom n)

forTextAtom

Ret forTextAtom(TextAtom t)