iris::Location Struct Reference
Doxygen 1.15.0 generates this reference during each site build from the public headers. The C++ guide shows the API in use.
A position in a reader spec or an input. Lines and columns count from 1. More...
#include <iris/error.hpp>
Public Attributes | |
| std::string | origin |
| The name of the reader spec or input. | |
| std::optional< std::size_t > | line |
| The line, if the position has one. | |
| std::optional< std::size_t > | column |
| The column, if the position has one. | |
Detailed Description
A position in a reader spec or an input. Lines and columns count from 1.
Member Data Documentation
column
| std::optional<std::size_t> iris::Location::column |
The column, if the position has one.
line
| std::optional<std::size_t> iris::Location::line |
The line, if the position has one.
origin
| std::string iris::Location::origin |
The name of the reader spec or input.