# 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() `. class ElsIf < Base attributes condition: 0, body: 1, follow: 2 end end end end end