@@ 109-121 (lines=13) @@ | ||
106 | }; |
|
107 | } |
|
108 | ||
109 | final protected function visitWhere(O\MethodCallExpression $expression) |
|
110 | { |
|
111 | $this->addSegment( |
|
112 | function ($segmentId) use ($expression) { |
|
113 | $this->interpretation->interpretWhere( |
|
114 | $segmentId, |
|
115 | $this->getFunctionAt("$segmentId-predicate", 0, $expression) |
|
116 | ); |
|
117 | } |
|
118 | ); |
|
119 | ||
120 | $this->visit($expression->getValue()); |
|
121 | } |
|
122 | ||
123 | final protected function getSegmentId($parameter = null) |
|
124 | { |
|
@@ 243-255 (lines=13) @@ | ||
240 | $this->visit($expression->getValue()); |
|
241 | } |
|
242 | ||
243 | final protected function visitIndexBy(O\MethodCallExpression $expression) |
|
244 | { |
|
245 | $this->addSegment( |
|
246 | function ($segmentId) use ($expression) { |
|
247 | $this->interpretation->interpretIndexBy( |
|
248 | $segmentId, |
|
249 | $this->getFunctionAt("$segmentId-projection", 0, $expression) |
|
250 | ); |
|
251 | } |
|
252 | ); |
|
253 | ||
254 | $this->visit($expression->getValue()); |
|
255 | } |
|
256 | ||
257 | final protected function visitKeys(O\MethodCallExpression $expression) |
|
258 | { |
|
@@ 279-291 (lines=13) @@ | ||
276 | $this->visit($expression->getValue()); |
|
277 | } |
|
278 | ||
279 | final protected function visitGroupBy(O\MethodCallExpression $expression) |
|
280 | { |
|
281 | $this->addSegment( |
|
282 | function ($segmentId) use ($expression) { |
|
283 | $this->interpretation->interpretGroupBy( |
|
284 | $segmentId, |
|
285 | $this->getFunctionAt("$segmentId-projection", 0, $expression) |
|
286 | ); |
|
287 | } |
|
288 | ); |
|
289 | ||
290 | $this->visit($expression->getValue()); |
|
291 | } |
|
292 | ||
293 | final protected function visitTo(O\MethodCallExpression $expression) |
|
294 | { |
|
@@ 339-350 (lines=12) @@ | ||
336 | ); |
|
337 | } |
|
338 | ||
339 | final protected function visitSelect(O\MethodCallExpression $expression) |
|
340 | { |
|
341 | $this->addSegment( |
|
342 | function ($segmentId) use ($expression) { |
|
343 | $this->interpretation->interpretSelect( |
|
344 | $segmentId, |
|
345 | $this->getFunctionAt("$segmentId-projection", 0, $expression) |
|
346 | ); |
|
347 | } |
|
348 | ); |
|
349 | $this->visit($expression->getValue()); |
|
350 | } |
|
351 | ||
352 | final protected function visitSelectMany(O\MethodCallExpression $expression) |
|
353 | { |
|
@@ 352-363 (lines=12) @@ | ||
349 | $this->visit($expression->getValue()); |
|
350 | } |
|
351 | ||
352 | final protected function visitSelectMany(O\MethodCallExpression $expression) |
|
353 | { |
|
354 | $this->addSegment( |
|
355 | function ($segmentId) use ($expression) { |
|
356 | $this->interpretation->interpretSelectMany( |
|
357 | $segmentId, |
|
358 | $this->getFunctionAt("$segmentId-projection", 0, $expression) |
|
359 | ); |
|
360 | } |
|
361 | ); |
|
362 | $this->visit($expression->getValue()); |
|
363 | } |
|
364 | ||
365 | final protected function visitUnique(O\MethodCallExpression $expression) |
|
366 | { |