buffalo
Loading...
Searching...
No Matches
bf::DefineNonTerminal< G, SemanticValue > Class Template Reference

#include <buffalo.h>

Inheritance diagram for bf::DefineNonTerminal< G, SemanticValue >:
bf::NonTerminal< G >

Public Member Functions

SemanticValue operator() (typename G::ValueType &value)
 
 DefineNonTerminal ()=delete
 
 DefineNonTerminal (ProductionRule< G > const &rule)
 
 DefineNonTerminal (ProductionRuleList< G > const &rule_list)
 
- Public Member Functions inherited from bf::NonTerminal< G >
 NonTerminal (NonTerminal &)=delete
 
 NonTerminal (NonTerminal &&)=delete
 
 NonTerminal ()=default
 
 NonTerminal (ProductionRule< G > const &rule)
 
 NonTerminal (ProductionRuleList< G > const &rule_list)
 

Additional Inherited Members

- Public Types inherited from bf::NonTerminal< G >
using TransductorType = typename G::ValueType(*)(std::vector< typename G::ValueType > &)
 
- Protected Attributes inherited from bf::NonTerminal< G >
std::vector< ProductionRule< G > > rules_
 

Detailed Description

template<IGrammar G, typename SemanticValue = void>
class bf::DefineNonTerminal< G, SemanticValue >

DEFINE NON-TERMINAL

Definition at line 330 of file buffalo.h.

Constructor & Destructor Documentation

◆ DefineNonTerminal() [1/3]

template<IGrammar G, typename SemanticValue = void>
bf::DefineNonTerminal< G, SemanticValue >::DefineNonTerminal ( )
delete

◆ DefineNonTerminal() [2/3]

template<IGrammar G, typename SemanticValue = void>
bf::DefineNonTerminal< G, SemanticValue >::DefineNonTerminal ( ProductionRule< G > const rule)
inline

Definition at line 352 of file buffalo.h.

◆ DefineNonTerminal() [3/3]

template<IGrammar G, typename SemanticValue = void>
bf::DefineNonTerminal< G, SemanticValue >::DefineNonTerminal ( ProductionRuleList< G > const rule_list)
inline

Definition at line 353 of file buffalo.h.

Member Function Documentation

◆ operator()()

Definition at line 333 of file buffalo.h.


The documentation for this class was generated from the following file: