gov.llnl.babel.ast
Class DoubleLiteral

java.lang.Object
  extended bygov.llnl.babel.ast.ASTNode
      extended bygov.llnl.babel.ast.Literal
          extended bygov.llnl.babel.ast.NumericLiteral
              extended bygov.llnl.babel.ast.DoubleLiteral

public class DoubleLiteral
extends NumericLiteral


Field Summary
 
Fields inherited from class gov.llnl.babel.ast.ASTNode
d_firstToken, d_lastToken, d_parent, d_src, d_symbol
 
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, getParent, getParseTreeNode, getSymbolTableEntry, setParent, setParserTreeNode, 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()

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