Sha256: fa77ad0c71486c5688ee32cde803c3f4315563a54f19f5e67475792c939784e6

Contents?: true

Size: 367 Bytes

Versions: 26

Compression:

Stored size: 367 Bytes

Contents

module Expressir
  module Model
    module Expressions
      class UnaryExpression
        MINUS = :MINUS
        NOT = :NOT
        PLUS = :PLUS

        attr_accessor :operator
        attr_accessor :operand

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

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
expressir-0.2.7-arm64-darwin lib/expressir/model/expressions/unary_expression.rb
expressir-0.2.5-x86_64-linux lib/expressir/model/expressions/unary_expression.rb
expressir-0.2.5-x86_64-darwin-19 lib/expressir/model/expressions/unary_expression.rb
expressir-0.2.5 lib/expressir/model/expressions/unary_expression.rb
expressir-0.2.4 lib/expressir/model/expressions/unary_expression.rb
expressir-0.2.3 lib/expressir/model/expressions/unary_expression.rb