Sha256: 21de9de790a93cd884f56263c4fddcc4e844435b31e8b78e727fa318da462a5d

Contents?: true

Size: 358 Bytes

Versions: 14

Compression:

Stored size: 358 Bytes

Contents

module Unparser
  class Emitter
    # Emitter for 1.8 only not node
    class Not < self

      handle :not

      children :body

    private

      # Perform dispatch
      #
      # @return [undefined]
      #
      # @api private
      #
      def dispatch
        write(T_NEG)
        visit(body)
      end

    end # Not
  end # Emitter
end # Unparser

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
unparser-0.0.18 lib/unparser/emitter/not.rb
unparser-0.0.16 lib/unparser/emitter/not.rb
unparser-0.0.15 lib/unparser/emitter/not.rb
unparser-0.0.14 lib/unparser/emitter/not.rb
unparser-0.0.13 lib/unparser/emitter/not.rb
unparser-0.0.12 lib/unparser/emitter/not.rb
unparser-0.0.11 lib/unparser/emitter/not.rb
unparser-0.0.10 lib/unparser/emitter/not.rb
unparser-0.0.8 lib/unparser/emitter/not.rb
unparser-0.0.7 lib/unparser/emitter/not.rb
unparser-0.0.6 lib/unparser/emitter/not.rb
unparser-0.0.5 lib/unparser/emitter/not.rb
unparser-0.0.4 lib/unparser/emitter/not.rb
unparser-0.0.3 lib/unparser/emitter/not.rb