C# Класс GameMaker.FlowAnalysis.ControlFlowNode

Represents a block in the control flow graph.
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
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