Package javassist.compiler.ast
Class Variable
- java.lang.Object
-
- javassist.compiler.ast.ASTree
-
- javassist.compiler.ast.Symbol
-
- javassist.compiler.ast.Variable
-
- All Implemented Interfaces:
Serializable
public class Variable extends Symbol
Variable.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected Declarator
declarator
-
Fields inherited from class javassist.compiler.ast.Symbol
identifier
-
-
Constructor Summary
Constructors Constructor Description Variable(String sym, Declarator d)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(Visitor v)
Is a method for the visitor pattern.Declarator
getDeclarator()
String
toString()
-
-
-
Field Detail
-
declarator
protected Declarator declarator
-
-
Constructor Detail
-
Variable
public Variable(String sym, Declarator d)
-
-
Method Detail
-
getDeclarator
public Declarator getDeclarator()
-
accept
public void accept(Visitor v) throws CompileError
Description copied from class:ASTree
Is a method for the visitor pattern. It callsatXXX()
on the given visitor, whereXXX
is the class name of the node object.- Overrides:
accept
in classSymbol
- Throws:
CompileError
-
-