PHP 클래스 Zephir\Call

Base class for common functionality in functions/calls
파일 보기 프로젝트 열기: phalcon/zephir 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$_expression zephir\Expression Call expression
$_isExpecting
$_mustCheckForCopy
$_mustInit
$_reflection
$_resolvedDynamicTypes
$_resolvedParams
$_resolvedTypes
$_symbolVariable
$_temporalVariables

공개 메소드들

메소드 설명
addCallStatusFlag ( zephir\CompilationContext $compilationContext ) Add the last-call-status flag to the current symbol table
addCallStatusOrJump ( zephir\CompilationContext $compilationContext ) Checks the last call status or make a label jump to the next catch block
checkTempParameters ( zephir\CompilationContext $compilationContext ) Checks if temporary parameters must be copied or not
getMustCheckForCopyVariables ( ) : array Parameters to check if they must be copied
getReadOnlyResolvedParams ( array $parameters, zephir\CompilationContext $compilationContext, array $expression ) : array Resolve parameters using zvals in the stack and without allocating memory for constants
getResolvedDynamicTypes ( ) : array Return resolved parameter dynamic types
getResolvedParams ( array $parameters, zephir\CompilationContext $compilationContext, array $expression, array $calleeDefinition = null ) : array Resolve parameters getting aware that the target function/method could retain or change the parameters
getResolvedParamsAsExpr ( array $parameters, zephir\CompilationContext $compilationContext, array $expression, boolean $readOnly = false ) : array Resolves parameters
getResolvedTypes ( ) : array Return resolved parameter types
getSymbolVariable ( boolean $useTemp = false, zephir\CompilationContext $compilationContext = null ) : Variable Returns the symbol variable that must be returned by the call
getTemporalVariables ( ) : Variable[] Returns the temporal variables generated during the parameter resolving
isExpectingReturn ( ) : boolean Check if an external expression is expecting the call return a value
mustInitSymbolVariable ( ) : boolean Returns if the symbol to be returned by the call must be initialized
processExpectedComplexLiteralReturn ( zephir\CompilationContext $compilationContext ) Processes the symbol variable that will be used to return the result of the symbol call. If a temporal variable is used as returned value only the body is freed between calls
processExpectedObservedReturn ( zephir\CompilationContext $compilationContext ) Processes the symbol variable that will be used to return the result of the symbol call
processExpectedReturn ( zephir\CompilationContext $compilationContext ) Processes the symbol variable that will be used to return the result of the symbol call

메소드 상세

addCallStatusFlag() 공개 메소드

Add the last-call-status flag to the current symbol table
public addCallStatusFlag ( zephir\CompilationContext $compilationContext )
$compilationContext zephir\CompilationContext

addCallStatusOrJump() 공개 메소드

Checks the last call status or make a label jump to the next catch block
public addCallStatusOrJump ( zephir\CompilationContext $compilationContext )
$compilationContext zephir\CompilationContext

checkTempParameters() 공개 메소드

Checks if temporary parameters must be copied or not
public checkTempParameters ( zephir\CompilationContext $compilationContext )
$compilationContext zephir\CompilationContext

getMustCheckForCopyVariables() 공개 메소드

Parameters to check if they must be copied

getReadOnlyResolvedParams() 공개 메소드

Resolve parameters using zvals in the stack and without allocating memory for constants
public getReadOnlyResolvedParams ( array $parameters, zephir\CompilationContext $compilationContext, array $expression ) : array
$parameters array
$compilationContext zephir\CompilationContext
$expression array
리턴 array

getResolvedDynamicTypes() 공개 메소드

Return resolved parameter dynamic types
public getResolvedDynamicTypes ( ) : array
리턴 array

getResolvedParams() 공개 메소드

Resolve parameters getting aware that the target function/method could retain or change the parameters
public getResolvedParams ( array $parameters, zephir\CompilationContext $compilationContext, array $expression, array $calleeDefinition = null ) : array
$parameters array
$compilationContext zephir\CompilationContext
$expression array
$calleeDefinition array
리턴 array

getResolvedParamsAsExpr() 공개 메소드

Resolves parameters
public getResolvedParamsAsExpr ( array $parameters, zephir\CompilationContext $compilationContext, array $expression, boolean $readOnly = false ) : array
$parameters array
$compilationContext zephir\CompilationContext
$expression array
$readOnly boolean
리턴 array

getResolvedTypes() 공개 메소드

Return resolved parameter types
public getResolvedTypes ( ) : array
리턴 array

getSymbolVariable() 공개 메소드

Returns the symbol variable that must be returned by the call
public getSymbolVariable ( boolean $useTemp = false, zephir\CompilationContext $compilationContext = null ) : Variable
$useTemp boolean
$compilationContext zephir\CompilationContext
리턴 Variable

getTemporalVariables() 공개 메소드

Returns the temporal variables generated during the parameter resolving
public getTemporalVariables ( ) : Variable[]
리턴 Variable[]

isExpectingReturn() 공개 메소드

Check if an external expression is expecting the call return a value
public isExpectingReturn ( ) : boolean
리턴 boolean

mustInitSymbolVariable() 공개 메소드

Returns if the symbol to be returned by the call must be initialized
public mustInitSymbolVariable ( ) : boolean
리턴 boolean

processExpectedComplexLiteralReturn() 공개 메소드

Processes the symbol variable that will be used to return the result of the symbol call. If a temporal variable is used as returned value only the body is freed between calls
public processExpectedComplexLiteralReturn ( zephir\CompilationContext $compilationContext )
$compilationContext zephir\CompilationContext

processExpectedObservedReturn() 공개 메소드

Processes the symbol variable that will be used to return the result of the symbol call
public processExpectedObservedReturn ( zephir\CompilationContext $compilationContext )
$compilationContext zephir\CompilationContext

processExpectedReturn() 공개 메소드

Processes the symbol variable that will be used to return the result of the symbol call
public processExpectedReturn ( zephir\CompilationContext $compilationContext )
$compilationContext zephir\CompilationContext

프로퍼티 상세

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

Call expression
protected Expression,zephir $_expression
리턴 zephir\Expression

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

protected $_isExpecting

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

protected $_mustCheckForCopy

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

protected $_mustInit

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

protected $_reflection

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

protected $_resolvedDynamicTypes

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

protected $_resolvedParams

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

protected $_resolvedTypes

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

protected $_symbolVariable

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

protected $_temporalVariables