Property | Type | Description | |
---|---|---|---|
AddToContext | void | ||
AddToContextNoCheck | int | ||
GetPrimitiveTypeRefMask | TypeRefMask | ||
GetPrimitiveTypeRefMaskNoCheck | TypeRefMask | ||
GetTypeCtxMask | TypeRefMask | ||
GetTypeMaskOfReservedClassName | TypeRefMask | ||
GetTypes | IList |
||
SetLateStaticBindType | void | ||
TypeRefContext | System | ||
UpdateMasks | void |
Method | Description | |
---|---|---|
AddToContext ( |
Adds properly types from another context matching given mask.
|
|
AddToContext ( ITypeRef typeRef ) : int |
Ensures given type is in the context.
|
|
GetArrayTypeMask ( ) : TypeRefMask |
Gets type mask of generic
|
|
GetArrayTypeMask ( TypeRefMask elementType ) : TypeRefMask |
Gets type mask of
|
|
GetArraysFromMask ( TypeRefMask mask ) : TypeRefMask |
Gets mask representing only array types in given mask. (Only bits corresponding to an array type will be set).
|
|
GetBooleanTypeMask ( ) : TypeRefMask |
Gets
|
|
GetCallableTypeMask ( ) : TypeRefMask |
Gets type mask of all callable types.
|
|
GetDoubleTypeMask ( ) : TypeRefMask |
Gets
|
|
GetElementType ( TypeRefMask mask ) : TypeRefMask |
In case of array type, gets its possible element types.
|
|
GetLongTypeMask ( ) : TypeRefMask |
Gets
|
|
GetNullTypeMask ( ) : TypeRefMask |
Gets type mask corresponding to System.Object and not including any subclasses.
|
|
GetNumberTypeMask ( ) : TypeRefMask |
Gets
|
|
GetObjectTypes ( TypeRefMask mask ) : IList |
Gets types of type
|
|
GetObjectsFromMask ( TypeRefMask mask ) : TypeRefMask |
Gets mask representing only object types in given mask. (Only bits corresponding to an object type will be set).
|
|
GetParentTypeMask ( ) : TypeRefMask |
Gets
|
|
GetSelfTypeMask ( ) : TypeRefMask |
Gets
|
|
GetStaticTypeMask ( ) : TypeRefMask |
Gets
|
|
GetStringTypeMask ( ) : TypeRefMask |
Gets
|
|
GetSystemObjectTypeMask ( ) : TypeRefMask |
Gets type mask corresponding to System.Object.
|
|
GetThisTypeMask ( ) : TypeRefMask |
Gets type of
|
|
GetTypeIndex ( ITypeRef typeref ) : int |
Gets index of the given type within the context. Returns
|
|
GetTypeMask ( Devsense.PHP.Syntax.Ast tref, bool includesSubclasses = true ) : TypeRefMask |
Gets type mask corresponding to given TypeRef within this context.
|
|
GetTypeMask ( ITypeRef typeref, bool includesSubclasses ) : TypeRefMask |
Helper method that builds TypeRefMask for given type in this context.
|
|
GetTypeMask ( QualifiedName qname, bool includesSubclasses = true ) : TypeRefMask |
Gets type mask corresponding to given qualified name within this context.
|
|
GetTypes ( TypeRefMask mask ) : IList |
Gets types referenced by given type mask.
|
|
GetWritableStringTypeMask ( ) : TypeRefMask |
Gets writable
|
|
IsAString ( TypeRefMask mask ) : bool |
Gets value indicating whether given type mask represents a string type (readonly or writable).
|
|
IsArray ( TypeRefMask mask ) : bool |
Gets value indicating whether given type mask represents an array.
|
|
IsBoolean ( TypeRefMask mask ) : bool |
Gets value indicating whether given type mask represents a boolean.
|
|
IsDouble ( TypeRefMask mask ) : bool |
Gets value indicating whether given type mask represents a double type.
|
|
IsLambda ( TypeRefMask mask ) : bool |
Gets value indicating whether given type mask represents a lambda function or
|
|
IsLong ( TypeRefMask mask ) : bool |
Gets value indicating whether given type mask represents an integer type.
|
|
IsNullable ( TypeRefMask mask ) : bool |
Gets value indicating whether given type can be
|
|
IsNumber ( TypeRefMask mask ) : bool |
Gets value indicating whether given type mask represents a number.
|
|
IsObject ( TypeRefMask mask ) : bool |
Gets value indicating whether given type mask represents an object.
|
|
IsPrimitiveType ( TypeRefMask mask ) : bool |
Gets value indicating whether given type mask represents a primitive type.
|
|
IsReadonlyString ( TypeRefMask mask ) : bool |
Gets value indicating whether given type mask represents UTF16 readonly string.
|
|
IsWritableString ( TypeRefMask mask ) : bool |
Gets value indicating whether given type mask represents a writablke string (string builder).
|
|
ToString ( TypeRefMask mask ) : string |
Gets string representation of types contained in given type mask.
|
Method | Description | |
---|---|---|
AddToContext ( |
Adds properly types from another context.
|
|
AddToContextNoCheck ( ITypeRef typeRef ) : int | ||
GetPrimitiveTypeRefMask ( PrimitiveTypeRef typeref ) : TypeRefMask | ||
GetPrimitiveTypeRefMaskNoCheck ( PrimitiveTypeRef typeref ) : TypeRefMask |
Does not lookup existing types whether there is typeref already.
|
|
GetTypeCtxMask ( Devsense.PHP.Syntax.Ast typeCtx ) : TypeRefMask |
Gets type mask corresponding to
|
|
GetTypeMaskOfReservedClassName ( Name name ) : TypeRefMask |
Gets type mask for reserved class name (self, parent, static).
|
|
GetTypes ( TypeRefMask typemask, ulong bitmask ) : IList |
Gets enumeration of types matching given masks.
|
|
SetLateStaticBindType ( TypeRefMask staticTypeMask ) : void |
Explicitly defines late static bind type (type of
|
|
TypeRefContext ( SourceUnit sourceUnit, SourceTypeSymbol containingType ) : System | ||
UpdateMasks ( ITypeRef typeRef, int index ) : void |
Updates internal masks for newly added type.
|
public AddToContext ( |
||
context | Context of |
|
mask | TypeRefMask | Type mask representing types in |
return | TypeRefMask |
public AddToContext ( ITypeRef typeRef ) : int | ||
typeRef | ITypeRef | Type reference to be in the context. |
return | int |
public GetArrayTypeMask ( TypeRefMask elementType ) : TypeRefMask | ||
elementType | TypeRefMask | |
return | TypeRefMask |
public GetArraysFromMask ( TypeRefMask mask ) : TypeRefMask | ||
mask | TypeRefMask | |
return | TypeRefMask |
public GetElementType ( TypeRefMask mask ) : TypeRefMask | ||
mask | TypeRefMask | |
return | TypeRefMask |
public GetObjectTypes ( TypeRefMask mask ) : IList |
||
mask | TypeRefMask | |
return | IList |
public GetObjectsFromMask ( TypeRefMask mask ) : TypeRefMask | ||
mask | TypeRefMask | |
return | TypeRefMask |
public GetSystemObjectTypeMask ( ) : TypeRefMask | ||
return | TypeRefMask |
public GetTypeIndex ( ITypeRef typeref ) : int | ||
typeref | ITypeRef | |
return | int |
public GetTypeMask ( Devsense.PHP.Syntax.Ast tref, bool includesSubclasses = true ) : TypeRefMask | ||
tref | Devsense.PHP.Syntax.Ast | |
includesSubclasses | bool | |
return | TypeRefMask |
public GetTypeMask ( ITypeRef typeref, bool includesSubclasses ) : TypeRefMask | ||
typeref | ITypeRef | |
includesSubclasses | bool | |
return | TypeRefMask |
public GetTypeMask ( QualifiedName qname, bool includesSubclasses = true ) : TypeRefMask | ||
qname | QualifiedName | |
includesSubclasses | bool | |
return | TypeRefMask |
public GetWritableStringTypeMask ( ) : TypeRefMask | ||
return | TypeRefMask |
public IsNullable ( TypeRefMask mask ) : bool | ||
mask | TypeRefMask | |
return | bool |
public IsPrimitiveType ( TypeRefMask mask ) : bool | ||
mask | TypeRefMask | |
return | bool |
public IsReadonlyString ( TypeRefMask mask ) : bool | ||
mask | TypeRefMask | |
return | bool |
public IsWritableString ( TypeRefMask mask ) : bool | ||
mask | TypeRefMask | |
return | bool |
public ToString ( TypeRefMask mask ) : string | ||
mask | TypeRefMask | |
return | string |