Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <lalr.h>
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 |
std::pair< ItemPointer, bool > | insert (const Item &item) |
std::pair< ItemPointer, bool > | insertClosure (const Item &item) |
State (const char *token) | |
bool | operator== (const State &o) const |
Public Attributes | |
QByteArray | token |
int | next [128] |
int | nextindex |
char | defchar |
int | defnext |
const char * | ident |
ItemList | kernel |
ItemList | closure |
Bundle | bundle |
QMap< Name, NameSet > | reads |
QMap< Name, NameSet > | follows |
RulePointer | defaultReduce |
Definition at line 255 of file generate_keywords.cpp.
|
inline |
Definition at line 257 of file generate_keywords.cpp.
References defchar, defnext, ident, next, and nextindex.
Referenced by makeTable(), newState(), and newState().
State::State | ( | Grammar * | grammar | ) |
Definition at line 137 of file lalr.cpp.
References defaultReduce, and Grammar::rules.
Referenced by Automaton::build(), and _Bucket::toState().
|
inline |
Definition at line 257 of file generate_keywords.cpp.
std::pair< ItemPointer, bool > State::insert | ( | const Item & | item | ) |
std::pair< ItemPointer, bool > State::insertClosure | ( | const Item & | item | ) |
|
inline |
|
inline |
Definition at line 270 of file generate_keywords.cpp.
|
inline |
Definition at line 270 of file generate_keywords.cpp.
|
inline |
ItemList State::closure |
Definition at line 124 of file lalr.h.
Referenced by insertClosure().
RulePointer State::defaultReduce |
char State::defchar |
Definition at line 265 of file generate_keywords.cpp.
Referenced by State().
int State::defnext |
Definition at line 266 of file generate_keywords.cpp.
Referenced by State().
const char * State::ident |
Definition at line 268 of file generate_keywords.cpp.
Referenced by State().
ItemList State::kernel |
Definition at line 123 of file lalr.h.
Referenced by insert(), operator!=(), and operator==().
int State::next |
Definition at line 262 of file generate_keywords.cpp.
Referenced by State().
int State::nextindex |
Definition at line 263 of file generate_keywords.cpp.
Referenced by State().
QByteArray State::token |
Definition at line 261 of file generate_keywords.cpp.