Sha256: 4d60799c0998d2e652c4c01f51b8b1cffdab36b229a76c1d688383e3b8594d0c

Contents?: true

Size: 382 Bytes

Versions: 14

Compression:

Stored size: 382 Bytes

Contents

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

14 entries across 14 versions & 1 rubygems

Version Path
expressir-0.2.11 lib/expressir/model/expressions/unary_expression.rb
expressir-0.2.11-x86_64-linux lib/expressir/model/expressions/unary_expression.rb
expressir-0.2.11-x86_64-darwin lib/expressir/model/expressions/unary_expression.rb
expressir-0.2.11-x86-mingw32 lib/expressir/model/expressions/unary_expression.rb
expressir-0.2.11-x86-linux lib/expressir/model/expressions/unary_expression.rb
expressir-0.2.11-x64-mingw32 lib/expressir/model/expressions/unary_expression.rb
expressir-0.2.11-arm64-darwin lib/expressir/model/expressions/unary_expression.rb
expressir-0.2.10 lib/expressir/model/expressions/unary_expression.rb
expressir-0.2.10-x86_64-linux lib/expressir/model/expressions/unary_expression.rb
expressir-0.2.10-x86_64-darwin lib/expressir/model/expressions/unary_expression.rb
expressir-0.2.10-x86-mingw32 lib/expressir/model/expressions/unary_expression.rb
expressir-0.2.10-x86-linux lib/expressir/model/expressions/unary_expression.rb
expressir-0.2.10-x64-mingw32 lib/expressir/model/expressions/unary_expression.rb
expressir-0.2.10-arm64-darwin lib/expressir/model/expressions/unary_expression.rb