Class: Wardite::CodeSection::CodeBody

Inherits:
Object
  • Object
show all
Defined in:
lib/wardite/load.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#bodyObject

: Array[[Symbol, Symbol, Array, Integer?, Integer?]]



130
131
132
# File 'lib/wardite/load.rb', line 130

def body
  @body
end

#locals_countObject

: Array



126
127
128
# File 'lib/wardite/load.rb', line 126

def locals_count
  @locals_count
end

#locals_typeObject

: Array



128
129
130
# File 'lib/wardite/load.rb', line 128

def locals_type
  @locals_type
end