Sha256: 5a295e8684fba0bc0d8786f52c660999716d2893f6876770a8e69425c7d43c3c

Contents?: true

Size: 283 Bytes

Versions: 2

Compression:

Stored size: 283 Bytes

Contents

class AbstractSyntaxTreeKit
  class Node
    class CASE < Node
      attr_reader :expression, :case_clauses

      def initialize(node:, expression:, case_clauses:)
        super(node)
        @expression = expression
        @case_clauses = case_clauses
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

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