javassist.compiler.ast
Class Variable

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

public class Variable
extends Symbol

Variable.

See Also:
Serialized Form

Field Summary
protected  Declarator declarator
           
 
Fields inherited from class javassist.compiler.ast.Symbol
identifier
 
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 javassist.compiler.ast.Symbol
get
 
Methods inherited from class javassist.compiler.ast.ASTree
getLeft, getRight, getTag, setLeft, setRight
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

declarator

protected Declarator declarator
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


Copyright © 2011. All Rights Reserved.