protected function processExpressionList($unparsed) { $processor = new ExpressionListProcessor(); $expr = $this->removeParenthesisFromStart($unparsed); $expr = $this->splitSQLIntoTokens($expr); return $processor->process($expr); }
public function process($tokens, $select = array()) { $parsed = parent::process($tokens); foreach ($parsed as $k => $v) { if ($v['expr_type'] === ExpressionType::COLREF) { foreach ($select as $clause) { if (!$clause['alias']) { continue; } if ($clause['alias']['no_quotes'] === $v['no_quotes']) { $parsed[$k]['expr_type'] = ExpressionType::ALIAS; break; } } } } return $parsed; }
protected function processExpressionList($unparsed) { $processor = new ExpressionListProcessor(); return $processor->process($unparsed); }
protected function processExpressionList($tokens) { $processor = new ExpressionListProcessor(); return $processor->process($tokens); }
protected function processExpressionList($parsed) { $processor = new ExpressionListProcessor($this->options); return $processor->process($parsed); }