C# Class Pchp.CodeAnalysis.FlowAnalysis.StateBinder

Binds flow state to a routine.
Datei anzeigen Open project: iolevel/peachpie Class Usage Examples

Public Methods

Method Description
CreateInitialState ( SourceRoutineSymbol routine ) : FlowState

Creates new type context, flow context and flow state for the routine.

Private Methods

Method Description
InitThisVar ( FlowContext ctx, FlowState initialState ) : void

Initializes $this variable, its type and initialized state.

Method Details

CreateInitialState() public static method

Creates new type context, flow context and flow state for the routine.
public static CreateInitialState ( SourceRoutineSymbol routine ) : FlowState
routine Pchp.CodeAnalysis.Symbols.SourceRoutineSymbol
return FlowState