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.



83
84
85
# File 'lib/wardite.rb', line 83

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

Instance Attribute Details

#bodyObject

: Array



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

def body
  @body
end

#locals_countObject

: Array



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

def locals_count
  @locals_count
end

#locals_typeObject

: Array



77
78
79
# File 'lib/wardite.rb', line 77

def locals_type
  @locals_type
end