buffalo
|
#include <buffalo.h>
Public Member Functions | |
SemanticType | operator() (typename G::ValueType &value) |
std::optional< Token< G > > | Lex (std::string_view input) const override |
constexpr | DefineTerminal (Associativity assoc=bf::None, typename G::UserDataType user_data={}, typename Terminal< G >::ReasonerType reasoner=nullptr) |
constexpr | DefineTerminal (Associativity assoc, typename Terminal< G >::ReasonerType reasoner) |
constexpr | DefineTerminal (typename G::UserDataType user_data) |
constexpr | DefineTerminal (typename G::UserDataType user_data, typename Terminal< G >::ReasonerType reasoner) |
constexpr | DefineTerminal (typename Terminal< G >::ReasonerType reasoner) |
Public Member Functions inherited from bf::Terminal< G > | |
std::optional< typename G::ValueType > | Reason (Token< G > const &token) const |
Terminal (Terminal< G > &&)=delete | |
Terminal (Terminal< G > const &)=delete | |
Additional Inherited Members | |
Public Types inherited from bf::Terminal< G > | |
using | ReasonerType = typename G::ValueType(*)(Token< G > const &) |
Public Attributes inherited from bf::Terminal< G > | |
std::size_t | precedence = Terminal::counter++ |
Associativity | associativity = Associativity::None |
G::UserDataType | user_data |
Public Attributes inherited from bf::DebugSymbol | |
char const * | debug_name = "Generic Symbol" |
Protected Member Functions inherited from bf::Terminal< G > | |
Terminal ()=default | |
Protected Attributes inherited from bf::Terminal< G > | |
ReasonerType | reasoner_ = nullptr |
Static Protected Attributes inherited from bf::Terminal< G > | |
static std::size_t | counter = 0 |
DEFINE TERMINAL
G |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineoverridevirtual |
Reimplemented from bf::Terminal< G >.
|
inline |