Свойство | Type | Description | |
---|---|---|---|
$classTypeMap | array[] | ||
$functionTypeMap | string[] | ||
$typeDataModules | Pinq\Analysis\TypeData\ITypeDataModule[] |
Méthode | Description | |
---|---|---|
__construct ( array $customTypeDataModules = [] ) | ||
getCommonAncestorType ( Pinq\Analysis\IType $type, Pinq\Analysis\IType $otherType ) | ||
getTypeDataModules ( ) : Pinq\Analysis\TypeData\ITypeDataModule[] | Gets the type data modules from the type system. | |
getTypeFromTypeHint ( $typeHint ) | ||
getTypeFromValue ( $value ) | ||
registerTypeDataModule ( Pinq\Analysis\TypeData\ITypeDataModule $module ) : void | Adds the type data module to the type system. |
Méthode | Description | |
---|---|---|
binaryOperations ( ) | ||
bitwiseOperators ( $operator ) | ||
booleanOperator ( $operator ) | ||
buildCompositeType ( $typeId, array $types ) | ||
buildFunction ( $name ) | ||
buildObjectType ( $typeId, $classType ) | ||
commonNativeUnaryOperations ( ) | ||
getAncestorTypes ( Pinq\Analysis\IType $type ) | ||
getObjectTypeData ( $classType ) | ||
mathOperators ( $operator, $otherIntReturnType = INativeType::TYPE_INT ) | ||
nativeCasts ( ) | ||
nativeType ( $typeOfType, Pinq\Analysis\IType $parentType, Pinq\Analysis\IIndexer $indexer = null, array $unaryOperatorMap = [], array $castMap = [] ) | ||
nativeTypes ( ) | ||
normalizeClassName ( $name ) | such as 'money_format' which will fail with reflection if not available. | |
normalizeFunctionName ( $name ) | ||
objectCasts ( $objectTypeId ) | ||
objectUnaryOperations ( $objectTypeId ) | ||
typeDataModules ( ) : Pinq\Analysis\TypeData\ITypeDataModule[] |
public __construct ( array $customTypeDataModules = [] ) | ||
$customTypeDataModules | array |
protected buildCompositeType ( $typeId, array $types ) | ||
$types | array |
protected getAncestorTypes ( Pinq\Analysis\IType $type ) | ||
$type | Pinq\Analysis\IType |
public getCommonAncestorType ( Pinq\Analysis\IType $type, Pinq\Analysis\IType $otherType ) | ||
$type | Pinq\Analysis\IType | |
$otherType | Pinq\Analysis\IType |
public getTypeDataModules ( ) : Pinq\Analysis\TypeData\ITypeDataModule[] | ||
Résultat | Pinq\Analysis\TypeData\ITypeDataModule[] |
protected mathOperators ( $operator, $otherIntReturnType = INativeType::TYPE_INT ) |
protected nativeType ( $typeOfType, Pinq\Analysis\IType $parentType, Pinq\Analysis\IIndexer $indexer = null, array $unaryOperatorMap = [], array $castMap = [] ) | ||
$parentType | Pinq\Analysis\IType | |
$indexer | Pinq\Analysis\IIndexer | |
$unaryOperatorMap | array | |
$castMap | array |
protected normalizeClassName ( $name ) |
public registerTypeDataModule ( Pinq\Analysis\TypeData\ITypeDataModule $module ) : void | ||
$module | Pinq\Analysis\TypeData\ITypeDataModule | |
Résultat | void |
protected typeDataModules ( ) : Pinq\Analysis\TypeData\ITypeDataModule[] | ||
Résultat | Pinq\Analysis\TypeData\ITypeDataModule[] |