public class Symbol extends ASTree
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
identifier |
Constructor and Description |
---|
Symbol(java.lang.String sym) |
Modifier and Type | Method and Description |
---|---|
void |
accept(Visitor v)
Is a method for the visitor pattern.
|
java.lang.String |
get() |
java.lang.String |
toString() |
public java.lang.String get()
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 ASTree
CompileError