You are here

private function JSParser::nest in Advanced CSS/JS Aggregation 6

Same name and namespace in other branches
  1. 8.4 advagg_js_minify/jsminplus.inc \JSParser::nest()
  2. 8.2 advagg_js_minify/jsminplus.inc \JSParser::nest()
  3. 8.3 advagg_js_minify/jsminplus.inc \JSParser::nest()
  4. 7.2 advagg_js_compress/jsminplus.inc \JSParser::nest()
  5. 7 advagg_js_compress/jsminplus.inc \JSParser::nest()
1 call to JSParser::nest()
JSParser::Statement in advagg_js_compress/jsminplus.inc

File

advagg_js_compress/jsminplus.inc, line 1715

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;
}