Sha256: 59c7f0280192ab844ed0678b4d06341a727cfe08b523617fe82a9d50327d352c

Contents?: true

Size: 494 Bytes

Versions: 1

Compression:

Stored size: 494 Bytes

Contents

# encoding: utf-8
# frozen_string_literal: true

module Carbon
  module Compiler
    module Node
      module Statement
        # A "try" statement.  This is used in try/catch/finally for
        # exception handling.
        # This has two children: the body to attempt to execute, and the
        # following catch/finally block.  This takes the form of
        # `try <Body> <Follow>`.
        class Try < Base
          attributes body: 0, follow: 1
        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/try.rb