buffalo
Loading...
Searching...
No Matches
bf::Short< G > Struct Template Reference

#include <buffalo.h>

Public Member Functions

 Short (Terminal< G > *terminal)
 
 Short (std::span< Terminal< G > * > terminals)
 

Public Attributes

std::set< Terminal< G > * > terminals
 

Detailed Description

template<IGrammar G>
struct bf::Short< G >

ProductionRule attribute class for creating short circuits.

Template Parameters
G

Definition at line 571 of file buffalo.h.

Constructor & Destructor Documentation

◆ Short() [1/2]

template<IGrammar G>
bf::Short< G >::Short ( Terminal< G > *  terminal)
inline

Definition at line 575 of file buffalo.h.

◆ Short() [2/2]

template<IGrammar G>
bf::Short< G >::Short ( std::span< Terminal< G > * >  terminals)
inline

Definition at line 576 of file buffalo.h.

Member Data Documentation

◆ terminals

template<IGrammar G>
std::set<Terminal<G> *> bf::Short< G >::terminals

Definition at line 573 of file buffalo.h.


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