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