PHP Class Pinq\Expressions\ValueExpression

Author: Elliot Levin ([email protected])
Inheritance: extends Expression
Exibir arquivo Open project: timetoogo/pinq Class Usage Examples

Public Methods

Method Description
__clone ( )
__construct ( $value )
asEvaluator ( Pinq\Expressions\IEvaluationContext $context = null )
evaluate ( Pinq\Expressions\IEvaluationContext $context = null )
getValue ( ) : mixed
isValueType ( mixed $value ) : boolean Returns whether the supplied value is a value type.
serialize ( )
simplify ( Pinq\Expressions\IEvaluationContext $context = null )
traverse ( ExpressionWalker $walker )
unserialize ( $serialized )
update ( mixed $value ) : self

Protected Methods

Method Description
compileCode ( &$code )

Method Details

__clone() public method

public __clone ( )

__construct() public method

public __construct ( $value )

asEvaluator() public method

public asEvaluator ( Pinq\Expressions\IEvaluationContext $context = null )
$context Pinq\Expressions\IEvaluationContext

compileCode() protected method

protected compileCode ( &$code )

evaluate() public method

public evaluate ( Pinq\Expressions\IEvaluationContext $context = null )
$context Pinq\Expressions\IEvaluationContext

getValue() public method

public getValue ( ) : mixed
return mixed

isValueType() public static method

Returns whether the supplied value is a value type.
public static isValueType ( mixed $value ) : boolean
$value mixed
return boolean

serialize() public method

public serialize ( )

simplify() public method

public simplify ( Pinq\Expressions\IEvaluationContext $context = null )
$context Pinq\Expressions\IEvaluationContext

traverse() public method

public traverse ( ExpressionWalker $walker )
$walker ExpressionWalker

unserialize() public method

public unserialize ( $serialized )

update() public method

public update ( mixed $value ) : self
$value mixed
return self