Свойство | Тип | Описание | |
---|---|---|---|
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 VisitCFGCaseBlock ( CaseBlock x ) : void | ||
x | CaseBlock | |
Результат | void |
public VisitCFGCatchBlock ( CatchBlock x ) : void | ||
x | CatchBlock | |
Результат | 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 |