Sha256: e18b407b4cdd7298ff4fada69de867118dc471b10f3593bc7610c573c88ec053

Contents?: true

Size: 469 Bytes

Versions: 2

Compression:

Stored size: 469 Bytes

Contents

class AbstractSyntaxTreeKit
  class Node
    class ARGS < Node
      attr_reader :parameter_count, :rest_argument, :keyword_arguments, :block_argument

      def initialize(node:, parameter_count:, rest_argument:, keyword_arguments:, block_argument:)
        super(node)
        @parameter_count = parameter_count
        @rest_argument = rest_argument
        @keyword_arguments = keyword_arguments
        @block_argument = block_argument
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
astkit-0.1.1 lib/astkit/node/args.rb
astkit-0.1.0 lib/astkit/node/args.rb