gov.llnl.babel.ast
Class FloatLiteral

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

public class FloatLiteral
extends NumericLiteral


Field Summary
 
Fields inherited from class gov.llnl.babel.ast.ASTNode
ILLEGAL_NODEID
 
Constructor Summary
FloatLiteral()
           
FloatLiteral(ParseTreeNode src, ASTNode parent)
           
 
Method Summary
 java.lang.Object accept(Visitor v, java.lang.Object data)
          implements "Visitor Pattern"
 float getFloat()
           
 void setFloat(float value)
           
 java.lang.String toString()
           
 
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, wait, wait, wait
 

Constructor Detail

FloatLiteral

public FloatLiteral(ParseTreeNode src,
                    ASTNode parent)

FloatLiteral

public FloatLiteral()
Method Detail

getFloat

public float getFloat()

setFloat

public void setFloat(float value)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

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