gov.llnl.babel.ast
Class BooleanLiteral

java.lang.Object
  extended by gov.llnl.babel.ast.ASTNode
      extended by gov.llnl.babel.ast.Literal
          extended by gov.llnl.babel.ast.BooleanLiteral

public class BooleanLiteral
extends Literal


Field Summary
 
Fields inherited from class gov.llnl.babel.ast.ASTNode
ILLEGAL_NODEID
 
Constructor Summary
BooleanLiteral()
           
BooleanLiteral(ParseTreeNode src, ASTNode parent)
           
 
Method Summary
 java.lang.Object accept(Visitor v, java.lang.Object data)
          implements "Visitor Pattern"
 boolean getBoolean()
           
 void setBoolean(boolean value)
           
 
Methods inherited from class gov.llnl.babel.ast.ASTNode
getFilename, getFirstToken, getLastToken, getNodeId, getParent, getParseTreeNode, getSymbolTableEntry, setFirstToken, setLastToken, setNodeId, setParent, setParseTreeNode, setSymbolTableEntry
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BooleanLiteral

public BooleanLiteral(ParseTreeNode src,
                      ASTNode parent)

BooleanLiteral

public BooleanLiteral()
Method Detail

getBoolean

public boolean getBoolean()

setBoolean

public void setBoolean(boolean value)

accept

public java.lang.Object accept(Visitor v,
                               java.lang.Object data)
Description copied from class: ASTNode
implements "Visitor Pattern"

Overrides:
accept in class Literal
Parameters:
v - The visitor class
data - Optional extra data
Returns:
Optional extra data