Sha256: 7b55e3bee59e191234b78be7b62b260c343cecbe428459899ca0a124a01c0d81

Contents?: true

Size: 1.1 KB

Versions: 63

Compression:

Stored size: 1.1 KB

Contents

module Expressir
  module Model
    module Expressions
      class BinaryExpression < ModelElement
        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]

          super
        end
      end
    end
  end
end

Version data entries

63 entries across 63 versions & 1 rubygems

Version Path
expressir-0.2.21 lib/expressir/model/expressions/binary_expression.rb
expressir-0.2.21-x86_64-linux lib/expressir/model/expressions/binary_expression.rb
expressir-0.2.21-x86_64-darwin lib/expressir/model/expressions/binary_expression.rb
expressir-0.2.21-x86-mingw32 lib/expressir/model/expressions/binary_expression.rb
expressir-0.2.21-x86-linux lib/expressir/model/expressions/binary_expression.rb
expressir-0.2.21-x64-mingw32 lib/expressir/model/expressions/binary_expression.rb
expressir-0.2.21-arm64-darwin lib/expressir/model/expressions/binary_expression.rb
expressir-0.2.19 lib/expressir/model/expressions/binary_expression.rb
expressir-0.2.19-x86_64-linux lib/expressir/model/expressions/binary_expression.rb
expressir-0.2.19-x86_64-darwin lib/expressir/model/expressions/binary_expression.rb
expressir-0.2.19-x86-mingw32 lib/expressir/model/expressions/binary_expression.rb
expressir-0.2.19-x86-linux lib/expressir/model/expressions/binary_expression.rb
expressir-0.2.19-x64-mingw32 lib/expressir/model/expressions/binary_expression.rb
expressir-0.2.19-arm64-darwin lib/expressir/model/expressions/binary_expression.rb
expressir-0.2.18 lib/expressir/model/expressions/binary_expression.rb
expressir-0.2.18-x86_64-linux lib/expressir/model/expressions/binary_expression.rb
expressir-0.2.18-x86_64-darwin lib/expressir/model/expressions/binary_expression.rb
expressir-0.2.18-x86-mingw32 lib/expressir/model/expressions/binary_expression.rb
expressir-0.2.18-x86-linux lib/expressir/model/expressions/binary_expression.rb
expressir-0.2.18-x64-mingw32 lib/expressir/model/expressions/binary_expression.rb