LL1Checker
3.0
“Tool for verifying LL(1) grammars and validating input strings.”
Loading...
Searching...
No Matches
include
lexer_error.hpp
1
#pragma once
2
#include <stdexcept>
3
class
LexerError :
public
std::exception {
4
public
:
5
explicit
LexerError(std::string msg) : msg_(std::move(msg)) {}
6
[[nodiscard]]
const
char
* what()
const
noexcept
override
{
7
return
msg_.c_str();
8
}
9
10
private
:
11
std::string msg_;
12
};
Generated by
1.13.2