Subgraph Walker
object SubgraphWalker
Helper class for graph walking: Walking through ast-, cfg-, ...- edges
Types
Link copied to clipboard
class IterativeGraphWalker
Link copied to clipboard
class ScopedWalker
Handles declaration scope monitoring for iterative traversals. If this is not required, use IterativeGraphWalker for less overhead.
Functions
Link copied to clipboard
Flattens the tree, starting at Node n into a list.
Link copied to clipboard
Link copied to clipboard
Function returns two lists in a list. The first list contains all eog nodes with no predecesor in the subgraph with root 'n'. The second list contains eog edges that have no successor in the subgraph with root 'n'. The first List marks the entry and the second marks the exit nodes of the cfg in this subgraph.
Link copied to clipboard