Метод | Описание | |
---|---|---|
getBinaryOperation ( Pinq\Analysis\IType $leftOperandType, string $operator, Pinq\Analysis\IType $rightOperandType ) : Pinq\Analysis\IBinaryOperation | Gets the binary operation matching the supplied types. | |
getCommonAncestorType ( Pinq\Analysis\IType $type, Pinq\Analysis\IType $otherType ) : Pinq\Analysis\IType | Gets of a common ancestor type of the supplied types. | |
getCompositeType ( array $types ) : Pinq\Analysis\IType | Gets a type composed of the supplied types. | |
getFunction ( string $name ) : Pinq\Analysis\IFunction | Gets the function with the supplied name. | |
getNativeType ( string $nativeType ) : Pinq\Analysis\INativeType | Gets the native type with the supplied int from the INativeType::TYPE_* constants. | |
getObjectType ( string $classType ) : Pinq\Analysis\IObjectType | Gets the object type with the supplied class name. | |
getType ( string $typeIdentifier ) : Pinq\Analysis\IType | Gets of the type with the supplied identifier. | |
getTypeFromTypeHint ( string | null $typeHint ) : Pinq\Analysis\IType | Gets of the type from the supplied parameter type hint. | |
getTypeFromValue ( mixed $value ) : Pinq\Analysis\IType | Gets of the type of the supplied value. |
public getBinaryOperation ( Pinq\Analysis\IType $leftOperandType, string $operator, Pinq\Analysis\IType $rightOperandType ) : Pinq\Analysis\IBinaryOperation | ||
$leftOperandType | Pinq\Analysis\IType | |
$operator | string | |
$rightOperandType | Pinq\Analysis\IType | |
Результат | Pinq\Analysis\IBinaryOperation |
public getCommonAncestorType ( Pinq\Analysis\IType $type, Pinq\Analysis\IType $otherType ) : Pinq\Analysis\IType | ||
$type | Pinq\Analysis\IType | |
$otherType | Pinq\Analysis\IType | |
Результат | Pinq\Analysis\IType |
public getCompositeType ( array $types ) : Pinq\Analysis\IType | ||
$types | array | |
Результат | Pinq\Analysis\IType |
public getFunction ( string $name ) : Pinq\Analysis\IFunction | ||
$name | string | |
Результат | Pinq\Analysis\IFunction |
public getNativeType ( string $nativeType ) : Pinq\Analysis\INativeType | ||
$nativeType | string | |
Результат | Pinq\Analysis\INativeType |
public getObjectType ( string $classType ) : Pinq\Analysis\IObjectType | ||
$classType | string | |
Результат | Pinq\Analysis\IObjectType |
public getTypeFromTypeHint ( string | null $typeHint ) : Pinq\Analysis\IType | ||
$typeHint | string | null | |
Результат | Pinq\Analysis\IType |
public getTypeFromValue ( mixed $value ) : Pinq\Analysis\IType | ||
$value | mixed | |
Результат | Pinq\Analysis\IType |