Sha256: 3b6980172cb294e1ca5a9317d6249214282533227cb5ca0766fbca341d335001
Contents?: true
Size: 544 Bytes
Versions: 1
Compression:
Stored size: 544 Bytes
Contents
# encoding: utf-8 # frozen_string_literal: true module Carbon module Compiler module Node module Statement # A for loop. This is used to construct a loop with the given # conditions. This has four children: the initial statement, the # condition, the increment statement, and the body. This takes the # form of `for(<Initial>; <Condition>; <Increment>) <Body>`. class For < Base attributes initial: 0, condition: 1, increment: 2, body: 3 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/for.rb |