@@ 2210-2214 (lines=5) @@ | ||
2207 | */ |
|
2208 | public function walkArithmeticTerm($term) |
|
2209 | { |
|
2210 | if (is_string($term)) { |
|
2211 | return (isset($this->queryComponents[$term])) |
|
2212 | ? $this->walkResultVariable($this->queryComponents[$term]['token']['value']) |
|
2213 | : $term; |
|
2214 | } |
|
2215 | ||
2216 | // Phase 2 AST optimization: Skip processing of ArithmeticTerm |
|
2217 | // if only one ArithmeticFactor is defined |
|
@@ 2230-2234 (lines=5) @@ | ||
2227 | */ |
|
2228 | public function walkArithmeticFactor($factor) |
|
2229 | { |
|
2230 | if (is_string($factor)) { |
|
2231 | return (isset($this->queryComponents[$factor])) |
|
2232 | ? $this->walkResultVariable($this->queryComponents[$factor]['token']['value']) |
|
2233 | : $factor; |
|
2234 | } |
|
2235 | ||
2236 | // Phase 2 AST optimization: Skip processing of ArithmeticFactor |
|
2237 | // if only one ArithmeticPrimary is defined |