|
ZenitUI
Retained-mode C++20 UI framework
|
Source location for a diagnostic. More...
#include <Diagnostics.hpp>
Public Member Functions | |
| bool | valid () const noexcept |
Public Attributes | |
| std::string | file |
| std::uint32_t | line = 0 |
| std::uint32_t | column = 0 |
| std::uint32_t | length = 0 |
Source location for a diagnostic.
line and column are 1-based. length is 0 when unknown (e.g. for diagnostics that point at a whole rule).