Class: Carbon::Compiler::Node::Statement::Try

Inherits:
Base
  • Object
show all
Defined in:
lib/carbon/compiler/node/statement/try.rb

Overview

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>`.

Instance Attribute Summary

Attributes inherited from Base

#children, #location

Method Summary

Methods inherited from Base

#[], #accept, #attributes!, #behavior?, #data, #data?, #each, #identity?, #initialize, #map!, mapping, #merge!, #type!, #update!

Constructor Details

This class inherits a constructor from Carbon::Compiler::Node::Base