PHP Class Pinq\Analysis\Types\Type

Author: Elliot Levin ([email protected])
Inheritance: implements Pinq\Analysis\IType
Mostra file Open project: timetoogo/pinq Class Usage Examples

Protected Properties

Property Type Description
$castOperations Pinq\Analysis\ITypeOperation[]
$identifier string
$indexer Pinq\Analysis\ITypeOperation | null
$parentType Pinq\Analysis\IType
$unaryOperations Pinq\Analysis\ITypeOperation[]

Public Methods

Method Description
__construct ( string $identifier, Pinq\Analysis\IType $parentType = null, Pinq\Analysis\ITypeOperation $indexer = null, array $castOperations = [], array $unaryOperations = [] )
getCast ( CastExpression $expression )
getConstructor ( NewExpression $expression )
getField ( FieldExpression $expression )
getIdentifier ( )
getIndex ( IndexExpression $expression )
getInvocation ( InvocationExpression $expression )
getMethod ( MethodCallExpression $expression )
getParentType ( )
getStaticField ( StaticFieldExpression $expression )
getStaticMethod ( StaticMethodCallExpression $expression )
getUnaryOperation ( UnaryOperationExpression $expression )
hasParentType ( )
isEqualTo ( Pinq\Analysis\IType $type )

Method Details

__construct() public method

public __construct ( string $identifier, Pinq\Analysis\IType $parentType = null, Pinq\Analysis\ITypeOperation $indexer = null, array $castOperations = [], array $unaryOperations = [] )
$identifier string
$parentType Pinq\Analysis\IType
$indexer Pinq\Analysis\ITypeOperation
$castOperations array
$unaryOperations array

getCast() public method

public getCast ( CastExpression $expression )
$expression Pinq\Expressions\CastExpression

getConstructor() public method

public getConstructor ( NewExpression $expression )
$expression Pinq\Expressions\NewExpression

getField() public method

public getField ( FieldExpression $expression )
$expression Pinq\Expressions\FieldExpression

getIdentifier() public method

public getIdentifier ( )

getIndex() public method

public getIndex ( IndexExpression $expression )
$expression Pinq\Expressions\IndexExpression

getInvocation() public method

public getInvocation ( InvocationExpression $expression )
$expression Pinq\Expressions\InvocationExpression

getMethod() public method

public getMethod ( MethodCallExpression $expression )
$expression Pinq\Expressions\MethodCallExpression

getParentType() public method

public getParentType ( )

getStaticField() public method

public getStaticField ( StaticFieldExpression $expression )
$expression Pinq\Expressions\StaticFieldExpression

getStaticMethod() public method

public getStaticMethod ( StaticMethodCallExpression $expression )
$expression Pinq\Expressions\StaticMethodCallExpression

getUnaryOperation() public method

public getUnaryOperation ( UnaryOperationExpression $expression )
$expression Pinq\Expressions\UnaryOperationExpression

hasParentType() public method

public hasParentType ( )

isEqualTo() public method

public isEqualTo ( Pinq\Analysis\IType $type )
$type Pinq\Analysis\IType

Property Details

$castOperations protected_oe property

protected ITypeOperation[],Pinq\Analysis $castOperations
return Pinq\Analysis\ITypeOperation[]

$identifier protected_oe property

protected string $identifier
return string

$indexer protected_oe property

protected ITypeOperation,Pinq\Analysis|null $indexer
return Pinq\Analysis\ITypeOperation | null

$parentType protected_oe property

protected IType,Pinq\Analysis $parentType
return Pinq\Analysis\IType

$unaryOperations protected_oe property

protected ITypeOperation[],Pinq\Analysis $unaryOperations
return Pinq\Analysis\ITypeOperation[]