Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
Item Class Reference

#include <lalr.h>

+ Collaboration diagram for Item:

Public Member Functions

NameList::iterator begin_rhs () const
 
NameList::iterator end_rhs () const
 
bool operator== (const Item &other) const
 
bool operator!= (const Item &other) const
 
bool isReduceItem () const
 
Item next () const
 

Public Attributes

RulePointer rule
 
NameList::iterator dot
 

Detailed Description

Definition at line 83 of file lalr.h.

Member Function Documentation

◆ begin_rhs()

NameList::iterator Item::begin_rhs ( ) const
inline

Definition at line 86 of file lalr.h.

References rule.

◆ end_rhs()

NameList::iterator Item::end_rhs ( ) const
inline

Definition at line 89 of file lalr.h.

References rule.

◆ isReduceItem()

bool Item::isReduceItem ( ) const
inline

Definition at line 98 of file lalr.h.

Referenced by next(), and operator<<().

+ Here is the caller graph for this function:

◆ next()

Item Item::next ( ) const

Definition at line 104 of file lalr.cpp.

References isReduceItem(), and rule.

+ Here is the call graph for this function:

◆ operator!=()

bool Item::operator!= ( const Item & other) const
inline

Definition at line 95 of file lalr.h.

◆ operator==()

bool Item::operator== ( const Item & other) const
inline

Definition at line 92 of file lalr.h.

Member Data Documentation

◆ dot

NameList::iterator Item::dot

Definition at line 105 of file lalr.h.

◆ rule

RulePointer Item::rule

Definition at line 104 of file lalr.h.

Referenced by begin_rhs(), Automaton::build(), Automaton::closure(), end_rhs(), next(), and operator<<().


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