(self)
| 1306 | """ |
| 1307 | |
| 1308 | def to_string(self): |
| 1309 | if not self.is_valid: |
| 1310 | return self._format_null() |
| 1311 | value = self.val['value'] |
| 1312 | if self.type_name == "HalfFloatType": |
| 1313 | return (f"{self._format_type()} " |
| 1314 | f"of value {half_float_value(value)} [{value}]") |
| 1315 | if self.type_name in ("UInt8Type", "Int8Type"): |
| 1316 | value = value.cast(gdb.lookup_type('int')) |
| 1317 | return f"{self._format_type()} of value {value}" |
| 1318 | |
| 1319 | |
| 1320 | class TimeScalarPrinter(ScalarPrinter): |
nothing calls this directly
no test coverage detected