Méthode |
Description |
|
getCast ( CastExpression $expression ) : Pinq\Analysis\ITypeOperation | Pinq\Analysis\IMethod |
Gets the matched unary operator from the supplied expression. |
|
getConstructor ( NewExpression $expression ) : Pinq\Analysis\IConstructor |
Gets the supplied expression matches the type's constructor. |
|
getField ( FieldExpression $expression ) : Pinq\Analysis\IField |
Gets the matched field of the supplied expression. |
|
getIdentifier ( ) : string |
Gets a unique string representation of the type. |
|
getIndex ( IndexExpression $expression ) : Pinq\Analysis\ITypeOperation |
Get the supplied index expression matches the type. |
|
getInvocation ( InvocationExpression $expression ) : Pinq\Analysis\ITypeOperation | Pinq\Analysis\IMethod |
Gets the invocation expression matches the type. |
|
getMethod ( MethodCallExpression $expression ) : Pinq\Analysis\IMethod |
Gets the matched method of the supplied expression. |
|
getParentType ( ) : Pinq\Analysis\IType | null |
Gets the parent type or null if their is no parent. |
|
getStaticField ( StaticFieldExpression $expression ) : Pinq\Analysis\IField |
Gets the matched field of the supplied expression. |
|
getStaticMethod ( StaticMethodCallExpression $expression ) : Pinq\Analysis\IMethod |
Gets the matched method of the supplied expression. |
|
getUnaryOperation ( UnaryOperationExpression $expression ) : Pinq\Analysis\ITypeOperation | Pinq\Analysis\IMethod |
Gets the matched unary operator from the supplied expression. |
|
hasParentType ( ) : boolean |
Whether the type has a parent type. |
|
isEqualTo ( Pinq\Analysis\IType $type ) : boolean |
Whether the supplied type is equivalent to the current type. |
|
isParentTypeOf ( Pinq\Analysis\IType $type ) : boolean |
Whether the supplied type is a subtype of or equal to the current type. |
|