1 #ifndef OBJECT_H_INCLUDED_
2 #define OBJECT_H_INCLUDED_
17 explicit Object(SgVariableDefinition *ast_node,
Type type);
Object(SgVariableDefinition *ast_node, Type type)
default constructor
Definition: object.cpp:3
Definition: definition.h:12
bool is_reference()
checks if this object is a reference
Definition: object.cpp:48
virtual std::string get_name()
Get function for the name of the module instance variable.
Definition: object.cpp:20
bool is_pointer()
checks if this object is a pointer
Definition: object.cpp:54
SgVariableSymbol * get_symbol()
return the symbol of the object
Definition: object.cpp:60
unsigned int number_of_array_elements_
Definition: object.h:53
Type
We are using these enums to identify type type of and instance or definition during traversal...
Definition: definition.h:20
bool is_array()
checks if this object is an array
Definition: object.cpp:42
SgVariableDefinition * get_ast_node()
Returns the ast definition of the object.
Definition: object.cpp:14