PHP Class Pinq\Queries\Builders\ExpressionInterpreter

Author: Elliot Levin ([email protected])
Show file Open project: timetoogo/pinq Class Usage Examples

Protected Properties

Property Type Description
$evaluationContext Pinq\Expressions\IEvaluationContext | null
$idPrefix string

Public Methods

Method Description
__construct ( $idPrefix, Pinq\Expressions\IEvaluationContext $evaluationContext = null )

Protected Methods

Method Description
getArgumentAt ( $index, MethodCallExpression $methodExpression )
getArgumentValueAt ( $index, MethodCallExpression $methodExpression )
getFunction ( $id, Expression $expression )
getFunctionAt ( $name, $index, MethodCallExpression $expression )
getId ( $id )
getMethodName ( MethodCallExpression $methodExpression )
getOptionalArgumentAt ( $index, MethodCallExpression $methodExpression )
getOptionalArgumentValueAt ( $index, MethodCallExpression $methodExpression, $default = null )
getOptionalFunctionAt ( $name, $index, MethodCallExpression $expression )
getSourceMethodCall ( MethodCallExpression $methodExpression ) : MethodCallExpression
getValue ( Expression $expression )

Method Details

__construct() public method

public __construct ( $idPrefix, Pinq\Expressions\IEvaluationContext $evaluationContext = null )
$evaluationContext Pinq\Expressions\IEvaluationContext

getArgumentAt() final protected method

final protected getArgumentAt ( $index, MethodCallExpression $methodExpression )
$methodExpression Pinq\Expressions\MethodCallExpression

getArgumentValueAt() final protected method

final protected getArgumentValueAt ( $index, MethodCallExpression $methodExpression )
$methodExpression Pinq\Expressions\MethodCallExpression

getFunction() final protected method

final protected getFunction ( $id, Expression $expression )
$expression Pinq\Expressions\Expression

getFunctionAt() final protected method

final protected getFunctionAt ( $name, $index, MethodCallExpression $expression )
$expression Pinq\Expressions\MethodCallExpression

getId() final protected method

final protected getId ( $id )

getMethodName() final protected method

final protected getMethodName ( MethodCallExpression $methodExpression )
$methodExpression Pinq\Expressions\MethodCallExpression

getOptionalArgumentAt() final protected method

final protected getOptionalArgumentAt ( $index, MethodCallExpression $methodExpression )
$methodExpression Pinq\Expressions\MethodCallExpression

getOptionalArgumentValueAt() final protected method

final protected getOptionalArgumentValueAt ( $index, MethodCallExpression $methodExpression, $default = null )
$methodExpression Pinq\Expressions\MethodCallExpression

getOptionalFunctionAt() final protected method

final protected getOptionalFunctionAt ( $name, $index, MethodCallExpression $expression )
$expression Pinq\Expressions\MethodCallExpression

getSourceMethodCall() final protected method

final protected getSourceMethodCall ( MethodCallExpression $methodExpression ) : MethodCallExpression
$methodExpression Pinq\Expressions\MethodCallExpression
return Pinq\Expressions\MethodCallExpression

getValue() final protected method

final protected getValue ( Expression $expression )
$expression Pinq\Expressions\Expression

Property Details

$evaluationContext protected property

protected IEvaluationContext,Pinq\Expressions|null $evaluationContext
return Pinq\Expressions\IEvaluationContext | null

$idPrefix protected property

protected string $idPrefix
return string