PHP Class Pinq\Analysis\TypeAnalysis

Author: Elliot Levin ([email protected])
Inheritance: implements Pinq\Analysis\ITypeAnalysis
Show file Open project: timetoogo/pinq

Public Methods

Method Description
__construct ( Pinq\Analysis\ITypeSystem $typeSystem, Expression $expression, SplObjectStorage $analysis, SplObjectStorage $metadata )
getBinaryOperation ( BinaryOperationExpression $expression )
getCast ( CastExpression $expression )
getConstructor ( NewExpression $expression )
getExpression ( )
getField ( FieldExpression $expression )
getFunction ( FunctionCallExpression $expression )
getIndex ( IndexExpression $expression )
getInvocation ( InvocationExpression $expression )
getMethod ( MethodCallExpression $expression )
getReturnTypeOf ( Expression $expression )
getReturnedType ( )
getStaticField ( StaticFieldExpression $expression )
getStaticMethod ( StaticMethodCallExpression $expression )
getTypeSystem ( )
getUnaryOperation ( UnaryOperationExpression $expression )

Protected Methods

Method Description
getMetadata ( Expression $expression )

Method Details

__construct() public method

public __construct ( Pinq\Analysis\ITypeSystem $typeSystem, Expression $expression, SplObjectStorage $analysis, SplObjectStorage $metadata )
$typeSystem Pinq\Analysis\ITypeSystem
$expression Pinq\Expressions\Expression
$analysis SplObjectStorage
$metadata SplObjectStorage

getBinaryOperation() public method

public getBinaryOperation ( BinaryOperationExpression $expression )
$expression Pinq\Expressions\BinaryOperationExpression

getCast() public method

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

getConstructor() public method

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

getExpression() public method

public getExpression ( )

getField() public method

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

getFunction() public method

public getFunction ( FunctionCallExpression $expression )
$expression Pinq\Expressions\FunctionCallExpression

getIndex() public method

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

getInvocation() public method

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

getMetadata() protected method

protected getMetadata ( Expression $expression )
$expression Pinq\Expressions\Expression

getMethod() public method

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

getReturnTypeOf() public method

public getReturnTypeOf ( Expression $expression )
$expression Pinq\Expressions\Expression

getReturnedType() public method

public getReturnedType ( )

getStaticField() public method

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

getStaticMethod() public method

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

getTypeSystem() public method

public getTypeSystem ( )

getUnaryOperation() public method

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