edu.rice.cs.util.sexp
Class BoolAtom
java.lang.Object
edu.rice.cs.util.sexp.BoolAtom
- All Implemented Interfaces:
- Atom, SExp
public class BoolAtom
- extends Object
- implements Atom
TRUE
public static final BoolAtom TRUE
FALSE
public static final BoolAtom FALSE
getValue
public boolean getValue()
- Returns:
- which type of BoolAtom this is
accept
public <Ret> Ret accept(SExpVisitor<Ret> v)
- Visitor hook for the BoolAtom
- Specified by:
accept
in interface Atom
- Specified by:
accept
in interface SExp
- Parameters:
v
- the visitor
- Returns:
- result of the given algorithm
toString
public String toString()
- Overrides:
toString
in class Object