|
GREM 3.12.0
Game/Rendering Engine Modules for C++
|
Line and column numbers of a location in a JSON source string. More...
#include <GREM/core/formats/json.hpp>
Public Member Functions | |
| constexpr bool | operator== (const SourceLocation &other) const =default |
| Compare this source location to another for equality. | |
Public Attributes | |
| size_t | lineNumber = 1 |
| Line number, starting at 1 for the first line. | |
| size_t | columnNumber = 1 |
| Column number, starting at 1 for the first column. | |
Line and column numbers of a location in a JSON source string.
|
nodiscardconstexprdefault |
Compare this source location to another for equality.
| other | the source location to compare this one to. |
| size_t grem::json::SourceLocation::lineNumber = 1 |
Line number, starting at 1 for the first line.
A value of 0 means no particular line.
| size_t grem::json::SourceLocation::columnNumber = 1 |
Column number, starting at 1 for the first column.
A value of 0 means no particular column.