Свойство | Тип | Описание | |
---|---|---|---|
FlowContext | Devsense.PHP.Syntax |
Метод | Описание | |
---|---|---|
AddVarType ( int varindex, TypeRefMask type ) : void | ||
GetVarIndex ( VariableName name ) : int |
Gets index of variable within the context.
|
|
GetVarType ( VariableName name ) : TypeRefMask | ||
IsReference ( int varindex ) : bool |
Gets value indicating whether given variable might be a reference.
|
|
IsUsed ( int varindex ) : bool | ||
SetAllUsed ( ) : void |
Marks all local variables as used.
|
|
SetReference ( int varindex ) : void | ||
SetUsed ( int varindex ) : void |
Sets specified variable as being used.
|
Метод | Описание | |
---|---|---|
FlowContext ( |
public AddVarType ( int varindex, TypeRefMask type ) : void | ||
varindex | int | |
type | TypeRefMask | |
Результат | void |
public GetVarIndex ( VariableName name ) : int | ||
name | VariableName | |
Результат | int |
public GetVarType ( VariableName name ) : TypeRefMask | ||
name | VariableName | |
Результат | TypeRefMask |
public IsReference ( int varindex ) : bool | ||
varindex | int | |
Результат | bool |
public SetReference ( int varindex ) : void | ||
varindex | int | |
Результат | void |