Functions | |
bool | is_sc_main (const SgFunctionDeclaration *function) |
Checks if function is sc_main functions. | |
SgFunctionDeclaration * | find_sc_main (SgNode *node) |
searchs for sc_main function | |
std::vector< SgClassDefinition * > | find_all_modules () |
Search for all class definitions. | |
bool | is_defined_in_included_library (SgProject *project, SgNode *node) |
This funciton checks if the defintion of the node is in a file that is located in the given include path. |
std::vector< SgClassDefinition * > risc::traverser::find_all_modules | ( | ) |
Search for all class definitions.
SgFunctionDeclaration * risc::traverser::find_sc_main | ( | SgNode * | node | ) |
searchs for sc_main function
bool risc::traverser::is_defined_in_included_library | ( | SgProject * | project, | |
SgNode * | node | |||
) |
This funciton checks if the defintion of the node is in a file that is located in the given include path.
project | Head node of the project |
bool risc::traverser::is_sc_main | ( | const SgFunctionDeclaration * | function | ) |
Checks if function is sc_main functions.