Pinq\Expressions\BinaryOperationExpression::compileCode PHP Méthode

compileCode() protected méthode

protected compileCode ( &$code )
    protected function compileCode(&$code)
    {
        $code .= '(';
        $this->leftOperand->compileCode($code);
        $code .= ' ' . $this->operator . ' ';
        if ($this->operator === Operators\Binary::IS_INSTANCE_OF && $this->rightOperand instanceof ValueExpression) {
            $code .= $this->rightOperand->getValue();
        } else {
            $this->rightOperand->compileCode($code);
        }
        $code .= ')';
    }