1 call to JSParser::reduce()
      - JSParser::Expression dans advagg_js_minify/jsminplus.inc
 
    
  
 
Fichier
  - 
              advagg_js_minify/jsminplus.inc, line 1743
    
   
 
  Classe
  
  
    - JSParser
 
    
  
Code
private function reduce(&$operators, &$operands) {
    $n = array_pop($operators);
    $op = $n->type;
    $arity = $this->opArity[$op];
    $c = count($operands);
    if ($arity == -2) {
        
        if ($c >= 2) {
            $left = $operands[$c - 2];
            if ($left->type == $op) {
                $right = array_pop($operands);
                $left->addNode($right);
                return $left;
            }
        }
        $arity = 2;
    }
    
    $a = array_splice($operands, $c - $arity);
    for ($i = 0; $i < $arity; $i++) {
        $n->addNode($a[$i]);
    }
    
    $te = $this->t
        ->currentToken()->end;
    if ($n->end < $te) {
        $n->end = $te;
    }
    array_push($operands, $n);
    return $n;
}