C# 클래스 Pchp.CodeAnalysis.FlowAnalysis.CallInfo

Used by analysis of routine in case we know additional information about called context.
파일 보기 프로젝트 열기: iolevel/peachpie

공개 메소드들

메소드 설명
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