public class Variable extends Symbol
| Modifier and Type | Field and Description |
|---|---|
protected Declarator |
declarator |
identifier| Constructor and Description |
|---|
Variable(String sym,
Declarator d) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(Visitor v)
Is a method for the visitor pattern.
|
Declarator |
getDeclarator() |
String |
toString() |
protected Declarator declarator
public Variable(String sym, Declarator d)
public Declarator getDeclarator()
public void accept(Visitor v) throws CompileError
ASTreeatXXX() on the given visitor, where
XXX is the class name of the node object.accept in class SymbolCompileErrorCopyright © 2016 Shigeru Chiba, www.javassist.org. All Rights Reserved.