PHP Interface Pinq\Analysis\ITypeAnalysis

Author: Elliot Levin ([email protected])
Inheritance: extends Pinq\Analysis\ITyped
ファイルを表示 Open project: timetoogo/pinq Interface Usage Examples

Public Methods

Method Description
getBinaryOperation ( BinaryOperationExpression $expression ) : Pinq\Analysis\IBinaryOperation Gets the type data for the supplied binary operation.
getCast ( CastExpression $expression ) : Pinq\Analysis\ITypeOperation Gets the type data for the supplied unary cast operation.
getConstructor ( NewExpression $expression ) : Pinq\Analysis\IConstructor Gets the type data for the supplied new operation.
getExpression ( ) : Expression Gets the analysed expression tree.
getField ( FieldExpression $expression ) : Pinq\Analysis\IField Gets the type data for the supplied field expression.
getFunction ( FunctionCallExpression $expression ) : Pinq\Analysis\IFunction Gets the type data for the supplied function expression.
getIndex ( IndexExpression $expression ) : Pinq\Analysis\ITypeOperation Gets the type data for the supplied index expression.
getInvocation ( InvocationExpression $expression ) : Pinq\Analysis\ITypeOperation Gets the type data for the supplied invocation expression.
getMethod ( MethodCallExpression $expression ) : Pinq\Analysis\IMethod Gets the type data for the supplied method expression.
getReturnTypeOf ( Expression $expression ) : Pinq\Analysis\IType Gets the returned type of the supplied expression.
getReturnedType ( ) : Pinq\Analysis\IType Gets the returned type analysed expression.
getStaticField ( StaticFieldExpression $expression ) : Pinq\Analysis\IField Gets the type data for the supplied static field expression.
getStaticMethod ( StaticMethodCallExpression $expression ) : Pinq\Analysis\IMethod Gets the type data for the supplied static method expression.
getUnaryOperation ( UnaryOperationExpression $expression ) : Pinq\Analysis\ITypeOperation Gets the type data for the supplied unary operation operation.

Method Details

getBinaryOperation() public method

Gets the type data for the supplied binary operation.
public getBinaryOperation ( BinaryOperationExpression $expression ) : Pinq\Analysis\IBinaryOperation
$expression Pinq\Expressions\BinaryOperationExpression
return Pinq\Analysis\IBinaryOperation

getCast() public method

Gets the type data for the supplied unary cast operation.
public getCast ( CastExpression $expression ) : Pinq\Analysis\ITypeOperation
$expression Pinq\Expressions\CastExpression
return Pinq\Analysis\ITypeOperation

getConstructor() public method

Gets the type data for the supplied new operation.
public getConstructor ( NewExpression $expression ) : Pinq\Analysis\IConstructor
$expression Pinq\Expressions\NewExpression
return Pinq\Analysis\IConstructor

getExpression() public method

Gets the analysed expression tree.
public getExpression ( ) : Expression
return Pinq\Expressions\Expression

getField() public method

Gets the type data for the supplied field expression.
public getField ( FieldExpression $expression ) : Pinq\Analysis\IField
$expression Pinq\Expressions\FieldExpression
return Pinq\Analysis\IField

getFunction() public method

Gets the type data for the supplied function expression.
public getFunction ( FunctionCallExpression $expression ) : Pinq\Analysis\IFunction
$expression Pinq\Expressions\FunctionCallExpression
return Pinq\Analysis\IFunction

getIndex() public method

Gets the type data for the supplied index expression.
public getIndex ( IndexExpression $expression ) : Pinq\Analysis\ITypeOperation
$expression Pinq\Expressions\IndexExpression
return Pinq\Analysis\ITypeOperation

getInvocation() public method

Gets the type data for the supplied invocation expression.
public getInvocation ( InvocationExpression $expression ) : Pinq\Analysis\ITypeOperation
$expression Pinq\Expressions\InvocationExpression
return Pinq\Analysis\ITypeOperation

getMethod() public method

Gets the type data for the supplied method expression.
public getMethod ( MethodCallExpression $expression ) : Pinq\Analysis\IMethod
$expression Pinq\Expressions\MethodCallExpression
return Pinq\Analysis\IMethod

getReturnTypeOf() public method

Gets the returned type of the supplied expression.
public getReturnTypeOf ( Expression $expression ) : Pinq\Analysis\IType
$expression Pinq\Expressions\Expression
return Pinq\Analysis\IType

getReturnedType() public method

Gets the returned type analysed expression.
public getReturnedType ( ) : Pinq\Analysis\IType
return Pinq\Analysis\IType

getStaticField() public method

Gets the type data for the supplied static field expression.
public getStaticField ( StaticFieldExpression $expression ) : Pinq\Analysis\IField
$expression Pinq\Expressions\StaticFieldExpression
return Pinq\Analysis\IField

getStaticMethod() public method

Gets the type data for the supplied static method expression.
public getStaticMethod ( StaticMethodCallExpression $expression ) : Pinq\Analysis\IMethod
$expression Pinq\Expressions\StaticMethodCallExpression
return Pinq\Analysis\IMethod

getUnaryOperation() public method

Gets the type data for the supplied unary operation operation.
public getUnaryOperation ( UnaryOperationExpression $expression ) : Pinq\Analysis\ITypeOperation
$expression Pinq\Expressions\UnaryOperationExpression
return Pinq\Analysis\ITypeOperation