Same name in other branches
  1. 5.0.x advagg_js_minify/jsminplus.inc \JSParser::nest()
  2. 6.0.x advagg_js_minify/jsminplus.inc \JSParser::nest()
  3. 7.x-1.x advagg_js_compress/jsminplus.inc \JSParser::nest()
  4. 7.x-2.x advagg_js_compress/jsminplus.inc \JSParser::nest()
  5. 8.x-2.x advagg_js_minify/jsminplus.inc \JSParser::nest()
  6. 8.x-4.x advagg_js_minify/jsminplus.inc \JSParser::nest()
1 call to JSParser::nest()
JSParser::Statement in advagg_js_minify/jsminplus.inc

File

advagg_js_minify/jsminplus.inc, line 1731

Class

JSParser

Code

private function nest($x, $node, $end = false) {
    array_push($x->stmtStack, $node);
    $n = $this->statement($x);
    array_pop($x->stmtStack);
    if ($end) {
        $this->t
            ->mustMatch($end);
    }
    return $n;
}