cager.jexpr.ast
Class IdentifierExpression
java.lang.Object
cager.jexpr.ast.AST
cager.jexpr.ast.TypedAST
cager.jexpr.ast.Expression
cager.jexpr.ast.IdentifierExpression
- public class IdentifierExpression
- extends Expression
|
Field Summary |
java.lang.String |
name
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
name
public java.lang.String name
IdentifierExpression
public IdentifierExpression(java.lang.String name)
getName
public java.lang.String getName()
getDeclaration
public VariableDeclaration getDeclaration()
setDeclaration
public void setDeclaration(VariableDeclaration d)
getChildren
public AST[] getChildren()
- Specified by:
getChildren in class AST
visit
public java.lang.Object visit(Visitor v,
java.lang.Object o)
throws ParseException
- Description copied from class:
AST
- Provided to implement the visitor pattern.
- Specified by:
visit in class AST
- Throws:
ParseException
toString
public java.lang.String toString()
dump
public void dump(int level)
- Description copied from class:
AST
- Dump this node and all children to System.out.
- Overrides:
dump in class TypedAST