PHP Class Pinq\Expressions\ParameterExpression

Author: Elliot Levin ([email protected])
Inheritance: extends NamedParameterExpression
Mostrar archivo Open project: timetoogo/pinq Class Usage Examples

Public Methods

Method Description
__clone ( )
__construct ( $name, $typeHint = null, Expression $defaultValue = null, $isPassedByReference = false, $isVariadic = false )
asEvaluator ( Pinq\Expressions\IEvaluationContext $context = null )
getDefaultValue ( ) : Expression | null
getTypeHint ( ) : string | null
hasDefaultValue ( ) : boolean
hasTypeHint ( ) : boolean
isPassedByReference ( ) : boolean
isVariadic ( )
serialize ( )
simplify ( Pinq\Expressions\IEvaluationContext $context = null )
traverse ( ExpressionWalker $walker )
unserialize ( $serialized )
update ( string $name, string | null $typeHint, Expression $defaultValue = null, boolean $isPassedByReference, boolean $isVariadic ) : self

Protected Methods

Method Description
compileCode ( &$code )

Method Details

__clone() public method

public __clone ( )

__construct() public method

public __construct ( $name, $typeHint = null, Expression $defaultValue = null, $isPassedByReference = false, $isVariadic = false )
$defaultValue Expression

asEvaluator() public method

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

compileCode() protected method

protected compileCode ( &$code )

getDefaultValue() public method

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

getTypeHint() public method

public getTypeHint ( ) : string | null
return string | null

hasDefaultValue() public method

public hasDefaultValue ( ) : boolean
return boolean

hasTypeHint() public method

public hasTypeHint ( ) : boolean
return boolean

isPassedByReference() public method

public isPassedByReference ( ) : boolean
return boolean

isVariadic() public method

public isVariadic ( )

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 ( string $name, string | null $typeHint, Expression $defaultValue = null, boolean $isPassedByReference, boolean $isVariadic ) : self
$name string
$typeHint string | null
$defaultValue Expression
$isPassedByReference boolean
$isVariadic boolean
return self