PHP 클래스 Zephir\Statements\Let\Variable

Assign a value to a variable
파일 보기 프로젝트 열기: phalcon/zephir 1 사용 예제들

공개 메소드들

메소드 설명
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