Sha256: d96f2ef90087966682baa2dd5e033e931036bdb18b8b89a9e409277aee61c3c4
Contents?: true
Size: 502 Bytes
Versions: 1
Compression:
Stored size: 502 Bytes
Contents
# 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(<Condition>) <Body>`. class While < Base attributes condition: 0, body: 1 end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
carbon-compiler-0.2.0 | lib/carbon/compiler/node/statement/while.rb |