PHP Class Pinq\Expressions\Evaluator

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

Protected Properties

Property Type Description
$context Pinq\Expressions\IEvaluationContext
$requiredVariables string[]

Public Methods

Method Description
evaluate ( array $variableTable = null )
evaluateWithNewThis ( $thisObject, array $variableTable = null )
getContext ( )
getRequiredVariables ( )

Protected Methods

Method Description
__construct ( Pinq\Expressions\IEvaluationContext $context = null )
doEvaluation ( array $variableTable )
doEvaluationWithNewThis ( array $variableTable, $newThis )
getVariableTable ( array $customVariableTable = null )

Method Details

__construct() protected method

protected __construct ( Pinq\Expressions\IEvaluationContext $context = null )
$context Pinq\Expressions\IEvaluationContext

doEvaluation() abstract protected method

abstract protected doEvaluation ( array $variableTable )
$variableTable array

doEvaluationWithNewThis() abstract protected method

abstract protected doEvaluationWithNewThis ( array $variableTable, $newThis )
$variableTable array

evaluate() public method

public evaluate ( array $variableTable = null )
$variableTable array

evaluateWithNewThis() public method

public evaluateWithNewThis ( $thisObject, array $variableTable = null )
$variableTable array

getContext() final public method

final public getContext ( )

getRequiredVariables() final public method

final public getRequiredVariables ( )

getVariableTable() protected method

protected getVariableTable ( array $customVariableTable = null )
$customVariableTable array

Property Details

$context protected property

protected IEvaluationContext,Pinq\Expressions $context
return Pinq\Expressions\IEvaluationContext

$requiredVariables protected property

protected string[] $requiredVariables
return string[]