# encoding: utf-8 # frozen_string_literal: true module Carbon module Compiler module Node module Statement # A "catch" statement. This is used in try/catch/finally for # exception handling. # This has four children: the name of the variable to localize, # the "klass" (type) of the variable, the body of the catch statement, # and the following catch/finally statement. This takes the form of # `catch : `. class Catch < Base attributes name: 0, type: 1, body: 2, follow: 3 end end end end end