risc::sg::CachedFunctionAstAttributes Class Reference

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>

List of all members.

Public Member Functions

 CachedFunctionAstAttributes (VertexDescriptor starting_vertex)
bool has_no_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

VertexDescriptor starting_vertex_
SegmentGraph::SegmentSet leaving_segments_

Detailed Description

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.


Constructor & Destructor Documentation

risc::sg::CachedFunctionAstAttributes::CachedFunctionAstAttributes ( VertexDescriptor  starting_vertex  ) 

Member Function Documentation

bool risc::sg::CachedFunctionAstAttributes::has_no_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.

has_no_boundary

bool risc::sg::CachedFunctionAstAttributes::starting_segment_is_leaving_segment (  ) 

The function checks if the starting segment is a leaving segment at the same time.

starting_segment_is_leaving_segment


Member Data Documentation


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 30 Sep 2015 by  doxygen 1.6.1