#include <definition.h>
|
enum | Type {
CThreadType,
ChannelType,
ChannelInstanceType,
ClassType,
DefinitionType,
EventType,
FunctionType,
HierarchicalChannelType,
HierarchicalChannelInstanceType,
InOutPortType,
InPortType,
InstanceType,
InterfaceType,
MethodType,
ModuleType,
ModuleInstanceType,
ObjectType,
OutPortType,
PortType,
PrimitiveChannelType,
PrimitiveChannelInstanceType,
ThreadType,
VariableType,
SocketType,
InitiatorSocketType,
TargetSocketType
} |
| We are using these enums to identify type type of and instance or definition during traversal. More...
|
|
We are using these enums to identify type type of and instance or definition during traversal.
Enumerator |
---|
CThreadType |
|
ChannelType |
|
ChannelInstanceType |
|
ClassType |
|
DefinitionType |
|
EventType |
|
FunctionType |
|
HierarchicalChannelType |
|
HierarchicalChannelInstanceType |
|
InOutPortType |
|
InPortType |
|
InstanceType |
|
InterfaceType |
|
MethodType |
|
ModuleType |
|
ModuleInstanceType |
|
ObjectType |
|
OutPortType |
|
PortType |
|
PrimitiveChannelType |
|
PrimitiveChannelInstanceType |
|
ThreadType |
|
VariableType |
|
SocketType |
|
InitiatorSocketType |
|
TargetSocketType |
|
risc::Definition::Definition |
( |
const Definition & |
rhs | ) |
|
|
private |
SgNode * risc::Definition::get_ast_node |
( |
| ) |
|
|
virtual |
SgType * risc::Definition::get_ast_type |
( |
| ) |
|
|
virtual |
Returns the type of the ast node.
std::string risc::Definition::get_ast_type_name |
( |
| ) |
|
|
virtual |
Returns the name of the type of the ast node.
Reimplemented in risc::Class, risc::Variable, risc::Function, risc::Instance, risc::PrimitiveChannelInstance, risc::Socket, risc::Event, risc::EventAndList, risc::EventOrList, risc::Port, and risc::Interface.
std::string risc::Definition::get_file_name |
( |
| ) |
|
Get the name of the file where the declaration is located.
- Returns
- filename
int risc::Definition::get_line_number |
( |
| ) |
|
Get the line number of the instance.
- Returns
- line number
std::string risc::Definition::get_name |
( |
| ) |
|
|
virtual |
int risc::Definition::get_position_in_line |
( |
| ) |
|
Get the position of the in declaration in the corresponding line In other words the column in the line.
- Returns
- position in line
bool risc::Definition::has_source_location |
( |
| ) |
|
Determines if a ast node has an associated ast node.
SgNode* risc::Definition::ast_node_ |
SgType* risc::Definition::ast_type_pointer_ |
Type risc::Definition::type_ |
The documentation for this class was generated from the following files:
- /local/lecs/lecs/risc_v0.6.2/sources/build/risc_v0.6.2/src/internal_representation/definition.h
- /local/lecs/lecs/risc_v0.6.2/sources/build/risc_v0.6.2/src/internal_representation/definition.cpp