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