/** * * 操作符 * @param string $left * @param number $minPrec * @param boolean $notIn */ public function exprOperator($left, $minPrec, $notIn = false) { $op = $this->isToken(FL_TOKEN_JS_OPERATOR) ? $this->currentToken['value'] : null; if ($op && $op === 'in' && $notIn) { $op = null; } $prec = $op != null ? Fl_Js_Static::getPrecedenceValue($op) : null; if ($prec != null && $prec > $minPrec) { $this->getNextToken(); $right = $this->exprOperator($this->maybeUnary(true), $prec, $notIn); return $this->exprOperator(array("binary", $op, $left, $right), $minPrec, $notIn); } return $left; }