Method | Description | |
---|---|---|
assign ( string $variable, |
Compiles foo[y] = {expr} |
Method | Description | |
---|---|---|
_assignArrayIndexMultiple ( string $variable, |
Compiles foo[y][x] = {expr} (multiple offset) | |
_assignArrayIndexSingle ( string $variable, |
Compiles foo[y] = {expr} (one offset) | |
_getResolvedArrayItem ( Zephir\CompiledExpression $resolvedExpr, Zephir\CompilationContext $compilationContext ) : Zephir\GlobalConstant | |
Resolves an item that will be assigned to an array offset |
protected _assignArrayIndexMultiple ( string $variable, |
||
$variable | string | |
$symbolVariable | ||
$resolvedExpr | Zephir\CompiledExpression | |
$compilationContext | Zephir\CompilationContext | |
$statement | array |
protected _assignArrayIndexSingle ( string $variable, |
||
$variable | string | |
$symbolVariable | ||
$resolvedExpr | Zephir\CompiledExpression | |
$compilationContext | Zephir\CompilationContext | |
$statement | array |
protected _getResolvedArrayItem ( Zephir\CompiledExpression $resolvedExpr, Zephir\CompilationContext $compilationContext ) : Zephir\GlobalConstant | |
||
$resolvedExpr | Zephir\CompiledExpression | |
$compilationContext | Zephir\CompilationContext | |
return | Zephir\GlobalConstant | |
public assign ( string $variable, |
||
$variable | string | |
$symbolVariable | ||
$resolvedExpr | Zephir\CompiledExpression | |
$compilationContext | Zephir\CompilationContext | |
$statement | array |