|
|
Donner
C++20 SVG rendering library
|
Represents line information within a file, including the line number and the character offset on that line. More...
#include "donner/base/FileOffset.h"
Public Member Functions | |
| bool | operator<=> (const LineInfo &) const =default |
| Equality operator. | |
Public Attributes | |
| size_t | line |
| Line number in the file, 1-based. | |
| size_t | offsetOnLine |
| Character offset on the line (i.e. column index), 0-based. | |
Friends | |
| std::ostream & | operator<< (std::ostream &os, const LineInfo &value) |
| Ostream operator for printing the line information, prints line:offset. | |
Represents line information within a file, including the line number and the character offset on that line.