classUtils.javassist.compiler.ast
Class Variable

java.lang.Object
  extended by classUtils.javassist.compiler.ast.ASTree
      extended by classUtils.javassist.compiler.ast.Symbol
          extended by classUtils.javassist.compiler.ast.Variable
All Implemented Interfaces:
java.io.Serializable

public class Variable
extends Symbol

Variable.

See Also:
Serialized Form

Constructor Summary
Variable(java.lang.String sym, Declarator d)
           
 
Method Summary
 void accept(Visitor v)
          Is a method for the visitor pattern.
 Declarator getDeclarator()
           
 java.lang.String toString()
           
 
Methods inherited from class classUtils.javassist.compiler.ast.Symbol
get
 
Methods inherited from class classUtils.javassist.compiler.ast.ASTree
getLeft, getRight, setLeft, setRight
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Variable

public Variable(java.lang.String sym,
                Declarator d)
Method Detail

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