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.



79
80
81
# File 'lib/wardite.rb', line 79

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

Instance Attribute Details

#bodyObject

: Array



75
76
77
# File 'lib/wardite.rb', line 75

def body
  @body
end

#locals_countObject

: Array



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

def locals_count
  @locals_count
end

#locals_typeObject

: Array



73
74
75
# File 'lib/wardite.rb', line 73

def locals_type
  @locals_type
end