(self)
| 1495 | """ |
| 1496 | |
| 1497 | def to_string(self): |
| 1498 | type_code = self.val['type_code'].cast(gdb.lookup_type('int')) |
| 1499 | if not self.is_valid: |
| 1500 | return (f"{self._format_type()} of type {self.type}, " |
| 1501 | f"type code {type_code}, null value") |
| 1502 | eval_values = StdVector(self.val['value']) |
| 1503 | child_id = self.val['child_id'].cast(gdb.lookup_type('int')) |
| 1504 | return (f"{self._format_type()} of type code {type_code}, " |
| 1505 | f"value {deref(eval_values[child_id])}") |
| 1506 | |
| 1507 | |
| 1508 |
nothing calls this directly
no test coverage detected