Serializablepublic class Variable extends Symbol
| Modifier and Type | Field | Description |
|---|---|---|
protected Declarator |
declarator |
identifier| Constructor | Description |
|---|---|
Variable(String sym,
Declarator d) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
accept(Visitor v) |
Is a method for the visitor pattern.
|
Declarator |
getDeclarator() |
|
String |
toString() |
getLeft, getRight, getTag, setLeft, setRightprotected 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 © 2018 Shigeru Chiba, www.javassist.org. All rights reserved.