# encoding: utf-8 # frozen_string_literal: true module Carbon module Compiler module Node module Statement # A while loop. This creates a loop that executes while a given # condition is true. # This has two children: the condition to check for truthiness, and # the body to execute. This takes the form of # `while() `. class While < Base attributes condition: 0, body: 1 end end end end end