Sha256: 9c72c3088dd65b73293f71665a4f3a7352c8f51166ba223e2284212290b5d72a

Contents?: true

Size: 1.07 KB

Versions: 26

Compression:

Stored size: 1.07 KB

Contents

module Expressir
  module Model
    module Expressions
      class BinaryExpression
        ADDITION = :ADDITION
        AND = :AND
        ANDOR = :ANDOR
        COMBINE = :COMBINE
        EQUAL = :EQUAL
        EXPONENTIATION = :EXPONENTIATION
        GREATER_THAN = :GREATER_THAN
        GREATER_THAN_OR_EQUAL = :GREATER_THAN_OR_EQUAL
        IN = :IN
        INSTANCE_EQUAL = :INSTANCE_EQUAL
        INSTANCE_NOT_EQUAL = :INSTANCE_NOT_EQUAL
        INTEGER_DIVISION = :INTEGER_DIVISION
        LESS_THAN = :LESS_THAN
        LESS_THAN_OR_EQUAL = :LESS_THAN_OR_EQUAL
        LIKE = :LIKE
        MODULO = :MODULO
        MULTIPLICATION = :MULTIPLICATION
        NOT_EQUAL = :NOT_EQUAL
        OR = :OR
        REAL_DIVISION = :REAL_DIVISION
        SUBTRACTION = :SUBTRACTION
        XOR = :XOR

        attr_accessor :operator
        attr_accessor :operand1
        attr_accessor :operand2

        def initialize(options = {})
          @operator = options[:operator]
          @operand1 = options[:operand1]
          @operand2 = options[:operand2]
        end
      end
    end
  end
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
expressir-0.2.9 lib/expressir/model/expressions/binary_expression.rb
expressir-0.2.9-x86_64-linux lib/expressir/model/expressions/binary_expression.rb
expressir-0.2.9-x86_64-darwin lib/expressir/model/expressions/binary_expression.rb
expressir-0.2.9-x86-mingw32 lib/expressir/model/expressions/binary_expression.rb
expressir-0.2.9-x86-linux lib/expressir/model/expressions/binary_expression.rb
expressir-0.2.9-x64-mingw32 lib/expressir/model/expressions/binary_expression.rb
expressir-0.2.9-arm64-darwin lib/expressir/model/expressions/binary_expression.rb
expressir-0.2.8 lib/expressir/model/expressions/binary_expression.rb
expressir-0.2.8-x86_64-linux lib/expressir/model/expressions/binary_expression.rb
expressir-0.2.8-x86_64-darwin lib/expressir/model/expressions/binary_expression.rb
expressir-0.2.8-x86-mingw32 lib/expressir/model/expressions/binary_expression.rb
expressir-0.2.8-x86-linux lib/expressir/model/expressions/binary_expression.rb
expressir-0.2.8-x64-mingw32 lib/expressir/model/expressions/binary_expression.rb
expressir-0.2.8-arm64-darwin lib/expressir/model/expressions/binary_expression.rb
expressir-0.2.7 lib/expressir/model/expressions/binary_expression.rb
expressir-0.2.7-x86-mingw32 lib/expressir/model/expressions/binary_expression.rb
expressir-0.2.7-x64-mingw32 lib/expressir/model/expressions/binary_expression.rb
expressir-0.2.7-x86_64-linux lib/expressir/model/expressions/binary_expression.rb
expressir-0.2.7-x86-linux lib/expressir/model/expressions/binary_expression.rb
expressir-0.2.7-x86_64-darwin lib/expressir/model/expressions/binary_expression.rb