PHP Class Pinq\Expressions\ReturnExpression

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

Public Methods

Method Description
__clone ( )
__construct ( Expression $value = null )
asEvaluator ( Pinq\Expressions\IEvaluationContext $context = null )
getValue ( ) : Expression | null
hasValue ( ) : boolean
serialize ( )
simplify ( Pinq\Expressions\IEvaluationContext $context = null )
traverse ( ExpressionWalker $walker )
unserialize ( $serialized )
update ( Expression $value = null ) : self

Protected Methods

Method Description
compileCode ( &$code )

Method Details

__clone() public method

public __clone ( )

__construct() public method

public __construct ( Expression $value = null )
$value Expression

asEvaluator() public method

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

compileCode() protected method

protected compileCode ( &$code )

getValue() public method

public getValue ( ) : Expression | null
return Expression | null

hasValue() public method

public hasValue ( ) : boolean
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 ( Expression $value = null ) : self
$value Expression
return self