Class: RDwarf::LocationDescriptor

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#atomObject (readonly)

Returns the value of attribute atom.



171
172
173
# File 'lib/rdwarf.rb', line 171

def atom
  @atom
end

#offset_for_branchObject (readonly)

Returns the value of attribute offset_for_branch.



175
176
177
# File 'lib/rdwarf.rb', line 175

def offset_for_branch
  @offset_for_branch
end

#operand1Object (readonly)

Returns the value of attribute operand1.



172
173
174
# File 'lib/rdwarf.rb', line 172

def operand1
  @operand1
end

#operand2Object (readonly)

Returns the value of attribute operand2.



173
174
175
# File 'lib/rdwarf.rb', line 173

def operand2
  @operand2
end

#operand3Object (readonly)

Returns the value of attribute operand3.



174
175
176
# File 'lib/rdwarf.rb', line 174

def operand3
  @operand3
end

Instance Method Details

#inspectObject



177
178
179
# File 'lib/rdwarf.rb', line 177

def inspect
  "#<#{self.class}: atom=#@atom, operand1=#{"0x%x" % @operand1}, operand2=#{"0x%x" % @operand2}, operand3=#{"0x%x" % @operand3}, offset_for_branch=#{"0x%x" % @offset_for_branch}>"
end