Class: Wardite::CodeSection::CodeBody

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(&blk) ⇒ CodeBody

Returns a new instance of CodeBody.



70
71
72
# File 'lib/wardite.rb', line 70

def initialize(&blk)
  blk.call(self)
end

Instance Attribute Details

#bodyObject

: Array



66
67
68
# File 'lib/wardite.rb', line 66

def body
  @body
end

#locals_countObject

: Array



62
63
64
# File 'lib/wardite.rb', line 62

def locals_count
  @locals_count
end

#locals_typeObject

: Array



64
65
66
# File 'lib/wardite.rb', line 64

def locals_type
  @locals_type
end