Same name and namespace in other branches
  1. 6.0.x advagg_js_minify/jsminplus.inc \JSParser::Statements() 1 commentaire
  2. 7.x-1.x advagg_js_compress/jsminplus.inc \JSParser::Statements() 1 commentaire
  3. 7.x-2.x advagg_js_compress/jsminplus.inc \JSParser::Statements() 1 commentaire
  4. 8.x-2.x advagg_js_minify/jsminplus.inc \JSParser::Statements() 1 commentaire
  5. 8.x-3.x advagg_js_minify/jsminplus.inc \JSParser::Statements() 1 commentaire
  6. 8.x-4.x advagg_js_minify/jsminplus.inc \JSParser::Statements() 1 commentaire
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;
}