C# Class Pchp.CodeAnalysis.Semantics.Graph.ControlFlowGraph

Afficher le fichier Open project: iolevel/peachpie Class Usage Examples

Méthodes publiques

Méthode Description
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.

Private Methods

Méthode Description
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

Method Details

GetLocalTypeMask() public méthode

Gets possible types of a local variable.
CFG has to be analysed prior to getting this property.
public GetLocalTypeMask ( string varname ) : TypeRefMask
varname string
Résultat TypeRefMask

NewColor() public méthode

Gets new (unique) color for use by graph algorithms.
public NewColor ( ) : int
Résultat int

Visit() public méthode

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
Résultat void