Public Member Functions | |
Variable () | |
Variable (String name) | |
Variable (String name, TypeSpecifier type) | |
TypeSpecifier | getType () |
void | setType (TypeSpecifier type) |
String | toString () |
Protected Attributes | |
TypeSpecifier | type |
Variable.Variable | ( | ) |
Variable.Variable | ( | String | name | ) |
Variable.Variable | ( | String | name, | |
TypeSpecifier | type | |||
) |
References setType().
TypeSpecifier Variable.getType | ( | ) |
References type.
void Variable.setType | ( | TypeSpecifier | type | ) |
Referenced by IntegerConstant.IntegerConstant(), RealConstant.RealConstant(), and Variable().
String Variable.toString | ( | ) |
Reimplemented in IntegerConstant.
References Symbol.getName(), and type.
TypeSpecifier Variable.type [protected] |
Referenced by getType(), and toString().