C# Class GameMaker.FlowAnalysis.ControlFlowNode

Represents a block in the control flow graph.
Afficher le fichier Open project: WarlockD/GMdsam Class Usage Examples

Méthodes publiques

Свойство Type Description
BlockIndex int
DominanceFrontier HashSet
DominatorTreeChildren List
Incoming List
NodeType ControlFlowNodeType
Offset int
Outgoing List
UserData object
Visited bool

Méthodes publiques

Méthode Description
Dominates ( ControlFlowNode node ) : bool

Gets whether this dominates node.

ToString ( ) : string
TraversePostOrder ( Func children, Action visitAction ) : void
TraversePreOrder ( Func children, Action visitAction ) : void

Private Methods

Méthode Description
ControlFlowNode ( int blockIndex ) : System
ControlFlowNode ( int blockIndex, int offset, ControlFlowNodeType nodeType ) : System

Method Details

Dominates() public méthode

Gets whether this dominates node.
public Dominates ( ControlFlowNode node ) : bool
node ControlFlowNode
Résultat bool

ToString() public méthode

public ToString ( ) : string
Résultat string

TraversePostOrder() public méthode

public TraversePostOrder ( Func children, Action visitAction ) : void
children Func
visitAction Action
Résultat void

TraversePreOrder() public méthode

public TraversePreOrder ( Func children, Action visitAction ) : void
children Func
visitAction Action
Résultat void

Property Details

BlockIndex public_oe property

Index of this node in the ControlFlowGraph.Nodes collection.
public int BlockIndex
Résultat int

DominanceFrontier public_oe property

The dominance frontier of this node. This is the set of nodes for which this node dominates a predecessor, but which are not strictly dominated by this node.
b.DominanceFrontier = { y in CFG; (exists p in predecessors(y): b dominates p) and not (b strictly dominates y)}
public HashSet DominanceFrontier
Résultat HashSet

DominatorTreeChildren public_oe property

List of children in the dominator tree.
public List DominatorTreeChildren
Résultat List

Incoming public_oe property

List of incoming control flow edges.
public List Incoming
Résultat List

NodeType public_oe property

Type of the node.
public ControlFlowNodeType NodeType
Résultat ControlFlowNodeType

Offset public_oe property

Gets the IL offset of this node.
public int Offset
Résultat int

Outgoing public_oe property

List of outgoing control flow edges.
public List Outgoing
Résultat List

UserData public_oe property

Any user data
public object UserData
Résultat object

Visited public_oe property

Visited flag, used in various algorithms. Before using it in your algorithm, reset it to false by calling ControlFlowGraph.ResetVisited();
public bool Visited
Résultat bool