com.veromodo.tempo.ast
Class ASTIdentifier

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

public class ASTIdentifier
extends ASTIdOrNum
implements Resource, Describable


Constructor Summary
ASTIdentifier(ASTToken tok)
           
 
Method Summary
 Descriptor getDescriptor()
           
 java.lang.String getId()
           
 java.lang.String getLexeme()
           
 java.lang.String getName()
           
 ASTToken getToken()
           
 boolean isIdentifier()
           
 void setDescriptor(Descriptor d)
           
 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.ASTNode
getExtent, setExtent
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.veromodo.tempo.util.Resource
getExtent
 
Methods inherited from interface com.veromodo.tempo.util.Locatable
getExtent
 

Constructor Detail

ASTIdentifier

public ASTIdentifier(ASTToken tok)
Method Detail

getId

public java.lang.String getId()

getToken

public ASTToken getToken()
Specified by:
getToken in class ASTIdOrNum

toString

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

getName

public java.lang.String getName()
Specified by:
getName in interface Resource

getLexeme

public java.lang.String getLexeme()
Specified by:
getLexeme in class ASTIdOrNum

isIdentifier

public boolean isIdentifier()
Specified by:
isIdentifier in class ASTIdOrNum

setDescriptor

public void setDescriptor(Descriptor d)

getDescriptor

public Descriptor getDescriptor()
Specified by:
getDescriptor in interface Describable

visit

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

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