Sha256: eb906573c7b537503a13d75100881087d6e53e144a7ec4621571f5621e66c79c

Contents?: true

Size: 375 Bytes

Versions: 10

Compression:

Stored size: 375 Bytes

Contents

# frozen_string_literal: true

module Unparser
  class Emitter
    # Emitter for lambda nodes
    class Lambda < self
      include Terminated

      handle :lambda

    private

      # Perform dispatch
      #
      # @return [undefined]
      #
      # @api private
      #
      def dispatch
        write('->')
      end

    end # Lambda
  end # Emitter
end # Unparser

Version data entries

10 entries across 10 versions & 1 rubygems

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