buffalo
Loading...
Searching...
No Matches
bf::NonTerminal< G > Class Template Reference

#include <buffalo.h>

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

Public Types

using TransductorType = typename G::ValueType(*)(std::vector< typename G::ValueType > &)
 

Public Member Functions

 NonTerminal (NonTerminal &)=delete
 
 NonTerminal (NonTerminal &&)=delete
 
 NonTerminal ()=default
 
 NonTerminal (ProductionRule< G > const &rule)
 
 NonTerminal (ProductionRuleList< G > const &rule_list)
 

Protected Attributes

std::vector< ProductionRule< G > > rules_
 

Friends

class Grammar< G >
 
struct LRState< G >
 

Detailed Description

template<IGrammar G>
class bf::NonTerminal< G >

NON-TERMINAL

Definition at line 305 of file buffalo.h.

Member Typedef Documentation

◆ TransductorType

template<IGrammar G>
using bf::NonTerminal< G >::TransductorType = typename G::ValueType(*)(std::vector<typename G::ValueType> &)

Definition at line 311 of file buffalo.h.

Constructor & Destructor Documentation

◆ NonTerminal() [1/5]

template<IGrammar G>
bf::NonTerminal< G >::NonTerminal ( NonTerminal< G > &  )
delete

◆ NonTerminal() [2/5]

template<IGrammar G>
bf::NonTerminal< G >::NonTerminal ( NonTerminal< G > &&  )
delete

◆ NonTerminal() [3/5]

template<IGrammar G>
bf::NonTerminal< G >::NonTerminal ( )
default

◆ NonTerminal() [4/5]

template<IGrammar G>
bf::NonTerminal< G >::NonTerminal ( ProductionRule< G > const rule)
inline

Definition at line 322 of file buffalo.h.

◆ NonTerminal() [5/5]

template<IGrammar G>
bf::NonTerminal< G >::NonTerminal ( ProductionRuleList< G > const rule_list)
inline

Definition at line 323 of file buffalo.h.

Friends And Related Symbol Documentation

◆ Grammar< G >

template<IGrammar G>
friend class Grammar< G >
friend

Definition at line 298 of file buffalo.h.

◆ LRState< G >

template<IGrammar G>
friend struct LRState< G >
friend

Definition at line 298 of file buffalo.h.

Member Data Documentation

◆ rules_

template<IGrammar G>
std::vector<ProductionRule<G> > bf::NonTerminal< G >::rules_
protected

Definition at line 314 of file buffalo.h.


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