Serializable
public 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, setRight
protected Declarator declarator
public Variable(String sym, Declarator d)
public Declarator getDeclarator()
public void accept(Visitor v) throws CompileError
ASTree
atXXX()
on the given visitor, where
XXX
is the class name of the node object.accept
in class Symbol
CompileError
Copyright © 2018 Shigeru Chiba, www.javassist.org. All rights reserved.