PHP Class Pinq\Expressions\ClosureExpression

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

Public Methods

Method Description
__clone ( )
__construct ( $returnsReference, $isStatic, array $parameterExpressions, array $usedVariables, array $bodyExpressions )
getBodyExpressions ( ) : Expression[]
getParameters ( ) : ParameterExpression[]
getUsedVariableNames ( ) : string[]
getUsedVariables ( ) : ClosureUsedVariableExpression[]
isStatic ( ) : boolean
returnsReference ( ) : boolean
serialize ( )
traverse ( ExpressionWalker $walker )
unserialize ( $serialized )
update ( boolean $returnsReference, boolean $isStatic, array $parameterExpressions, array $usedVariables, array $bodyExpressions ) : self

Protected Methods

Method Description
compileCode ( &$code )

Method Details

__clone() public method

public __clone ( )

__construct() public method

public __construct ( $returnsReference, $isStatic, array $parameterExpressions, array $usedVariables, array $bodyExpressions )
$parameterExpressions array
$usedVariables array
$bodyExpressions array

compileCode() protected method

protected compileCode ( &$code )

getBodyExpressions() public method

public getBodyExpressions ( ) : Expression[]
return Expression[]

getParameters() public method

public getParameters ( ) : ParameterExpression[]
return ParameterExpression[]

getUsedVariableNames() public method

public getUsedVariableNames ( ) : string[]
return string[]

getUsedVariables() public method

public getUsedVariables ( ) : ClosureUsedVariableExpression[]
return ClosureUsedVariableExpression[]

isStatic() public method

public isStatic ( ) : boolean
return boolean

returnsReference() public method

public returnsReference ( ) : boolean
return boolean

serialize() public method

public serialize ( )

traverse() public method

public traverse ( ExpressionWalker $walker )
$walker ExpressionWalker

unserialize() public method

public unserialize ( $serialized )

update() public method

public update ( boolean $returnsReference, boolean $isStatic, array $parameterExpressions, array $usedVariables, array $bodyExpressions ) : self
$returnsReference boolean
$isStatic boolean
$parameterExpressions array
$usedVariables array
$bodyExpressions array
return self