Sha256: 38fede86a282691cf9e09240e005050813a4f9051e0e7f1c38b7815def1dad4b

Contents?: true

Size: 293 Bytes

Versions: 8

Compression:

Stored size: 293 Bytes

Contents

module Alf
  class Predicate
    module Not
      include Expr

      def operator_symbol
        :'!'
      end

      def priority
        90
      end

      def !
        last
      end

      def free_variables
        @free_variables ||= last.free_variables
      end

    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
alf-core-0.16.3 lib/alf/predicate/nodes/not.rb
alf-core-0.16.2 lib/alf/predicate/nodes/not.rb
alf-core-0.16.1 lib/alf/predicate/nodes/not.rb
alf-core-0.16.0 lib/alf/predicate/nodes/not.rb
alf-core-0.15.0 lib/alf/predicate/nodes/not.rb
alf-core-0.14.0 lib/alf-predicate/alf/predicate/nodes/not.rb
alf-core-0.13.1 lib/alf-predicate/alf/predicate/nodes/not.rb
alf-core-0.13.0 lib/alf-predicate/alf/predicate/nodes/not.rb