edu.rice.cs.util.sexp
Interface SExpVisitor<Ret>
- All Known Implementing Classes:
- ProjectFileParser.NameVisitor, ProjectFileParser.NumberVisitor
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.
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)