Class: RDwarf::LocationDescriptor
- Inherits:
-
Object
- Object
- RDwarf::LocationDescriptor
- Defined in:
- lib/rdwarf.rb,
ext/rdwarf/rdwarf.c
Instance Attribute Summary collapse
-
#atom ⇒ Object
readonly
Returns the value of attribute atom.
-
#offset_for_branch ⇒ Object
readonly
Returns the value of attribute offset_for_branch.
-
#operand1 ⇒ Object
readonly
Returns the value of attribute operand1.
-
#operand2 ⇒ Object
readonly
Returns the value of attribute operand2.
-
#operand3 ⇒ Object
readonly
Returns the value of attribute operand3.
Instance Method Summary collapse
Instance Attribute Details
#atom ⇒ Object (readonly)
Returns the value of attribute atom.
171 172 173 |
# File 'lib/rdwarf.rb', line 171 def atom @atom end |
#offset_for_branch ⇒ Object (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 |
#operand1 ⇒ Object (readonly)
Returns the value of attribute operand1.
172 173 174 |
# File 'lib/rdwarf.rb', line 172 def operand1 @operand1 end |
#operand2 ⇒ Object (readonly)
Returns the value of attribute operand2.
173 174 175 |
# File 'lib/rdwarf.rb', line 173 def operand2 @operand2 end |
#operand3 ⇒ Object (readonly)
Returns the value of attribute operand3.
174 175 176 |
# File 'lib/rdwarf.rb', line 174 def operand3 @operand3 end |
Instance Method Details
#inspect ⇒ Object
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 |