QtBase  v6.3.1
Public Member Functions | Public Attributes | List of all members
State Struct Reference

#include <lalr.h>

Collaboration diagram for State:
Collaboration graph
[legend]

Public Member Functions

 State (const char *token)
 
bool operator== (const State &o) const
 
 State (Grammar *grammar)
 
bool operator== (const State &other) const
 
bool operator!= (const State &other) const
 
QPair< ItemPointer, bool > insert (const Item &item)
 
QPair< ItemPointer, bool > insertClosure (const Item &item)
 

Public Attributes

QByteArray token
 
int next [128]
 
int nextindex
 
char defchar
 
int defnext
 
const char * ident
 
ItemList kernel
 
ItemList closure
 
Bundle bundle
 
QMap< Name, NameSetreads
 
QMap< Name, NameSetfollows
 
RulePointer defaultReduce
 
QString symbol
 
TransitionMap transitions
 

Detailed Description

Definition at line 278 of file generate_keywords.cpp.

Constructor & Destructor Documentation

◆ State() [1/2]

State::State ( const char *  token)
inline

Definition at line 280 of file generate_keywords.cpp.

◆ State() [2/2]

State::State ( Grammar grammar)

Member Function Documentation

◆ insert()

QPair<ItemPointer, bool> State::insert ( const Item item)
Here is the caller graph for this function:

◆ insertClosure()

QPair<ItemPointer, bool> State::insertClosure ( const Item item)

◆ operator!=()

bool State::operator!= ( const State other) const
inline

Definition at line 142 of file lalr.h.

Here is the call graph for this function:

◆ operator==() [1/2]

bool State::operator== ( const State o) const
inline

Definition at line 293 of file generate_keywords.cpp.

◆ operator==() [2/2]

bool State::operator== ( const State other) const
inline

Definition at line 139 of file lalr.h.

Here is the call graph for this function:

Member Data Documentation

◆ bundle

Bundle State::bundle

Definition at line 151 of file lalr.h.

◆ closure

ItemList State::closure

Definition at line 150 of file lalr.h.

◆ defaultReduce

RulePointer State::defaultReduce

Definition at line 154 of file lalr.h.

◆ defchar

char State::defchar

Definition at line 288 of file generate_keywords.cpp.

◆ defnext

int State::defnext

Definition at line 289 of file generate_keywords.cpp.

◆ follows

QMap<Name, NameSet> State::follows

Definition at line 153 of file lalr.h.

◆ ident

const char* State::ident

Definition at line 291 of file generate_keywords.cpp.

◆ kernel

ItemList State::kernel

Definition at line 149 of file lalr.h.

◆ next

int State::next[128]

Definition at line 285 of file generate_keywords.cpp.

◆ nextindex

int State::nextindex

Definition at line 286 of file generate_keywords.cpp.

◆ reads

QMap<Name, NameSet> State::reads

Definition at line 152 of file lalr.h.

◆ symbol

QString State::symbol

Definition at line 46 of file nfa.h.

◆ token

QByteArray State::token

Definition at line 284 of file generate_keywords.cpp.

◆ transitions

TransitionMap State::transitions

Definition at line 47 of file nfa.h.


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