C# Class Pchp.CodeAnalysis.FlowAnalysis.CallInfo

Used by analysis of routine in case we know additional information about called context.
Datei anzeigen Open project: iolevel/peachpie

Public Methods

Method Description
CallInfo ( TypeRefContext ctx, TypeRefMask paramsType ) : Devsense.PHP.Syntax

Initializes CallInfo.

CallInfo ( TypeRefContext ctx, TypeRefMask paramsType, TypeRefMask lateStaticBindType ) : Devsense.PHP.Syntax

Initializes CallInfo.

CallInfo ( TypeRefContext ctx, int paramsCount ) : Devsense.PHP.Syntax

Initializes CallInfo.

CallInfo ( TypeRefContext ctx, int paramsCount, TypeRefMask lateStaticBindType ) : Devsense.PHP.Syntax

Initializes CallInfo.

GetLateStaticBindType ( TypeRefContext ctx ) : TypeRefMask

Gets actual lates static bind type (type of static) if provided. Otherwise void.

GetParamType ( TypeRefContext ctx, int index ) : TypeRefMask

Gets actual parameter type if provided. Otherwise void.

Private Methods

Method Description
GetParamsTypeArr ( int count, TypeRefMask value ) : TypeRefMask[]

Method Details

CallInfo() public method

Initializes CallInfo.
public CallInfo ( TypeRefContext ctx, TypeRefMask paramsType ) : Devsense.PHP.Syntax
ctx TypeRefContext Type context of the caller.
paramsType TypeRefMask Type of parameters used for the call. Length of the array corresponds to the parameters count.
return Devsense.PHP.Syntax

CallInfo() public method

Initializes CallInfo.
public CallInfo ( TypeRefContext ctx, TypeRefMask paramsType, TypeRefMask lateStaticBindType ) : Devsense.PHP.Syntax
ctx TypeRefContext Type context of the caller.
paramsType TypeRefMask Type of parameters used for the call. Length of the array corresponds to the parameters count.
lateStaticBindType TypeRefMask Type of the self in the caller context.
return Devsense.PHP.Syntax

CallInfo() public method

Initializes CallInfo.
public CallInfo ( TypeRefContext ctx, int paramsCount ) : Devsense.PHP.Syntax
ctx TypeRefContext Type context of the caller.
paramsCount int Amount of parameters used for the call.
return Devsense.PHP.Syntax

CallInfo() public method

Initializes CallInfo.
public CallInfo ( TypeRefContext ctx, int paramsCount, TypeRefMask lateStaticBindType ) : Devsense.PHP.Syntax
ctx TypeRefContext Type context of the caller.
paramsCount int Amount of parameters used for the call.
lateStaticBindType TypeRefMask Type of the self in the caller context.
return Devsense.PHP.Syntax

GetLateStaticBindType() public method

Gets actual lates static bind type (type of static) if provided. Otherwise void.
public GetLateStaticBindType ( TypeRefContext ctx ) : TypeRefMask
ctx TypeRefContext Target type context.
return TypeRefMask

GetParamType() public method

Gets actual parameter type if provided. Otherwise void.
public GetParamType ( TypeRefContext ctx, int index ) : TypeRefMask
ctx TypeRefContext Target type context.
index int Index of parameter.
return TypeRefMask