Author: Elliot Levin (elliotlevin@hotmail.com)
Ejemplo n.º 1
0
 protected final function visitOperation($operationType, O\MethodCallExpression $expression)
 {
     $this->addSegment(function ($segmentId) use($operationType, $expression) {
         $sourceInterpreter = $this->buildSourceInterpreter($segmentId);
         $sourceInterpreter->interpretSource($this->getArgumentAt(0, $expression));
         $this->interpretation->interpretOperation($this->getSegmentId($operationType), $operationType, $sourceInterpreter->getInterpretation());
     });
     $this->visit($expression->getValue());
 }
Ejemplo n.º 2
0
 public function interpretQueryScope($sourceId, IScopeInterpretation $scopeInterpretation)
 {
     /* @var $scopeInterpretation IScopeParser */
     $this->source = new Source\QueryScope($scopeInterpretation->getScope());
 }