Property | Type | Description | |
---|---|---|---|
$binaryOperations | Pinq\Analysis\IBinaryOperation[] | ||
$compositeTypes | Pinq\Analysis\ICompositeType[] | ||
$customTypes | Pinq\Analysis\IType[] | ||
$functions | Pinq\Analysis\IFunction[] | ||
$nativeTypes | Pinq\Analysis\INativeType[] | ||
$objectTypes | Pinq\Analysis\IObjectType[] |
Method | Description | |
---|---|---|
__construct ( ) | ||
getBinaryOperation ( Pinq\Analysis\IType $leftOperandType, $operator, Pinq\Analysis\IType $rightOperandType ) | ||
getCompositeType ( array $types ) | ||
getFunction ( $name ) | ||
getNativeType ( $nativeType ) | ||
getObjectType ( $classType ) | ||
getType ( $typeIdentifier ) |
Method | Description | |
---|---|---|
binaryOperations ( ) : array[] | ||
buildBinaryOperations ( ) : Pinq\Analysis\IBinaryOperation[] | ||
buildCompositeType ( string $typeId, array $types ) : Pinq\Analysis\ICompositeType | ||
buildFunction ( string $name ) : Pinq\Analysis\IFunction | ||
buildNativeTypes ( ) : Pinq\Analysis\INativeType[] | ||
buildObjectType ( string $typeId, string $classType ) : Pinq\Analysis\IObjectType | ||
buildTypeOperations ( $type, array $operatorTypeMap = [] ) | ||
flattenComposedTypes ( array $types ) : Pinq\Analysis\IType[] | Flattens all the composed types. | |
nativeTypes ( ) : Pinq\Analysis\INativeType[] | ||
normalizeClassName ( string $name ) : string | Performs all necessary normalization to the class name. | |
normalizeFunctionName ( string $name ) : string | Performs all necessary normalization the function name. |
abstract protected binaryOperations ( ) : array[] | ||
return | array[] |
protected buildBinaryOperations ( ) : Pinq\Analysis\IBinaryOperation[] | ||
return | Pinq\Analysis\IBinaryOperation[] |
abstract protected buildCompositeType ( string $typeId, array $types ) : Pinq\Analysis\ICompositeType | ||
$typeId | string | |
$types | array | |
return | Pinq\Analysis\ICompositeType |
abstract protected buildFunction ( string $name ) : Pinq\Analysis\IFunction | ||
$name | string | |
return | Pinq\Analysis\IFunction |
protected buildNativeTypes ( ) : Pinq\Analysis\INativeType[] | ||
return | Pinq\Analysis\INativeType[] |
abstract protected buildObjectType ( string $typeId, string $classType ) : Pinq\Analysis\IObjectType | ||
$typeId | string | |
$classType | string | |
return | Pinq\Analysis\IObjectType |
protected buildTypeOperations ( $type, array $operatorTypeMap = [] ) | ||
$operatorTypeMap | array |
protected flattenComposedTypes ( array $types ) : Pinq\Analysis\IType[] | ||
$types | array | |
return | Pinq\Analysis\IType[] |
public getBinaryOperation ( Pinq\Analysis\IType $leftOperandType, $operator, Pinq\Analysis\IType $rightOperandType ) | ||
$leftOperandType | Pinq\Analysis\IType | |
$rightOperandType | Pinq\Analysis\IType |
abstract protected nativeTypes ( ) : Pinq\Analysis\INativeType[] | ||
return | Pinq\Analysis\INativeType[] |
protected normalizeClassName ( string $name ) : string | ||
$name | string | |
return | string |
protected normalizeFunctionName ( string $name ) : string | ||
$name | string | |
return | string |
protected IBinaryOperation[],Pinq\Analysis $binaryOperations | ||
return | Pinq\Analysis\IBinaryOperation[] |
protected ICompositeType[],Pinq\Analysis $compositeTypes | ||
return | Pinq\Analysis\ICompositeType[] |
protected IType[],Pinq\Analysis $customTypes | ||
return | Pinq\Analysis\IType[] |
protected IFunction[],Pinq\Analysis $functions | ||
return | Pinq\Analysis\IFunction[] |
protected INativeType[],Pinq\Analysis $nativeTypes | ||
return | Pinq\Analysis\INativeType[] |