Sha256: db87fc7d205592b85fc3b85014788a9711942a9feeb80e302fc4fd54c91c5c88

Contents?: true

Size: 299 Bytes

Versions: 2

Compression:

Stored size: 299 Bytes

Contents

class AbstractSyntaxTreeKit
  class Node
    class DEFN < Node
      attr_reader :method_id, :method_definition

      def initialize(node:, method_id:, method_definition:)
        super(node)
        @method_id = method_id
        @method_definition = method_definition
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

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