Same name in other branches
  1. 5.0.x advagg_js_minify/jsminplus.inc \JSParser::Statements()
  2. 7.x-1.x advagg_js_compress/jsminplus.inc \JSParser::Statements()
  3. 7.x-2.x advagg_js_compress/jsminplus.inc \JSParser::Statements()
  4. 8.x-2.x advagg_js_minify/jsminplus.inc \JSParser::Statements()
  5. 8.x-3.x advagg_js_minify/jsminplus.inc \JSParser::Statements()
  6. 8.x-4.x advagg_js_minify/jsminplus.inc \JSParser::Statements()
3 calls to JSParser::Statements()
JSParser::Block dans advagg_js_minify/jsminplus.inc
JSParser::Script dans advagg_js_minify/jsminplus.inc
JSParser::Statement dans advagg_js_minify/jsminplus.inc

Fichier

advagg_js_minify/jsminplus.inc, line 906

Classe

JSParser

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