@@ 1174-1178 (lines=5) @@ | ||
1171 | } |
|
1172 | while (true) { |
|
1173 | while ($top = array_pop($this->stack)) { |
|
1174 | if ($top['custom']) { |
|
1175 | $class = $top['class']; |
|
1176 | } else { |
|
1177 | $class = Core::NAMESPACE_PLUGINS_BLOCKS . 'Plugin' . Core::toCamelCase($top['type']); |
|
1178 | } |
|
1179 | if (count($this->stack)) { |
|
1180 | $this->curBlock = &$this->stack[count($this->stack) - 1]; |
|
1181 | $this->push(call_user_func(array( |
|
@@ 1270-1274 (lines=5) @@ | ||
1267 | if ($o === null) { |
|
1268 | throw new CompilationException($this, 'Syntax malformation, a block of unknown type was closed but was not opened.'); |
|
1269 | } |
|
1270 | if ($o['custom']) { |
|
1271 | $class = $o['class']; |
|
1272 | } else { |
|
1273 | $class = Core::NAMESPACE_PLUGINS_BLOCKS . 'Plugin' . Core::toCamelCase($o['type']); |
|
1274 | } |
|
1275 | ||
1276 | $this->curBlock = &$this->stack[count($this->stack) - 1]; |
|
1277 |