|
MXVM 1.8.1
Virtual Machine, Compiler, and Pascal Frontend
|
Exception thrown during scanning errors. More...
#include <scanner.hpp>
Public Member Functions | |
| ScanExcept ()=default | |
| ScanExcept (const StringType &why) | |
| Construct a scan exception with a reason string. | |
| StringType | why () const |
| Get the error description. | |
Private Attributes | |
| StringType | msg |
Exception thrown during scanning errors.
Definition at line 80 of file scanner.hpp.
|
default |
|
inline |
Construct a scan exception with a reason string.
| why | Description of the scanning error |
Definition at line 87 of file scanner.hpp.
|
inline |
Get the error description.
Definition at line 89 of file scanner.hpp.
References msg.
Referenced by ScanExcept(), and mxvm::Parser::scan().
|
private |
Definition at line 92 of file scanner.hpp.
Referenced by ScanExcept(), and why().