Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
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.

References dot, and rule.

Referenced by next().

+ Here is the caller graph for this function:

◆ next()

Item Item::next ( ) const

Definition at line 104 of file lalr.cpp.

References dot, isReduceItem(), Q_ASSERT, 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.

References dot, other(), and rule.

+ Here is the call graph for this function:

◆ operator==()

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

Definition at line 92 of file lalr.h.

References dot, other(), and rule.

+ Here is the call graph for this function:

Member Data Documentation

◆ dot

NameList::iterator Item::dot

Definition at line 105 of file lalr.h.

Referenced by isReduceItem(), next(), operator!=(), and operator==().

◆ rule

RulePointer Item::rule

Definition at line 104 of file lalr.h.

Referenced by begin_rhs(), Automaton::closure(), end_rhs(), isReduceItem(), next(), operator!=(), and operator==().


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