Sha256: 2637fd923e9687198404eb03dfe88621aaa543ec492ca8faa5a75d6ac0a7b5ad

Contents?: true

Size: 248 Bytes

Versions: 2

Compression:

Stored size: 248 Bytes

Contents

class AbstractSyntaxTreeKit
  class Node
    class WHILE < Node
      attr_reader :condition, :body

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