@@ 1183-1187 (lines=5) @@ | ||
1180 | } |
|
1181 | while (true) { |
|
1182 | while ($top = array_pop($this->stack)) { |
|
1183 | if ($top['custom']) { |
|
1184 | $class = $top['class']; |
|
1185 | } else { |
|
1186 | $class = Core::NAMESPACE_PLUGINS_BLOCKS . 'Plugin' . Core::toCamelCase($top['type']); |
|
1187 | } |
|
1188 | if (count($this->stack)) { |
|
1189 | $this->curBlock = &$this->stack[count($this->stack) - 1]; |
|
1190 | $this->push(call_user_func(array( |
|
@@ 1278-1282 (lines=5) @@ | ||
1275 | if ($o === null) { |
|
1276 | throw new CompilationException($this, 'Syntax malformation, a block of unknown type was closed but was not opened.'); |
|
1277 | } |
|
1278 | if ($o['custom']) { |
|
1279 | $class = $o['class']; |
|
1280 | } else { |
|
1281 | $class = Core::NAMESPACE_PLUGINS_BLOCKS . 'Plugin' . Core::toCamelCase($o['type']); |
|
1282 | } |
|
1283 | ||
1284 | $this->curBlock = &$this->stack[count($this->stack) - 1]; |
|
1285 |