Method |
Description |
|
__construct ( integer $type = self::UNKNOWN, mixed $value = null, Variable $variable = null ) |
Construct new CompiledExpression to pass result |
|
__debugInfo ( ) : array |
Returns debug info. |
|
canBeObject ( ) : boolean |
This is needed via in feature $this->type can store multiple type(s) by bitmask |
|
fromZvalValue ( $value ) : CompiledExpression |
If we don't know $type but know $value |
|
getType ( ) : integer |
Returns the type of the expression. |
|
getTypeName ( ) : string |
Returns the type of the expression as a string. |
|
getValue ( ) : mixed |
Returns the value of the expression. |
|
getVariable ( ) : Variable | null |
|
|
hasValue ( ) : boolean |
|
|
isArray ( ) : boolean |
|
|
isCallable ( ) : boolean |
|
|
isCorrectValue ( ) : boolean |
Check that $this->value is correct for $this->type |
|
isEquals ( integer $value ) : boolean |
Checks whether the expressions value equals the given value. |
|
isObject ( ) : boolean |
|
|
isScalar ( ) : boolean |
|
|
isString ( ) : boolean |
|
|
isTypeKnown ( ) : boolean |
|
|
toVariable ( string $name ) : Variable |
Creates a variable from the expression. |
|