This class stores precached information of a analyzed function. Each function definition has an associated precached ast attribute. So, we store the beginning vertex and the leaving segments of a vertex. More...
#include <cached_function_ast_attributes.h>
Public Types | |
enum | FunctionIntegration { Inlining, Connecting } |
Public Member Functions | |
virtual AstAttribute::OwnershipPolicy | getOwnershipPolicy () const ROSE_OVERRIDE |
CachedFunctionAstAttributes (VertexDescriptor starting_vertex, FunctionIntegration function_integration) | |
bool | has_boundary () |
This function checks if a potential function call faces any boundary statement. If the 'leaving_segments_' set contains only the 'starting_vertex_' than there is no boundary statement. | |
bool | starting_segment_is_leaving_segment () |
The function checks if the starting segment is a leaving segment at the same time. | |
Public Attributes | |
FunctionIntegration | function_integration_ |
VertexDescriptor | starting_vertex_ |
SegmentGraph::SegmentSet | leaving_segments_ |
This class stores precached information of a analyzed function. Each function definition has an associated precached ast attribute. So, we store the beginning vertex and the leaving segments of a vertex.
risc::sg::CachedFunctionAstAttributes::CachedFunctionAstAttributes | ( | VertexDescriptor | starting_vertex, | |
FunctionIntegration | function_integration | |||
) |
virtual AstAttribute::OwnershipPolicy risc::sg::CachedFunctionAstAttributes::getOwnershipPolicy | ( | ) | const [inline, virtual] |
risc::sg::CachedFunctionAstAttributes::has_boundary | ( | ) |
This function checks if a potential function call faces any boundary statement. If the 'leaving_segments_' set contains only the 'starting_vertex_' than there is no boundary statement.
risc::sg::CachedFunctionAstAttributes::starting_segment_is_leaving_segment | ( | ) |
The function checks if the starting segment is a leaving segment at the same time.