PHP 클래스 Zephir\Backends\ZendEngine3\Backend

상속: extends Zephir\Backends\ZendEngine2\Backend
파일 보기 프로젝트 열기: phalcon/zephir

보호된 프로퍼티들

프로퍼티 타입 설명
$name

공개 메소드들

메소드 설명
addArrayEntry ( Variable $variable, $key, $value, Zephir\CompilationContext $context, $statement = null, $useCodePrinter = true )
arrayIsset ( Variable $var, $resolvedExpr, $expression, Zephir\CompilationContext $context )
arrayIssetFetch ( Variable $target, Variable $var, $resolvedExpr, $flags, $expression, Zephir\CompilationContext $context )
arrayUnset ( Variable $variable, $exprIndex, $flags, Zephir\CompilationContext $context )
assignString ( Variable $variable, $value, Zephir\CompilationContext $context, $useCodePrinter = true, $doCopy = null ) * Assign value to variable
assignZval ( Variable $variable, string $code, Zephir\CompilationContext $context ) Assigns a zval to another
callMethod ( $symbolVariable, Variable $variable, $methodName, $cachePointer, $params, Zephir\CompilationContext $context )
copyOnWrite ( Variable $target, $var, Zephir\CompilationContext $context )
createClosure ( Variable $variable, $classDefinition, Zephir\CompilationContext $context )
declareConstant ( $type, $name, $value, Zephir\CompilationContext $context )
destroyIterator ( Variable $iteratorVariable, Zephir\CompilationContext $context )
fetchClass ( Variable $zendClassEntry, $className, $guarded, Zephir\CompilationContext $context )
fetchClassEntry ( $str )
fetchGlobal ( Variable $globalVar, Zephir\CompilationContext $compilationContext, $useCodePrinter = true )
fetchProperty ( Variable $symbolVariable, Variable $variableVariable, $property, $readOnly, Zephir\CompilationContext $context, $useOptimized = false )
fetchStaticProperty ( Variable $symbolVariable, $classDefinition, $property, $readOnly, Zephir\CompilationContext $context )
forStatement ( Variable $exprVariable, $keyVariable, $variable, $duplicateKey, $duplicateHash, $statement, $statementBlock, Zephir\CompilationContext $compilationContext )
forStatementIterator ( Variable $iteratorVariable, Variable $targetVariable, Zephir\CompilationContext $compilationContext )
generateInitCode ( &$groupVariables, $type, $pointer, Variable $variable )
getBoolCode ( Variable $variable, Zephir\CompilationContext $context, $useCodePrinter = true )
getFcallManager ( )
getInternalSignature ( ClassMethod $method, Zephir\CompilationContext $context ) Returns the signature of an internal method
getScalarTempVariable ( $type, Zephir\CompilationContext $compilationContext, $isLocal = true )
getStringsManager ( )
getTypeDefinition ( $type )
getTypeofCondition ( Variable $variableVariable, string $operator, string $value, Zephir\CompilationContext $context ) : string Checks the type of a variable using the ZendEngine constants
getVariableCode ( Variable $variable )
getVariableCodePointer ( Variable $variable )
ifVariableValueUndefined ( Variable $var, Zephir\CompilationContext $context, $useBody = false, $useCodePrinter = true )
isZE3 ( ) * TODO: This should not be used, temporary (until its completely refactored)
onPostCompile ( $method, Zephir\CompilationContext $context )
onPreCompile ( $method, Zephir\CompilationContext $context )
onPreInitVar ( $method, Zephir\CompilationContext $context )
propertyIsset ( Variable $var, $key, Zephir\CompilationContext $context )
resolveValue ( $value, Zephir\CompilationContext $context, $usePointer = false )
returnString ( $value, Zephir\CompilationContext $context, $useCodePrinter = true )
setSymbolIfSeparated ( Variable $variableTempSeparated, Variable $variable, Zephir\CompilationContext $context )
updateProperty ( Variable $symbolVariable, $propertyName, $value, Zephir\CompilationContext $context )
updateStaticProperty ( $classEntry, $property, $value, Zephir\CompilationContext $context )

