Sha256: 5c6d82ebbc83742b19071483ba7cf259240520978505d28deeec73b32ce27617

Contents?: true

Size: 278 Bytes

Versions: 2

Compression:

Stored size: 278 Bytes

Contents

class AbstractSyntaxTreeKit
  class Node
    class DEFS < Node
      attr_reader :receiver, :name, :body

      def initialize(node:, receiver:, name:, body:)
        super(node)
        @receiver = receiver
        @name = name
        @body = body
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

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