Public Member Functions | Protected Attributes

Variable Class Reference

Inheritance diagram for Variable:
Symbol Constant Field IntegerConstant RealConstant

List of all members.

Public Member Functions

 Variable ()
 Variable (String name)
 Variable (String name, TypeSpecifier type)
TypeSpecifier getType ()
void setType (TypeSpecifier type)
String toString ()

Protected Attributes

TypeSpecifier type

Constructor & Destructor Documentation

Variable.Variable (  ) 
Variable.Variable ( String  name  ) 
Variable.Variable ( String  name,
TypeSpecifier  type 
)

References setType().


Member Function Documentation

TypeSpecifier Variable.getType (  ) 

References type.

void Variable.setType ( TypeSpecifier  type  ) 
String Variable.toString (  ) 

Reimplemented in IntegerConstant.

References Symbol.getName(), and type.


Member Data Documentation

Referenced by getType(), and toString().


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties