메소드 |
설명 |
|
__clone ( ) |
|
|
__toString ( ) |
|
|
allOfType ( array $expressions, string $type, boolean $allowNull = false ) : boolean |
Returns whether the expressions are all of the supplied type. |
|
argument ( Expression $value, boolean $isUnpacked = false ) : ArgumentExpression |
|
|
arrayExpression ( array $items ) : ArrayExpression |
|
|
arrayItem ( Expression $key = null, Expression $value, boolean $isReference = false ) : ArrayItemExpression |
|
|
asEvaluator ( Pinq\Expressions\IEvaluationContext $context = null ) : Pinq\Expressions\IEvaluator |
Creates an expression evaluator for the expression with
the supplied context. |
|
assign ( Expression $assignToValue, string $assignmentOperator, Expression $assignmentValue ) : AssignmentExpression |
|
|
binaryOperation ( Expression $leftOperand, string $operator, Expression $rightOperand ) : BinaryOperationExpression |
|
|
cast ( string $castType, Expression $castValue ) : CastExpression |
|
|
classConstant ( Expression $class, string $name ) : ClassConstantExpression |
|
|
cloneAll ( array $expressions ) : Expression | null[] |
|
|
closure ( boolean $returnsReference, boolean $isStatic, array $parameterExpressions, array $usedVariables, array $bodyExpressions ) : ClosureExpression |
|
|
closureUsedVariable ( string $name, boolean $isReference = false ) : ClosureUsedVariableExpression |
|
|
compile ( ) : string |
Compiles the expression tree into equivalent PHP code. |
|
compileAll ( array $expressions ) : string[] |
Compiles into equivalent PHP code |
|
compileDebug ( ) : string |
Compiles the expression tree into debug code. |
|
constant ( string $name ) : ConstantExpression |
|
|
emptyExpression ( Expression $value ) : EmptyExpression |
|
|
equals ( Expression $expression ) : boolean |
Returns whether the expression is equivalent to the supplied expression. |
|
evaluate ( Pinq\Expressions\IEvaluationContext $context = null ) : mixed |
Evaluates the expression tree in the supplied context
and returns the resulting value. |
|
field ( Expression $value, Expression $name ) : FieldExpression |
|
|
functionCall ( Expression $name, array $arguments = [] ) : FunctionCallExpression |
|
|
getExpressionTypeName ( ) : string |
Gets a string representing the name of the expression. |
|
getType ( ) : string |
Gets the class name as a string. |
|
hash ( ) : string |
Returns a value hash for the expression. |
|
hashAll ( array $expressions ) : string |
Returns a value hash for the supplied expressions. |
|
index ( Expression $value, Expression $index = null ) : IndexExpression |
|
|
invocation ( Expression $valueExpression, array $arguments = [] ) : InvocationExpression |
|
|
issetExpression ( array $values ) : IssetExpression |
|
|
methodCall ( Expression $value, Expression $name, array $arguments = [] ) : MethodCallExpression |
|
|
newExpression ( Expression $classType, array $arguments = [] ) : NewExpression |
|
|
parameter ( string $name, string | null $typeHint = null, Expression $defaultValue = null, boolean $isPassedByReference = false, boolean $isVariadic = false ) : ParameterExpression |
|
|
returnExpression ( Expression $value = null ) : ReturnExpression |
|
|
simplify ( Pinq\Expressions\IEvaluationContext $context = null ) : Expression |
Simplifies the expression tree in the supplied context. |
|
simplifyAll ( array $expressions, Pinq\Expressions\IEvaluationContext $context = null ) : Expression[] |
|
|
staticField ( Expression $class, Expression $name ) : StaticFieldExpression |
|
|
staticMethodCall ( Expression $class, Expression $name, array $arguments = [] ) : StaticMethodCallExpression |
|
|
ternary ( Expression $condition, Expression $ifTrue = null, Expression $ifFalse ) : TernaryExpression |
|
|
throwExpression ( Expression $exception ) : ThrowExpression |
|
|
traverse ( ExpressionWalker $walker ) : Expression |
|
|
unaryOperation ( string $unaryOperator, Expression $operand ) : UnaryOperationExpression |
|
|
unsetExpression ( array $values ) : UnsetExpression |
|
|
value ( mixed $value ) : ValueExpression |
|
|
variable ( Expression $name ) : VariableExpression |
|
|