Class: RDwarf::LocationList

Inherits:
Array
  • Object
show all
Defined in:
lib/rdwarf.rb,
ext/rdwarf/rdwarf.c

Overview

Attribute

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#expression_offsetObject (readonly)

Returns the value of attribute expression_offset.



162
163
164
# File 'lib/rdwarf.rb', line 162

def expression_offset
  @expression_offset
end

#hipcObject (readonly)

Returns the value of attribute hipc.



160
161
162
# File 'lib/rdwarf.rb', line 160

def hipc
  @hipc
end

#lleObject (readonly)

Returns the value of attribute lle.



158
159
160
# File 'lib/rdwarf.rb', line 158

def lle
  @lle
end

#locdesc_offsetObject (readonly)

Returns the value of attribute locdesc_offset.



163
164
165
# File 'lib/rdwarf.rb', line 163

def locdesc_offset
  @locdesc_offset
end

#lowpcObject (readonly)

Returns the value of attribute lowpc.



159
160
161
# File 'lib/rdwarf.rb', line 159

def lowpc
  @lowpc
end

#sourceObject (readonly)

Returns the value of attribute source.



161
162
163
# File 'lib/rdwarf.rb', line 161

def source
  @source
end

Instance Method Details

#inspectObject



165
166
167
# File 'lib/rdwarf.rb', line 165

def inspect
  "#<#{self.class}: lle=#@lle, lowpc=#{"0x%x" % @lowpc}, hipc=#{"0x%x" % @hipc}, source=#@source, expression_offset=#{"0x%x" % @expression_offset}, locdesc_offset=#{"0x%x" % @locdesc_offset}, [#{self.collect {|desc| desc.inspect}.join(", ")}]>"
end