|
| Pos (uint32_t line, uint32_t column, Origin origin) |
|
| Pos (Pos &other)=default |
|
| Pos (const Pos &other)=default |
|
| Pos (Pos &&other)=default |
|
| Pos (const Pos *other) |
|
| operator bool () const |
|
| operator std::shared_ptr< Pos > () const |
|
std::optional< std::string > | getSource () const |
|
void | print (std::ostream &out, bool showOrigin) const |
|
std::optional< LinesOfCode > | getCodeLines () const |
|
bool | operator== (const Pos &rhs) const =default |
|
auto | operator<=> (const Pos &rhs) const =default |
|
std::optional< std::string > | getSnippetUpTo (const Pos &end) const |
|
std::optional< SourcePath > | getSourcePath () const |
|
A position and an origin for that position (like a source file).