Sha256: 1c9fcc5f1c617f95c86e82b7ecb1e74543c95934c4b2d651474dbe8f953746e7

Contents?: true

Size: 514 Bytes

Versions: 6

Compression:

Stored size: 514 Bytes

Contents

module Groonga
  module ExpressionTree
    class AssignBinaryOperation
      attr_reader :operator
      attr_reader :variable
      attr_reader :value
      def initialize(operator, variable, value)
        @operator = operator
        @variable = variable
        @value = value
      end

      def build(expression)
        @variable.build(expression)
        @value.build(expression)
        expression.append_operator(@operator, 2)
      end

      def estimatable?
        false
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
rroonga-9.0.7-x64-mingw32 vendor/local/lib/groonga/scripts/ruby/expression_tree/assign_binary_operation.rb
rroonga-9.0.7-x86-mingw32 vendor/local/lib/groonga/scripts/ruby/expression_tree/assign_binary_operation.rb
rroonga-9.0.3-x64-mingw32 vendor/local/lib/groonga/scripts/ruby/expression_tree/assign_binary_operation.rb
rroonga-9.0.3-x86-mingw32 vendor/local/lib/groonga/scripts/ruby/expression_tree/assign_binary_operation.rb
rroonga-9.0.2-x64-mingw32 vendor/local/lib/groonga/scripts/ruby/expression_tree/assign_binary_operation.rb
rroonga-9.0.2-x86-mingw32 vendor/local/lib/groonga/scripts/ruby/expression_tree/assign_binary_operation.rb