C# Class GameMaker.FlowAnalysis.ControlFlowGraph

Contains the control flow graph.
Use ControlFlowGraph builder to create instances of the ControlFlowGraph.
Show file Open project: WarlockD/GMdsam

Public Methods

Method Description
ComputeDominance ( CancellationToken cancellationToken = default(CancellationToken) ) : void

Computes the dominator tree.

ComputeDominanceFrontier ( ) : void

Computes dominance frontiers. This method requires that the dominator tree is already computed!

ExportGraph ( ) : GraphVizGraph
ResetVisited ( ) : void

Resets "Visited" to false for all nodes in this graph.

Private Methods

Method Description
ControlFlowGraph ( ControlFlowNode nodes ) : System
FindCommonDominator ( ControlFlowNode b1, ControlFlowNode b2 ) : ControlFlowNode

Method Details

ComputeDominance() public method

Computes the dominator tree.
public ComputeDominance ( CancellationToken cancellationToken = default(CancellationToken) ) : void
cancellationToken System.Threading.CancellationToken
return void

ComputeDominanceFrontier() public method

Computes dominance frontiers. This method requires that the dominator tree is already computed!
public ComputeDominanceFrontier ( ) : void
return void

ExportGraph() public method

public ExportGraph ( ) : GraphVizGraph
return GraphVizGraph

ResetVisited() public method

Resets "Visited" to false for all nodes in this graph.
public ResetVisited ( ) : void
return void