Method |
Description |
|
__construct ( Zephir\Config $config ) |
BaseBackend constructor |
|
addArrayEntry ( Variable $variable, $key, $value, zephir\CompilationContext $context, $statement = null, $useCodePrinter = true ) |
|
|
arrayFetch ( Variable $var, Variable $src, $index, $flags, $arrayAccess, zephir\CompilationContext $context, $useCodePrinter = true ) |
* Read from array |
|
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 ) |
* Unset array |
|
assignArrayMulti ( Variable $variable, $symbolVariable, $offsetExprs, zephir\CompilationContext $context ) |
* Array update multi |
|
assignArrayProperty ( Variable $variable, $property, $key, $value, zephir\CompilationContext $context ) |
|
|
assignBool ( Variable $variable, $value, zephir\CompilationContext $context, $useCodePrinter = true ) |
|
|
assignDouble ( Variable $variable, $value, zephir\CompilationContext $context, $useCodePrinter = true ) |
|
|
assignLong ( Variable $variable, $value, zephir\CompilationContext $context, $useCodePrinter = true ) |
|
|
assignNull ( Variable $variable, zephir\CompilationContext $context, $useCodePrinter = true ) |
|
|
assignPropertyArrayMulti ( Variable $variable, $valueVariable, $propertyName, $offsetExprs, zephir\CompilationContext $context ) |
|
|
assignStaticPropertyArrayMulti ( $classEntry, $valueVariable, $propertyName, $offsetExprs, zephir\CompilationContext $compilationContext ) |
|
|
assignString ( Variable $variable, $value, zephir\CompilationContext $context, $useCodePrinter = true, $doCopy = true ) |
* Assign values to variables |
|
assignZval ( Variable $variable, $code, zephir\CompilationContext $context ) |
|
|
callDynamicFunction ( $symbolVariable, Variable $variable, zephir\CompilationContext $compilationContext, $params = [], $cache = 'NULL', $cacheSlot ) |
* Method calling |
|
callMethod ( $symbolVariable, Variable $variable, $methodName, $cachePointer, $params, zephir\CompilationContext $context ) |
|
|
checkConstructor ( Variable $var, zephir\CompilationContext $context ) |
|
|
checkStrictType ( $type, $var, zephir\CompilationContext $context ) |
|
|
concatSelf ( Variable $variable, Variable $itemVariable, 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 $var, $name, $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 $context ) |
* For statement |
|
forStatementIterator ( Variable $iteratorVariable, Variable $targetVariable, zephir\CompilationContext $compilationContext ) |
|
|
generateInitCode ( &$groupVariables, $type, $pointer, Variable $variable ) |
|
|
getActiveBackend ( ) |
|
|
getBoolCode ( Variable $variable, zephir\CompilationContext $context, $useCodePrinter = true ) |
|
|
getInternalKernelPath ( ) : string |
Resolves the path to the source kernel files of the backend |
|
getInternalSignature ( ClassMethod $method, zephir\CompilationContext $context ) |
|
|
getInternalTemplatePath ( ) : string |
Resolves the path to the source template files of the backend |
|
getName ( ) |
|
|
getScalarTempVariable ( $type, zephir\CompilationContext $compilationContext, $isLocal = true ) |
|
|
getStringsManager ( ) |
|
|
getTemplateFileContents ( $filename ) : string |
Resolves the path to the source template file of the backend |
|
getTypeDefinition ( $type ) |
|
|
getTypeofCondition ( Variable $variableVariable, $operator, $value, zephir\CompilationContext $context ) |
|
|
getVariableCode ( Variable $variable ) : string |
|
|
getVariableCodePointer ( Variable $variable ) : string |
Get a double pointer to the variable |
|
ifVariableValueUndefined ( Variable $var, zephir\CompilationContext $context, $onlyBody = false, $useCodePrinter = true ) |
|
|
initArray ( Variable $variable, zephir\CompilationContext $context, $size = null, $useCodePrinter = true ) |
|
|
initObject ( Variable $variable, $ce, zephir\CompilationContext $context, $useCodePrinter = true ) |
|
|
initVar ( Variable $variable, zephir\CompilationContext $context, $useCodePrinter = true, $second = false ) |
|
|
maybeSeparate ( Variable $variableTempSeparated, Variable $variable, zephir\CompilationContext $context ) |
|
|
onPostCompile ( $method, zephir\CompilationContext $context ) |
|
|
onPreCompile ( $method, zephir\CompilationContext $context ) |
|
|
onPreInitVar ( $method, zephir\CompilationContext $context ) |
|
|
propertyIsset ( Variable $var, $key, zephir\CompilationContext $context ) |
|
|
returnString ( $value, zephir\CompilationContext $context, $useCodePrinter = true ) |
|
|
setSymbolIfSeparated ( Variable $variableTempSeparated, Variable $variable, zephir\CompilationContext $context ) |
|
|
updateArray ( Variable $symbolVariable, $key, $value, zephir\CompilationContext $compilationContext, $flags = null ) |
|
|
updateProperty ( Variable $symbolVariable, $propertyName, $value, zephir\CompilationContext $compilationContext ) |
|
|
updateStaticProperty ( $classEntry, $property, $value, zephir\CompilationContext $context ) |
|
|
zvalOperator ( $zvalOperator, Variable $expected, Variable $variableLeft, Variable $variableRight, zephir\CompilationContext $compilationContext ) |
|
|