메소드 상세

addArrayEntry() 공개 메소드

public addArrayEntry ( Variable $variable, $key, $value, Zephir\CompilationContext $context, $statement = null, $useCodePrinter = true )
$variable Zephir\Variable
$context Zephir\CompilationContext

arrayIsset() 공개 메소드

public arrayIsset ( Variable $var, $resolvedExpr, $expression, Zephir\CompilationContext $context )
$var Zephir\Variable
$context Zephir\CompilationContext

arrayIssetFetch() 공개 메소드

public arrayIssetFetch ( Variable $target, Variable $var, $resolvedExpr, $flags, $expression, Zephir\CompilationContext $context )
$target Zephir\Variable
$var Zephir\Variable
$context Zephir\CompilationContext

arrayUnset() 공개 메소드

public arrayUnset ( Variable $variable, $exprIndex, $flags, Zephir\CompilationContext $context )
$variable Zephir\Variable
$context Zephir\CompilationContext

assignString() 공개 메소드

* Assign value to variable
public assignString ( Variable $variable, $value, Zephir\CompilationContext $context, $useCodePrinter = true, $doCopy = null )
$variable Zephir\Variable
$context Zephir\CompilationContext

assignZval() 공개 메소드

Assigns a zval to another
public assignZval ( Variable $variable, string $code, Zephir\CompilationContext $context )
$variable Zephir\Variable
$code string
$context Zephir\CompilationContext

callMethod() 공개 메소드

public callMethod ( $symbolVariable, Variable $variable, $methodName, $cachePointer, $params, Zephir\CompilationContext $context )
$variable Zephir\Variable
$context Zephir\CompilationContext

copyOnWrite() 공개 메소드

public copyOnWrite ( Variable $target, $var, Zephir\CompilationContext $context )
$target Zephir\Variable
$context Zephir\CompilationContext

createClosure() 공개 메소드

public createClosure ( Variable $variable, $classDefinition, Zephir\CompilationContext $context )
$variable Zephir\Variable
$context Zephir\CompilationContext

declareConstant() 공개 메소드

public declareConstant ( $type, $name, $value, Zephir\CompilationContext $context )
$context Zephir\CompilationContext

destroyIterator() 공개 메소드

public destroyIterator ( Variable $iteratorVariable, Zephir\CompilationContext $context )
$iteratorVariable Zephir\Variable
$context Zephir\CompilationContext

fetchClass() 공개 메소드

public fetchClass ( Variable $zendClassEntry, $className, $guarded, Zephir\CompilationContext $context )
$zendClassEntry Zephir\Variable
$context Zephir\CompilationContext

fetchClassEntry() 공개 메소드

public fetchClassEntry ( $str )

fetchGlobal() 공개 메소드

public fetchGlobal ( Variable $globalVar, Zephir\CompilationContext $compilationContext, $useCodePrinter = true )
$globalVar Zephir\Variable
$compilationContext Zephir\CompilationContext

fetchProperty() 공개 메소드

public fetchProperty ( Variable $symbolVariable, Variable $variableVariable, $property, $readOnly, Zephir\CompilationContext $context, $useOptimized = false )
$symbolVariable Zephir\Variable
$variableVariable Zephir\Variable
$context Zephir\CompilationContext

fetchStaticProperty() 공개 메소드

public fetchStaticProperty ( Variable $symbolVariable, $classDefinition, $property, $readOnly, Zephir\CompilationContext $context )
$symbolVariable Zephir\Variable
$context Zephir\CompilationContext

forStatement() 공개 메소드

public forStatement ( Variable $exprVariable, $keyVariable, $variable, $duplicateKey, $duplicateHash, $statement, $statementBlock, Zephir\CompilationContext $compilationContext )
$exprVariable Zephir\Variable
$compilationContext Zephir\CompilationContext

