Method |
Description |
|
declareVariables ( array $statement ) |
|
|
getLastCallLine ( ) : integer |
Returns the line where the latest call in the method was made |
|
getLastUnsetLine ( ) : integer |
Returns the line where the latest unset operation was made |
|
getLastVariableUseLine ( string $variable ) : integer |
Returns the latest line where a variable was read |
|
getNumberOfMutations ( string $variable ) : integer |
Returns the number of assignment instructions that mutated a variable |
|
increaseMutations ( string $variable ) |
Increase the number of mutations a variable has inside a statement block |
|
markLastUse ( string $variable, array $node ) |
Marks the latest use/read of a variable |
|
markVariableNoLocal ( string $variable ) |
Marks a variable to mandatory be stored in the heap |
|
pass ( Zephir\StatementsBlock $block ) |
Do the compilation pass |
|
passArray ( array $expression ) |
|
|
passCall ( array $expression ) |
|
|
passExpression ( array $expression ) |
|
|
passLetStatement ( array $statement ) |
|
|
passNew ( array $expression ) |
|
|
passStatementBlock ( array $statements ) |
|
|
shouldBeLocal ( string $variable ) : boolean |
Asks the local context information whether a variable can be stored in the stack instead of the heap |
|