Sha256: 221733d12c9e409e6afd0f8e6b61311521b1bebc2d9616c69840e42b18de738e

Contents?: true

Size: 290 Bytes

Versions: 2

Compression:

Stored size: 290 Bytes

Contents

class AbstractSyntaxTreeKit
  class Node
    class WHEN < Node
      attr_reader :expressions, :body, :els

      def initialize(node:, expressions:, body:, els: nil)
        super(node)
        @expressions = expressions
        @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/when.rb
astkit-0.1.0 lib/astkit/node/when.rb