private function JSParser::Statements in Advanced CSS/JS Aggregation 8.2
Same name and namespace in other branches
- 8.4 advagg_js_minify/jsminplus.inc \JSParser::Statements()
- 8.3 advagg_js_minify/jsminplus.inc \JSParser::Statements()
- 6 advagg_js_compress/jsminplus.inc \JSParser::Statements()
- 7.2 advagg_js_compress/jsminplus.inc \JSParser::Statements()
- 7 advagg_js_compress/jsminplus.inc \JSParser::Statements()
3 calls to JSParser::Statements()
- JSParser::Block in advagg_js_minify/
jsminplus.inc - JSParser::Script in advagg_js_minify/
jsminplus.inc - JSParser::Statement in advagg_js_minify/
jsminplus.inc
File
- advagg_js_minify/
jsminplus.inc, line 906 - JSMinPlus version 1.4
Class
Code
private function Statements($x) {
$n = new JSNode($this->t, JS_BLOCK);
array_push($x->stmtStack, $n);
while (!$this->t
->isDone() && $this->t
->peek() != OP_RIGHT_CURLY) {
$n
->addNode($this
->Statement($x));
}
array_pop($x->stmtStack);
return $n;
}