프로퍼티 | 타입 | 설명 | |
---|---|---|---|
AnalysisVisitor | Pchp.CodeAnalysis.Semantics.Graph | ||
AssertState | void | ||
TraverseToBlock | void | ||
VisitCondition | void |
메소드 | 설명 | |
---|---|---|
VisitBinaryExpression ( |
||
VisitCFG ( |
||
VisitCFGBlock ( |
||
VisitCFGCaseBlock ( CaseBlock x ) : void | ||
VisitCFGCatchBlock ( CatchBlock x ) : void | ||
VisitCFGConditionalEdge ( |
||
VisitCFGExitBlock ( |
||
VisitCFGForeachEnumereeEdge ( |
||
VisitCFGForeachMoveNextEdge ( |
||
VisitCFGSimpleEdge ( |
||
VisitCFGSwitchEdge ( |
||
VisitCFGTryCatchEdge ( |
||
VisitInstanceOf ( |
||
VisitUnaryExpression ( |
메소드 | 설명 | |
---|---|---|
HandleTraversableUse ( |
Handles use of variable as foreach iterator value.
|
|
SetVar ( string name, TypeRefMask typemask ) : TypeRefMask |
Sets type of local variable in current state.
|
|
Visit ( |
||
Visit ( |
||
Visit ( |
||
VisitCFGBlockInit ( |
Called to initialize VisitCFGBlock call. Sets _state to known initial block state.
|
메소드 | 설명 | |
---|---|---|
AnalysisVisitor ( Worklist |
Creates an instance of AnalysisVisitor that can analyse a block.
|
|
AssertState ( ) : void |
Debug assert the state is initialized therefore we are in the middle on a block analysis.
|
|
TraverseToBlock ( FlowState state, |
Helper method that merges state with the target block and determines whether to continue by visiting the target block. Only for traversing into blocks within the same routine (same type context). |
|
VisitCondition ( |
Visits condition used to branch execution to true or false branch. Because of minimal evaluation there is different FlowState for true and false branches, AND and OR operators have to take this into account. Also some other constructs may have side-effect for known branch, eg. |
protected HandleTraversableUse ( |
||
varuse | ||
리턴 | TypeRefMask |
protected SetVar ( string name, TypeRefMask typemask ) : TypeRefMask | ||
name | string | |
typemask | TypeRefMask | |
리턴 | TypeRefMask |
protected Visit ( |
||
x | ||
branch | ConditionBranch | |
리턴 | void |
protected Visit ( |
||
x | ||
branch | ConditionBranch | |
리턴 | void |
protected Visit ( |
||
x | ||
branch | ConditionBranch | |
리턴 | void |
public final VisitBinaryExpression ( |
||
x | ||
리턴 | void |
public VisitCFG ( |
||
x | ||
리턴 | void |
public VisitCFGBlock ( |
||
x | ||
리턴 | void |
protected VisitCFGBlockInit ( |
||
x | ||
리턴 | void |
public VisitCFGConditionalEdge ( |
||
x | ||
리턴 | void |
public VisitCFGExitBlock ( |
||
x | ||
리턴 | void |
public VisitCFGForeachEnumereeEdge ( |
||
x | ||
리턴 | void |
public VisitCFGForeachMoveNextEdge ( |
||
x | ||
리턴 | void |
public VisitCFGSimpleEdge ( |
||
x | ||
리턴 | void |
public VisitCFGSwitchEdge ( |
||
x | ||
리턴 | void |
public VisitCFGTryCatchEdge ( |
||
x | ||
리턴 | void |
public final VisitInstanceOf ( |
||
x | ||
리턴 | void |
public final VisitUnaryExpression ( |
||
x | ||
리턴 | void |