PHP Класс Zephir\Statements\Let\Variable

Assign a value to a variable
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
assign ( string $variable, Variable $symbolVariable, Zephir\CompiledExpression $resolvedExpr, Zephir\Detectors\ReadDetector $readDetector, Zephir\CompilationContext $compilationContext, array $statement ) Compiles foo = {expr} Changes the value of a mutable variable

Приватные методы

Метод Описание
doArrayAssignment ( $codePrinter, $resolvedExpr, $symbolVariable, $variable, $statement, $compilationContext )
doBoolAssignment ( $codePrinter, $resolvedExpr, $symbolVariable, $variable, $statement, $compilationContext )
doDoubleAssignment ( $codePrinter, $resolvedExpr, $symbolVariable, $variable, $statement, $compilationContext )
doNumericAssignment ( $codePrinter, $resolvedExpr, $symbolVariable, $variable, $statement, $compilationContext )
doStringAssignment ( $codePrinter, $resolvedExpr, $symbolVariable, $variable, $statement, $compilationContext )
doVariableAssignment ( $codePrinter, $resolvedExpr, $symbolVariable, $variable, $statement, $compilationContext, $readDetector )

Описание методов

assign() публичный Метод

Compiles foo = {expr} Changes the value of a mutable variable
public assign ( string $variable, Variable $symbolVariable, Zephir\CompiledExpression $resolvedExpr, Zephir\Detectors\ReadDetector $readDetector, Zephir\CompilationContext $compilationContext, array $statement )
$variable string
$symbolVariable Zephir\Variable
$resolvedExpr Zephir\CompiledExpression
$readDetector Zephir\Detectors\ReadDetector
$compilationContext Zephir\CompilationContext
$statement array