Class: Wardite::CodeSection::CodeBody
- Inherits:
-
Object
- Object
- Wardite::CodeSection::CodeBody
- Defined in:
- lib/wardite/load.rb
Instance Attribute Summary collapse
-
#body ⇒ Object
: Array[[Symbol, Symbol, Array, Integer?, Integer?]].
-
#locals_count ⇒ Object
: Array.
-
#locals_type ⇒ Object
: Array.
Instance Method Summary collapse
-
#initialize(&blk) ⇒ CodeBody
constructor
A new instance of CodeBody.
Constructor Details
#initialize(&blk) ⇒ CodeBody
Returns a new instance of CodeBody.
134 135 136 |
# File 'lib/wardite/load.rb', line 134 def initialize(&blk) blk.call(self) end |
Instance Attribute Details
#body ⇒ Object
: Array[[Symbol, Symbol, Array, Integer?, Integer?]]
130 131 132 |
# File 'lib/wardite/load.rb', line 130 def body @body end |
#locals_count ⇒ Object
: Array
126 127 128 |
# File 'lib/wardite/load.rb', line 126 def locals_count @locals_count end |
#locals_type ⇒ Object
: Array
128 129 130 |
# File 'lib/wardite/load.rb', line 128 def locals_type @locals_type end |