|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.ksu.cis.projects.bogor.ast.Node edu.ksu.cis.projects.bogor.ast.Literal edu.ksu.cis.projects.bogor.ast.BooleanLiteral
public final class BooleanLiteral
Boolean literal AST.
Field Summary |
---|
Fields inherited from class edu.ksu.cis.projects.bogor.ast.Node |
---|
ILLEGAL_LOCAL_ID_CHAR |
Constructor Summary | |
---|---|
BooleanLiteral(boolean bool)
Default constructor. |
Method Summary | |
---|---|
BooleanLiteral |
clone()
Clones this object (deep clone); including location info. |
boolean |
getBool()
Gets the bool. |
void |
setBool(boolean newBool)
Sets the bool. |
String |
toString()
Returns the string representation of this object. |
void |
visit(ASTVisitor visitor)
|
Methods inherited from class edu.ksu.cis.projects.bogor.ast.Literal |
---|
dispose, getParent, setParent |
Methods inherited from class edu.ksu.cis.projects.bogor.ast.Node |
---|
getLocationInfo, getProperty, putProperty, setLocationInfo |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public BooleanLiteral(boolean bool)
bool
- The bool.Method Detail |
---|
public void setBool(boolean newBool)
newBool
- The new bool.public boolean getBool()
public BooleanLiteral clone()
clone
in class Literal
public String toString()
toString
in class Node
public void visit(ASTVisitor visitor)
visit
in class Node
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |