(self)
| 1289 | """ |
| 1290 | |
| 1291 | def to_string(self): |
| 1292 | if not self.is_valid: |
| 1293 | return self._format_null() |
| 1294 | value = self.val['value'] |
| 1295 | if self.type_name == "HalfFloatType": |
| 1296 | return (f"{self._format_type()} " |
| 1297 | f"of value {half_float_value(value)} [{value}]") |
| 1298 | if self.type_name in ("UInt8Type", "Int8Type"): |
| 1299 | value = value.cast(gdb.lookup_type('int')) |
| 1300 | return f"{self._format_type()} of value {value}" |
| 1301 | |
| 1302 | |
| 1303 | class TimeScalarPrinter(ScalarPrinter): |
nothing calls this directly
no test coverage detected