buffalo
|
#include <buffalo.h>
Public Member Functions | |
Grammar< G > const & | GetGrammar () const |
std::expected< typename G::ValueType, Error > | Parse (std::string_view input, std::vector< Token< G > > *tokens=nullptr) override |
SLRParser ()=delete | |
Public Member Functions inherited from bf::Parser< G > | |
virtual | ~Parser ()=default |
Static Public Member Functions | |
static std::expected< SLRParser, Error > | Build (NonTerminal< G > &start) |
Protected Member Functions | |
SLRParser (NonTerminal< G > &start) | |
SLR PARSER
G |
|
inlineprotected |
|
delete |
Construction of a parser can generate grammar errors. Use SLRParser<G>::Build to create.
|
inlinestatic |
|
inline |
|
inlineoverridevirtual |
Implements bf::Parser< G >.