Sha256: 92e7ecae5d1ab9672674f92401c9641cdc6ae4f8927eec0f1852551fffb3dcf8

Contents?: true

Size: 408 Bytes

Versions: 11

Compression:

Stored size: 408 Bytes

Contents

# frozen_string_literal: true

module Unparser
  class Emitter
    # Emitter for undef nodes
    class Undef < self
      include Unterminated

      handle :undef

    private

      # Perform dispatch
      #
      # @return [undefined]
      #
      # @api private
      #
      def dispatch
        write(K_UNDEF, WS)
        delimited(children)
      end

    end # Undef
  end # Emitter
end # Unparser

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
unparser-0.4.9 lib/unparser/emitter/undef.rb
unparser-0.4.8 lib/unparser/emitter/undef.rb
unparser-0.4.7 lib/unparser/emitter/undef.rb
unparser-0.4.6 lib/unparser/emitter/undef.rb
unparser-0.4.5 lib/unparser/emitter/undef.rb
unparser-0.4.4 lib/unparser/emitter/undef.rb
unparser-0.4.3 lib/unparser/emitter/undef.rb
unparser-0.4.2 lib/unparser/emitter/undef.rb
unparser-0.4.1 lib/unparser/emitter/undef.rb
unparser-0.4.0 lib/unparser/emitter/undef.rb
unparser-0.3.0 lib/unparser/emitter/undef.rb