gov.llnl.babel.ast
Class DoubleLiteral

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.DoubleLiteral

public class DoubleLiteral
extends NumericLiteral


Field Summary
 
Fields inherited from class gov.llnl.babel.ast.ASTNode
ILLEGAL_NODEID
 
Constructor Summary
DoubleLiteral()
           
DoubleLiteral(ParseTreeNode src, ASTNode parent)
           
 
Method Summary
 java.lang.Object accept(Visitor v, java.lang.Object data)
          implements "Visitor Pattern"
 double getDouble()
           
 void setDouble(double 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

DoubleLiteral

public DoubleLiteral(ParseTreeNode src,
                     ASTNode parent)

DoubleLiteral

public DoubleLiteral()
Method Detail

getDouble

public double getDouble()

setDouble

public void setDouble(double 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