buffalo
|
#include <buffalo.h>
Public Member Functions | |
ProductionRule & | operator+ (Terminal< G > &rhs) |
ProductionRule & | operator+ (NonTerminal< G > &rhs) |
ProductionRule & | operator<=> (typename NonTerminal< G >::TransductorType tranductor) |
bool | operator== (ProductionRule< G > const &other) const |
std::optional< typename G::ValueType > | Transduce (std::vector< typename G::ValueType > &args) const |
ProductionRule (Terminal< G > &terminal) | |
ProductionRule (NonTerminal< G > &nonterminal) | |
Protected Attributes | |
NonTerminal< G >::TransductorType | transductor_ = nullptr |
std::vector< Symbol< G > > | sequence_ |
std::size_t | precedence = -1 |
NonTerminal< G > * | non_terminal_ = nullptr |
Friends | |
class | Grammar< G > |
struct | LRItem< G > |
class | Parser< G > |
class | SLRParser< G > |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |
|
protected |
|
protected |
|
protected |