PHP Interface Pinq\Analysis\IBinaryOperation

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

Public Methods

Method Description
getLeftOperandType ( ) : Pinq\Analysis\IType Gets the type of the left operand.
getOperator ( ) : string Gets the operator of the binary operation.
getReturnType ( ) : Pinq\Analysis\IType Gets the returned type of the binary operation.
getRightOperandType ( ) : Pinq\Analysis\IType Gets the type of the right operand.

Method Details

getLeftOperandType() public method

Gets the type of the left operand.
public getLeftOperandType ( ) : Pinq\Analysis\IType
return Pinq\Analysis\IType

getOperator() public method

Gets the operator of the binary operation.
public getOperator ( ) : string
return string The binary operator from the Expressions\Operators\Binary::* constants

getReturnType() public method

Gets the returned type of the binary operation.
public getReturnType ( ) : Pinq\Analysis\IType
return Pinq\Analysis\IType

getRightOperandType() public method

Gets the type of the right operand.
public getRightOperandType ( ) : Pinq\Analysis\IType
return Pinq\Analysis\IType