#include <object.h>


Public Member Functions | |
| Object (SgVariableDefinition *ast_node) | |
| default constructor | |
| SgVariableDefinition * | get_ast_node () |
| Returns the ast definition of the object. | |
| virtual std::string | get_name () |
| Get function for the name of the module instance variable. | |
| virtual SgType * | get_ast_type () |
| Returns the type of the ast node. | |
| virtual std::string | get_ast_type_name () |
| Returns the name of the type of the ast node. | |
| bool | has_source_location () |
| Determines if a ast node has an associated ast node. | |
| std::string | get_file_name () |
| Get the name of the file where the declaration is located. | |
| int | get_line_number () |
| Get the line number of the instance. | |
| int | get_position_in_line () |
| Get the position of the in declaration in the corresponding line In other words the column in the line. | |
Public Attributes | |
| SgNode * | ast_node_ |
| SgType * | ast_type_pointer_ |
Private Member Functions | |
| Object (const Object &o) | |
| Disabled copy constructor. | |
| risc::Object::Object | ( | SgVariableDefinition * | ast_node | ) | [explicit] |
default constructor
| risc::Object::Object | ( | const Object & | o | ) | [private] |
Disabled copy constructor.
| SgVariableDefinition * risc::Object::get_ast_node | ( | ) | [virtual] |
Returns the ast definition of the object.
Reimplemented from risc::Definition.
| SgType * risc::Definition::get_ast_type | ( | ) | [virtual, inherited] |
Returns the type of the ast node.
| std::string risc::Definition::get_ast_type_name | ( | ) | [virtual, inherited] |
Returns the name of the type of the ast node.
Reimplemented in risc::Class, risc::Event, risc::Function, risc::Instance, risc::Port, risc::PrimitiveChannelInstance, and risc::Variable.
| std::string risc::Definition::get_file_name | ( | ) | [inherited] |
Get the name of the file where the declaration is located.
| int risc::Definition::get_line_number | ( | ) | [inherited] |
Get the line number of the instance.
| std::string risc::Object::get_name | ( | ) | [virtual] |
Get function for the name of the module instance variable.
Reimplemented from risc::Definition.
| int risc::Definition::get_position_in_line | ( | ) | [inherited] |
Get the position of the in declaration in the corresponding line In other words the column in the line.
| bool risc::Definition::has_source_location | ( | ) | [inherited] |
Determines if a ast node has an associated ast node.
SgNode* risc::Definition::ast_node_ [inherited] |
SgType* risc::Definition::ast_type_pointer_ [inherited] |
1.7.1