Sha256: 8e87b77b8725be25b77993c14bf470396a345f609d0256dd0037892f3a6326f5
Contents?: true
Size: 504 Bytes
Versions: 1
Compression:
Stored size: 504 Bytes
Contents
# encoding: utf-8 # frozen_string_literal: true module Carbon module Compiler module Node module Statement # An If statement. This is used in the if/elsif/else construct for # control flow. This has three children: the children, the body, # and the following elsif/else statement. This takes the form # `if(<Condition>) <Body> <Follow>`. class If < Base attributes condition: 0, body: 1, follow: 2 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/if.rb |