C# Класс Pchp.CodeAnalysis.FlowAnalysis.CallInfo

Used by analysis of routine in case we know additional information about called context.
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
GetParamsTypeArr ( int count, TypeRefMask value ) : TypeRefMask[]

Описание методов

CallInfo() публичный Метод

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.
Результат Devsense.PHP.Syntax

CallInfo() публичный Метод

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.
Результат Devsense.PHP.Syntax

CallInfo() публичный Метод

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.
Результат Devsense.PHP.Syntax

CallInfo() публичный Метод

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.
Результат Devsense.PHP.Syntax

GetLateStaticBindType() публичный Метод

Gets actual lates static bind type (type of static) if provided. Otherwise void.
public GetLateStaticBindType ( TypeRefContext ctx ) : TypeRefMask
ctx TypeRefContext Target type context.
Результат TypeRefMask

GetParamType() публичный Метод

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.
Результат TypeRefMask