PHP 클래스 Zephir\Expression\Constants

Resolves PHP or Zephir constants into C-Code
파일 보기 프로젝트 열기: phalcon/zephir 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$_expecting boolean
$_expectingVariable Zephir\Variable
$_readOnly boolean
$envConstants array Reserved ENV Constants
$magicConstants array Magic constants
$resources

공개 메소드들

메소드 설명
compile ( array $expression, Zephir\CompilationContext $compilationContext ) : Zephir\CompiledExpression Resolves a PHP constant value into C-code
setExpectReturn ( boolean $expecting, Variable $expectingVariable = null ) Sets if the variable must be resolved into a direct variable symbol create a temporary value or ignore the return value
setReadOnly ( boolean $readOnly ) Sets if the result of the evaluated expression is read only

메소드 상세

compile() 공개 메소드

Resolves a PHP constant value into C-code
public compile ( array $expression, Zephir\CompilationContext $compilationContext ) : Zephir\CompiledExpression
$expression array
$compilationContext Zephir\CompilationContext
리턴 Zephir\CompiledExpression

setExpectReturn() 공개 메소드

Sets if the variable must be resolved into a direct variable symbol create a temporary value or ignore the return value
public setExpectReturn ( boolean $expecting, Variable $expectingVariable = null )
$expecting boolean
$expectingVariable Zephir\Variable

setReadOnly() 공개 메소드

Sets if the result of the evaluated expression is read only
public setReadOnly ( boolean $readOnly )
$readOnly boolean

프로퍼티 상세

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

protected bool $_expecting
리턴 boolean

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

protected Variable,Zephir $_expectingVariable
리턴 Zephir\Variable

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

protected bool $_readOnly
리턴 boolean

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

Reserved ENV Constants
protected array $envConstants
리턴 array

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

Magic constants
protected array $magicConstants
리턴 array

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

protected $resources