PHP Class Pinq\Queries\Builders\ScopeInterpreter

Author: Elliot Levin ([email protected])
Inheritance: extends ExpressionInterpreter, implements Pinq\Queries\Builders\IScopeInterpreter
Afficher le fichier Open project: timetoogo/pinq

Protected Properties

Свойство Type Description
$interpretation Pinq\Queries\Builders\Interpretations\IScopeInterpretation
$segmentCallbacks callable[] Because the method expression are evaluated top-down, Query segments are interpreted in reverse order, so they are stored as callbacks and called in reverse order.
$segmentCounter integer
$segmentId string

Méthodes publiques

Méthode Description
__construct ( Pinq\Queries\Builders\Interpretations\IScopeInterpretation $interpretation, Pinq\Expressions\IEvaluationContext $evaluationContext = null, $idPrefix = 'scope' )
buildJoinOptionsInterpreter ( $segmentId )
buildSourceInterpreter ( $segmentId )
getInterpretation ( )
interpretScope ( Expression $expression )

Méthodes protégées

Méthode Description
addSegment ( callable $segmentCallback )
addSlice ( $start, $amount )
getSegmentId ( $parameter = null )
visit ( Expression $expression )
visitAppend ( MethodCallExpression $expression )
visitDifference ( MethodCallExpression $expression )
visitExcept ( MethodCallExpression $expression )
visitGroupBy ( MethodCallExpression $expression )
visitIndexBy ( MethodCallExpression $expression )
visitIntersect ( MethodCallExpression $expression )
visitKeys ( MethodCallExpression $expression )
visitOperation ( $operationType, MethodCallExpression $expression )
visitOrderBy ( MethodCallExpression $expression )
visitOrderByAscending ( MethodCallExpression $expression )
visitOrderByDescending ( MethodCallExpression $expression )
visitOrdering ( $count, MethodCallExpression $expression )
visitOrderings ( MethodCallExpression $expression )
visitReindex ( MethodCallExpression $expression )
visitSelect ( MethodCallExpression $expression )
visitSelectMany ( MethodCallExpression $expression )
visitSkip ( MethodCallExpression $expression )
visitSlice ( MethodCallExpression $expression )
visitTake ( MethodCallExpression $expression )
visitThenBy ( MethodCallExpression $expression )
visitThenByAscending ( MethodCallExpression $expression )
visitThenByDescending ( MethodCallExpression $expression )
visitTo ( MethodCallExpression $expression )
visitUnion ( MethodCallExpression $expression )
visitUnique ( MethodCallExpression $expression )
visitWhere ( MethodCallExpression $expression )
visitWhereIn ( MethodCallExpression $expression )

Method Details

__construct() public méthode

public __construct ( Pinq\Queries\Builders\Interpretations\IScopeInterpretation $interpretation, Pinq\Expressions\IEvaluationContext $evaluationContext = null, $idPrefix = 'scope' )
$interpretation Pinq\Queries\Builders\Interpretations\IScopeInterpretation
$evaluationContext Pinq\Expressions\IEvaluationContext

addSegment() final protected méthode

final protected addSegment ( callable $segmentCallback )
$segmentCallback callable

addSlice() final protected méthode

final protected addSlice ( $start, $amount )

buildJoinOptionsInterpreter() public méthode

public buildJoinOptionsInterpreter ( $segmentId )

buildSourceInterpreter() public méthode

public buildSourceInterpreter ( $segmentId )

getInterpretation() public méthode

public getInterpretation ( )

getSegmentId() final protected méthode

final protected getSegmentId ( $parameter = null )

interpretScope() public méthode

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

visit() final protected méthode

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

visitAppend() final protected méthode

final protected visitAppend ( MethodCallExpression $expression )
$expression Pinq\Expressions\MethodCallExpression

visitDifference() final protected méthode

final protected visitDifference ( MethodCallExpression $expression )
$expression Pinq\Expressions\MethodCallExpression

visitExcept() final protected méthode

final protected visitExcept ( MethodCallExpression $expression )
$expression Pinq\Expressions\MethodCallExpression

visitGroupBy() final protected méthode