forStatementIterator() 공개 메소드

public forStatementIterator ( Variable $iteratorVariable, Variable $targetVariable, Zephir\CompilationContext $compilationContext )
$iteratorVariable Zephir\Variable
$targetVariable Zephir\Variable
$compilationContext Zephir\CompilationContext

generateInitCode() 공개 메소드

public generateInitCode ( &$groupVariables, $type, $pointer, Variable $variable )
$variable Zephir\Variable

getBoolCode() 공개 메소드

public getBoolCode ( Variable $variable, Zephir\CompilationContext $context, $useCodePrinter = true )
$variable Zephir\Variable
$context Zephir\CompilationContext

getFcallManager() 공개 메소드

public getFcallManager ( )

getInternalSignature() 공개 메소드

Returns the signature of an internal method
public getInternalSignature ( ClassMethod $method, Zephir\CompilationContext $context )
$method Zephir\ClassMethod
$context Zephir\CompilationContext

getScalarTempVariable() 공개 메소드

public getScalarTempVariable ( $type, Zephir\CompilationContext $compilationContext, $isLocal = true )
$compilationContext Zephir\CompilationContext

getStringsManager() 공개 메소드

public getStringsManager ( )

getTypeDefinition() 공개 메소드

public getTypeDefinition ( $type )

getTypeofCondition() 공개 메소드

Checks the type of a variable using the ZendEngine constants
public getTypeofCondition ( Variable $variableVariable, string $operator, string $value, Zephir\CompilationContext $context ) : string
$variableVariable Zephir\Variable
$operator string
$value string
$context Zephir\CompilationContext
리턴 string

getVariableCode() 공개 메소드

public getVariableCode ( Variable $variable )
$variable Zephir\Variable

getVariableCodePointer() 공개 메소드

public getVariableCodePointer ( Variable $variable )
$variable Zephir\Variable

ifVariableValueUndefined() 공개 메소드

public ifVariableValueUndefined ( Variable $var, Zephir\CompilationContext $context, $useBody = false, $useCodePrinter = true )
$var Zephir\Variable
$context Zephir\CompilationContext

isZE3() 공개 메소드

* TODO: This should not be used, temporary (until its completely refactored)
public isZE3 ( )

onPostCompile() 공개 메소드

public onPostCompile ( $method, Zephir\CompilationContext $context )
$context Zephir\CompilationContext

onPreCompile() 공개 메소드

public onPreCompile ( $method, Zephir\CompilationContext $context )
$context Zephir\CompilationContext

onPreInitVar() 공개 메소드

public onPreInitVar ( $method, Zephir\CompilationContext $context )
$context Zephir\CompilationContext

propertyIsset() 공개 메소드

public propertyIsset ( Variable $var, $key, Zephir\CompilationContext $context )
$var Zephir\Variable
$context Zephir\CompilationContext

resolveValue() 공개 메소드

public resolveValue ( $value, Zephir\CompilationContext $context, $usePointer = false )
$context Zephir\CompilationContext

returnString() 공개 메소드

public returnString ( $value, Zephir\CompilationContext $context, $useCodePrinter = true )
$context Zephir\CompilationContext

setSymbolIfSeparated() 공개 메소드

public setSymbolIfSeparated ( Variable $variableTempSeparated, Variable $variable, Zephir\CompilationContext $context )
$variableTempSeparated Zephir\Variable
$variable Zephir\Variable
$context Zephir\CompilationContext

updateProperty() 공개 메소드

public updateProperty ( Variable $symbolVariable, $propertyName, $value, Zephir\CompilationContext $context )
$symbolVariable Zephir\Variable
$context Zephir\CompilationContext

updateStaticProperty() 공개 메소드

public updateStaticProperty ( $classEntry, $property, $value, Zephir\CompilationContext $context )
$context Zephir\CompilationContext

프로퍼티 상세

$name 보호되어 있는 프로퍼티

protected $name