classUtils.javassist.compiler.ast
Class Variable
java.lang.Object
classUtils.javassist.compiler.ast.ASTree
classUtils.javassist.compiler.ast.Symbol
classUtils.javassist.compiler.ast.Variable
- All Implemented Interfaces:
- java.io.Serializable
public class Variable
- extends Symbol
Variable.
- See Also:
- Serialized Form
Methods inherited from class classUtils.javassist.compiler.ast.Symbol |
get |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Variable
public Variable(java.lang.String sym,
Declarator d)
getDeclarator
public Declarator getDeclarator()
toString
public java.lang.String toString()
- Overrides:
toString
in class Symbol
accept
public void accept(Visitor v)
throws CompileError
- Description copied from class:
ASTree
- Is a method for the visitor pattern. It calls
atXXX()
on the given visitor, where
XXX
is the class name of the node object.
- Overrides:
accept
in class Symbol
- Throws:
CompileError