Class: Carbon::Compiler::Node::Statement::Catch
- Defined in:
- lib/carbon/compiler/node/statement/catch.rb
Overview
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 <Name>:<Type> <Body> <Follow>`.
Instance Attribute Summary
Attributes inherited from Base
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