com.veromodo.tempo.ast
Class ASTIntLiteral

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.ASTIntLiteral
All Implemented Interfaces:
Locatable

public class ASTIntLiteral
extends ASTLiteral


Constructor Summary
ASTIntLiteral(ASTToken t)
           
 
Method Summary
 int 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
getLexeme, 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

ASTIntLiteral

public ASTIntLiteral(ASTToken t)
Method Detail

getVal

public int getVal()

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