com.veromodo.tempo.ast
Class ASTFloatLiteral

java.lang.Object
  extended by com.veromodo.tempo.ast.ASTNode
      extended by com.veromodo.tempo.ast.ASTIdOrNum
          extended by com.veromodo.tempo.ast.ASTLiteral
              extended by com.veromodo.tempo.ast.ASTFloatLiteral
All Implemented Interfaces:
Locatable

public class ASTFloatLiteral
extends ASTLiteral


Constructor Summary
ASTFloatLiteral(ASTToken t)
           
 
Method Summary
 java.lang.String getLexeme()
           
 double getVal()
           
 java.lang.String toString()
           
 void visit(ASTIVisitor v)
          Abstract method to traverse the AST via a visitor.
 
Methods inherited from class com.veromodo.tempo.ast.ASTLiteral
getToken, isIdentifier
 
Methods inherited from class com.veromodo.tempo.ast.ASTNode
getExtent, setExtent
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ASTFloatLiteral

public ASTFloatLiteral(ASTToken t)
Method Detail

getVal

public double getVal()

getLexeme

public java.lang.String getLexeme()
Overrides:
getLexeme in class ASTLiteral

toString

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

visit

public void visit(ASTIVisitor v)
Description copied from class: ASTNode
Abstract method to traverse the AST via a visitor.

Overrides:
visit in class ASTLiteral
Parameters:
v - the visitor interface
See Also:
ASTIVisitor