C# 클래스 GameMaker.FlowAnalysis.ControlFlowNode

Represents a block in the control flow graph.
파일 보기 프로젝트 열기: WarlockD/GMdsam 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
BlockIndex int
DominanceFrontier HashSet
DominatorTreeChildren List
Incoming List
NodeType ControlFlowNodeType
Offset int
Outgoing List
UserData object
Visited bool

공개 메소드들

메소드 설명
Dominates ( ControlFlowNode node ) : bool

Gets whether this dominates node.

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

비공개 메소드들

메소드 설명
ControlFlowNode ( int blockIndex ) : System
ControlFlowNode ( int blockIndex, int offset, ControlFlowNodeType nodeType ) : System

메소드 상세

Dominates() 공개 메소드

Gets whether this dominates node.
public Dominates ( ControlFlowNode node ) : bool
node ControlFlowNode
리턴 bool

ToString() 공개 메소드

public ToString ( ) : string
리턴 string

TraversePostOrder() 공개 메소드

public TraversePostOrder ( Func children, Action visitAction ) : void
children Func
visitAction Action
리턴 void

TraversePreOrder() 공개 메소드

public TraversePreOrder ( Func children, Action visitAction ) : void
children Func
visitAction Action
리턴 void

프로퍼티 상세

BlockIndex 공개적으로 프로퍼티

Index of this node in the ControlFlowGraph.Nodes collection.
public int BlockIndex
리턴 int

DominanceFrontier 공개적으로 프로퍼티

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
리턴 HashSet

DominatorTreeChildren 공개적으로 프로퍼티

List of children in the dominator tree.
public List DominatorTreeChildren
리턴 List

Incoming 공개적으로 프로퍼티

List of incoming control flow edges.
public List Incoming
리턴 List

NodeType 공개적으로 프로퍼티

Type of the node.
public ControlFlowNodeType NodeType
리턴 ControlFlowNodeType

Offset 공개적으로 프로퍼티

Gets the IL offset of this node.
public int Offset
리턴 int

Outgoing 공개적으로 프로퍼티

List of outgoing control flow edges.
public List Outgoing
리턴 List

UserData 공개적으로 프로퍼티

Any user data
public object UserData
리턴 object

Visited 공개적으로 프로퍼티

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