PHP Class Pinq\Expressions\IndexExpression

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

Public Methods

Method Description
__clone ( )
__construct ( Expression $value, Expression $index = null )
dataToSerialize ( )
getIndex ( ) : Expression | null
hasIndex ( ) : boolean
traverse ( ExpressionWalker $walker )
unserializeData ( $data )
update ( Expression $value, Expression $index = null ) : self

Protected Methods

Method Description
compileCode ( &$code )
updateValueExpression ( Expression $value )

Method Details

__clone() public method

public __clone ( )

__construct() public method

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

compileCode() protected method

protected compileCode ( &$code )

dataToSerialize() public method

public dataToSerialize ( )

getIndex() public method

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

hasIndex() public method

public hasIndex ( ) : boolean
return boolean

traverse() public method

public traverse ( ExpressionWalker $walker )
$walker ExpressionWalker

unserializeData() public method

public unserializeData ( $data )

update() public method

public update ( Expression $value, Expression $index = null ) : self
$value Expression
$index Expression
return self

updateValueExpression() protected method

protected updateValueExpression ( Expression $value )
$value Expression