PHP Class Pinq\Analysis\Types\Type

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

Protected Properties

Свойство Type Description
$castOperations Pinq\Analysis\ITypeOperation[]
$identifier string
$indexer Pinq\Analysis\ITypeOperation | null
$parentType Pinq\Analysis\IType
$unaryOperations Pinq\Analysis\ITypeOperation[]

Méthodes publiques

Méthode 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 méthode

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 méthode

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

getConstructor() public méthode

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

getField() public méthode

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

getIdentifier() public méthode

public getIdentifier ( )

getIndex() public méthode

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

getInvocation() public méthode

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

getMethod() public méthode

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

getParentType() public méthode

public getParentType ( )

getStaticField() public méthode

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

getStaticMethod() public méthode

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

getUnaryOperation() public méthode

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

hasParentType() public méthode

public hasParentType ( )

isEqualTo() public méthode

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

Property Details

$castOperations protected_oe property

protected ITypeOperation[],Pinq\Analysis $castOperations
Résultat Pinq\Analysis\ITypeOperation[]

$identifier protected_oe property

protected string $identifier
Résultat string

$indexer protected_oe property

protected ITypeOperation,Pinq\Analysis|null $indexer
Résultat Pinq\Analysis\ITypeOperation | null

$parentType protected_oe property

protected IType,Pinq\Analysis $parentType
Résultat Pinq\Analysis\IType

$unaryOperations protected_oe property

protected ITypeOperation[],Pinq\Analysis $unaryOperations
Résultat Pinq\Analysis\ITypeOperation[]