com.veromodo.tempo.ast
Class ASTIdOrNum

java.lang.Object
  extended by com.veromodo.tempo.ast.ASTNode
      extended by com.veromodo.tempo.ast.ASTIdOrNum
All Implemented Interfaces:
Locatable
Direct Known Subclasses:
ASTIdentifier, ASTLiteral

public abstract class ASTIdOrNum
extends ASTNode


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

Constructor Detail

ASTIdOrNum

public ASTIdOrNum()
Method Detail

getLexeme

public abstract java.lang.String getLexeme()

isIdentifier

public abstract boolean isIdentifier()

getToken

public abstract ASTToken getToken()

visit

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

Specified by:
visit in class ASTNode
Parameters:
v - the visitor interface
See Also:
ASTIVisitor