C# Класс Pchp.CodeAnalysis.Semantics.Graph.ControlFlowGraph

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
GetLocalTypeMask ( string varname ) : TypeRefMask

Gets possible types of a local variable.

CFG has to be analysed prior to getting this property.

NewColor ( ) : int

Gets new (unique) color for use by graph algorithms.

Visit ( GraphVisitor visitor ) : void

Visits control flow blocks and contained statements, in deep. Unreachable blocks are not visited.

Visitor does not implement infinite recursion prevention.

Приватные методы

Метод Описание
ControlFlowGraph ( BoundBlock start, BoundBlock exit, BoundBlock exception, LabelBlockState labels, List unreachable ) : Devsense.PHP.Syntax
ControlFlowGraph ( BuilderVisitor builder ) : Devsense.PHP.Syntax
ControlFlowGraph ( IList statements, SemanticsBinder binder, NamingContext naming ) : Devsense.PHP.Syntax

Описание методов

GetLocalTypeMask() публичный Метод

Gets possible types of a local variable.
CFG has to be analysed prior to getting this property.
public GetLocalTypeMask ( string varname ) : TypeRefMask
varname string
Результат TypeRefMask

NewColor() публичный Метод

Gets new (unique) color for use by graph algorithms.
public NewColor ( ) : int
Результат int

Visit() публичный Метод

Visits control flow blocks and contained statements, in deep. Unreachable blocks are not visited.
Visitor does not implement infinite recursion prevention.
public Visit ( GraphVisitor visitor ) : void
visitor GraphVisitor
Результат void