Property | Type | Description | |
---|---|---|---|
FlowContext | Devsense.PHP.Syntax |
Method | Description | |
---|---|---|
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.
|
Method | Description | |
---|---|---|
FlowContext ( |
public AddVarType ( int varindex, TypeRefMask type ) : void | ||
varindex | int | |
type | TypeRefMask | |
return | void |
public GetVarIndex ( VariableName name ) : int | ||
name | VariableName | |
return | int |
public GetVarType ( VariableName name ) : TypeRefMask | ||
name | VariableName | |
return | TypeRefMask |