final protected visitGroupBy ( MethodCallExpression $expression )
$expression Pinq\Expressions\MethodCallExpression

visitIndexBy() final protected méthode

final protected visitIndexBy ( MethodCallExpression $expression )
$expression Pinq\Expressions\MethodCallExpression

visitIntersect() final protected méthode

final protected visitIntersect ( MethodCallExpression $expression )
$expression Pinq\Expressions\MethodCallExpression

visitKeys() final protected méthode

final protected visitKeys ( MethodCallExpression $expression )
$expression Pinq\Expressions\MethodCallExpression

visitOperation() final protected méthode

final protected visitOperation ( $operationType, MethodCallExpression $expression )
$expression Pinq\Expressions\MethodCallExpression

visitOrderBy() final protected méthode

final protected visitOrderBy ( MethodCallExpression $expression )
$expression Pinq\Expressions\MethodCallExpression

visitOrderByAscending() final protected méthode

final protected visitOrderByAscending ( MethodCallExpression $expression )
$expression Pinq\Expressions\MethodCallExpression

visitOrderByDescending() final protected méthode

final protected visitOrderByDescending ( MethodCallExpression $expression )
$expression Pinq\Expressions\MethodCallExpression

visitOrdering() final protected méthode

final protected visitOrdering ( $count, MethodCallExpression $expression )
$expression Pinq\Expressions\MethodCallExpression

visitOrderings() final protected méthode

final protected visitOrderings ( MethodCallExpression $expression )
$expression Pinq\Expressions\MethodCallExpression

visitReindex() final protected méthode

final protected visitReindex ( MethodCallExpression $expression )
$expression Pinq\Expressions\MethodCallExpression

visitSelect() final protected méthode

final protected visitSelect ( MethodCallExpression $expression )
$expression Pinq\Expressions\MethodCallExpression

visitSelectMany() final protected méthode

final protected visitSelectMany ( MethodCallExpression $expression )
$expression Pinq\Expressions\MethodCallExpression

visitSkip() final protected méthode

final protected visitSkip ( MethodCallExpression $expression )
$expression Pinq\Expressions\MethodCallExpression

visitSlice() final protected méthode

final protected visitSlice ( MethodCallExpression $expression )
$expression Pinq\Expressions\MethodCallExpression

visitTake() final protected méthode

final protected visitTake ( MethodCallExpression $expression )
$expression Pinq\Expressions\MethodCallExpression

visitThenBy() final protected méthode

final protected visitThenBy ( MethodCallExpression $expression )
$expression Pinq\Expressions\MethodCallExpression

visitThenByAscending() final protected méthode

final protected visitThenByAscending ( MethodCallExpression $expression )
$expression Pinq\Expressions\MethodCallExpression

visitThenByDescending() final protected méthode

final protected visitThenByDescending ( MethodCallExpression $expression )
$expression Pinq\Expressions\MethodCallExpression

visitTo() final protected méthode

final protected visitTo ( MethodCallExpression $expression )
$expression Pinq\Expressions\MethodCallExpression

visitUnion() final protected méthode

final protected visitUnion ( MethodCallExpression $expression )
$expression Pinq\Expressions\MethodCallExpression

visitUnique() final protected méthode

final protected visitUnique ( MethodCallExpression $expression )
$expression Pinq\Expressions\MethodCallExpression

visitWhere() final protected méthode

final protected visitWhere ( MethodCallExpression $expression )
$expression Pinq\Expressions\MethodCallExpression

visitWhereIn() final protected méthode

final protected visitWhereIn ( MethodCallExpression $expression )
$expression Pinq\Expressions\MethodCallExpression

Property Details

$interpretation protected_oe property

protected IScopeInterpretation,Pinq\Queries\Builders\Interpretations $interpretation
Résultat Pinq\Queries\Builders\Interpretations\IScopeInterpretation

$segmentCallbacks protected_oe property

Because the method expression are evaluated top-down, Query segments are interpreted in reverse order, so they are stored as callbacks and called in reverse order.
protected callable[] $segmentCallbacks
Résultat callable[]

$segmentCounter protected_oe property

protected int $segmentCounter
Résultat integer

$segmentId protected_oe property

protected string $segmentId
Résultat string