|
SciLex
A header-only C++20 lexer built on REAL
|
Thrown when a line's indentation matches no enclosing level. More...
#include <layout.hpp>
Public Member Functions | |
| layout_error (const std::string &message, position where) | |
| Builds the error. | |
| position | where () const noexcept |
| Returns the position of the offending line. | |
Private Attributes | |
| position | where_ |
| Where the indentation was inconsistent. | |
Thrown when a line's indentation matches no enclosing level.
Definition at line 65 of file layout.hpp.
|
inline |
Builds the error.
| [in] | message | Cause. |
| [in] | where | Position. |
Definition at line 70 of file layout.hpp.
|
inlinenoexcept |
Returns the position of the offending line.
Definition at line 77 of file layout.hpp.
|
private |
Where the indentation was inconsistent.
Definition at line 84 of file layout.hpp.