private function JSParser::Statements in Javascript Aggregator 6
3 calls to JSParser::Statements()
File
- ./
jsminplus.php, line 768
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;
}