(self)
| 1478 | """ |
| 1479 | |
| 1480 | def to_string(self): |
| 1481 | type_code = self.val['type_code'].cast(gdb.lookup_type('int')) |
| 1482 | if not self.is_valid: |
| 1483 | return (f"{self._format_type()} of type {self.type}, " |
| 1484 | f"type code {type_code}, null value") |
| 1485 | eval_values = StdVector(self.val['value']) |
| 1486 | child_id = self.val['child_id'].cast(gdb.lookup_type('int')) |
| 1487 | return (f"{self._format_type()} of type code {type_code}, " |
| 1488 | f"value {deref(eval_values[child_id])}") |
| 1489 | |
| 1490 | |
| 1491 |
nothing calls this directly
no test coverage detected