Sha256: 30483f10cdc16521454ca6f5aad47e80161c79af6808ffe4e52ed42a748639da

Contents?: true

Size: 274 Bytes

Versions: 2

Compression:

Stored size: 274 Bytes

Contents

class AbstractSyntaxTreeKit
  class Node
    attr_reader :condition, :body, :els

    class IF < Node
      def initialize(node:, condition:, body:, els:)
        super(node)
        @condition = condition
        @body = body
        @els = els
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

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