C# 클래스 Pchp.CodeAnalysis.Semantics.Graph.ControlFlowGraph

파일 보기 프로젝트 열기: iolevel/peachpie 1 사용 예제들

공개 메소드들

메소드 설명
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