Class: CastOff::Compiler::SimpleIR::ReturnIR::ThrowObj
- Inherits:
-
Object
- Object
- CastOff::Compiler::SimpleIR::ReturnIR::ThrowObj
- Defined in:
- lib/cast_off/compile/ir/return_ir.rb
Instance Attribute Summary collapse
-
#raw_state ⇒ Object
readonly
Returns the value of attribute raw_state.
-
#state ⇒ Object
readonly
Returns the value of attribute state.
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(type, raw_state, state, flag, level) ⇒ ThrowObj
constructor
A new instance of ThrowObj.
Constructor Details
#initialize(type, raw_state, state, flag, level) ⇒ ThrowObj
Returns a new instance of ThrowObj.
11 12 13 14 15 |
# File 'lib/cast_off/compile/ir/return_ir.rb', line 11 def initialize(type, raw_state, state, flag, level) @type = type @raw_state = raw_state @state = state end |
Instance Attribute Details
#raw_state ⇒ Object (readonly)
Returns the value of attribute raw_state.
9 10 11 |
# File 'lib/cast_off/compile/ir/return_ir.rb', line 9 def raw_state @raw_state end |
#state ⇒ Object (readonly)
Returns the value of attribute state.
9 10 11 |
# File 'lib/cast_off/compile/ir/return_ir.rb', line 9 def state @state end |
#type ⇒ Object (readonly)
Returns the value of attribute type.
9 10 11 |
# File 'lib/cast_off/compile/ir/return_ir.rb', line 9 def type @type end |