|
MXVM 1.8.1
Virtual Machine, Compiler, and Pascal Frontend
|
Hex formatting utilities and exception helper implementations. More...
#include "scanner/exception.hpp"#include <csignal>#include <cstdint>#include <iomanip>#include <iostream>#include <sstream>
Go to the source code of this file.
Namespaces | |
| namespace | mx |
Functions | |
| std::string | mx::format_hex64 (uint64_t value) |
| Format a 64-bit value as a hex string with 0x prefix. | |
| std::string | mx::format_hex32 (uint32_t value) |
| Format a 32-bit value as a hex string with 0x prefix. | |
| std::string | mx::format_hex16 (uint16_t value) |
| Format a 16-bit value as a hex string with 0x prefix. | |
| std::string | mx::format_hex8 (uint8_t value) |
| Format an 8-bit value as a hex string with 0x prefix. | |
| std::string | mx::format_hex_no_prefix (uint64_t value) |
| Format a 64-bit value as a hex string without 0x prefix. | |
| std::string | mx::format_signal (uint32_t sig) |
| Format a signal number as a descriptive string. | |
Hex formatting utilities and exception helper implementations.
Definition in file exception.cpp.