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

#include <buffalo.h>

Public Member Functions

bool Complete () const
 
LRItem Advance () const
 
Symbol< GNextSymbol () const
 
bool operator== (LRItem const &other) const
 
 LRItem (ProductionRule< G > const *rule, int position=0)
 
 LRItem ()=delete
 

Public Attributes

ProductionRule< G > construle
 
std::size_t position
 

Detailed Description

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

LR ITEM

Template Parameters
G

Definition at line 673 of file buffalo.h.

Constructor & Destructor Documentation

◆ LRItem() [1/2]

template<IGrammar G>
bf::LRItem< G >::LRItem ( ProductionRule< G > const rule,
int  position = 0 
)
inline

Definition at line 698 of file buffalo.h.

◆ LRItem() [2/2]

template<IGrammar G>
bf::LRItem< G >::LRItem ( )
delete

Member Function Documentation

◆ Advance()

template<IGrammar G>
LRItem bf::LRItem< G >::Advance ( ) const
inline

Definition at line 683 of file buffalo.h.

◆ Complete()

template<IGrammar G>
bool bf::LRItem< G >::Complete ( ) const
inline

Definition at line 678 of file buffalo.h.

◆ NextSymbol()

template<IGrammar G>
Symbol< G > bf::LRItem< G >::NextSymbol ( ) const
inline

Definition at line 688 of file buffalo.h.

◆ operator==()

template<IGrammar G>
bool bf::LRItem< G >::operator== ( LRItem< G > const other) const
inline

Definition at line 693 of file buffalo.h.

Member Data Documentation

◆ position

template<IGrammar G>
std::size_t bf::LRItem< G >::position

Definition at line 676 of file buffalo.h.

◆ rule

template<IGrammar G>
ProductionRule<G> const* bf::LRItem< G >::rule

Definition at line 675 of file buffalo.h.


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