Class Variable
- java.lang.Object
-
- org.hotswap.agent.javassist.compiler.ast.ASTree
-
- org.hotswap.agent.javassist.compiler.ast.Symbol
-
- org.hotswap.agent.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 Declaratordeclarator-
Fields inherited from class org.hotswap.agent.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 voidaccept(Visitor v)Is a method for the visitor pattern.DeclaratorgetDeclarator()StringtoString()
-
-
-
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:ASTreeIs a method for the visitor pattern. It callsatXXX()on the given visitor, whereXXXis the class name of the node object.- Overrides:
acceptin classSymbol- Throws:
CompileError
-
-