![]() |
Qt 6.x
The Qt SDK
|
#include <symbols.h>
Collaboration diagram for Symbol:Public Member Functions | |
| Symbol ()=default | |
| Symbol (int lineNum, Token token) | |
| Symbol (int lineNum, Token token, const QByteArray &lexem) | |
| Symbol (int lineNum, Token token, const QByteArray &lexem, qsizetype from, qsizetype len) | |
| QByteArray | lexem () const |
| QByteArray | unquotedLexem () const |
| operator SubArray () const | |
| bool | operator== (const Symbol &o) const |
Public Attributes | |
| int | lineNum = -1 |
| Token | token = NOTOKEN |
| QByteArray | lex |
| qsizetype | from = 0 |
| qsizetype | len = -1 |
|
inlinedefault |
|
inline |
|
inline |
|
inline |
Definition at line 92 of file symbols.h.
References from, lex, and QByteArray::mid().
Referenced by composePreprocessorOutput(), Parser::defaultErrorMsg(), SymbolStack::lexem(), Preprocessor::macroExpandIdentifier(), and Moc::parsePropertyAttributes().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
|
inline |
|
inline |
Definition at line 93 of file symbols.h.
References from, lex, and QByteArray::mid().
Referenced by Moc::parseClassInfo(), Moc::parseEnum(), Preprocessor::tokenize(), and SymbolStack::unquotedLexem().
Here is the call graph for this function:
Here is the caller graph for this function:| qsizetype Symbol::from = 0 |
Definition at line 100 of file symbols.h.
Referenced by lexem(), operator SubArray(), operator==(), and unquotedLexem().
| QByteArray Symbol::lex |
Definition at line 99 of file symbols.h.
Referenced by lexem(), operator SubArray(), operator==(), and unquotedLexem().
| int Symbol::lineNum = -1 |
Definition at line 90 of file symbols.h.
Referenced by composePreprocessorOutput(), Parser::defaultErrorMsg(), Preprocessor::macroExpandIdentifier(), Parser::printMsg(), and Preprocessor::tokenize().
| Token Symbol::token = NOTOKEN |
Definition at line 91 of file symbols.h.
Referenced by composePreprocessorOutput(), Preprocessor::macroExpandIdentifier(), Preprocessor::substituteUntilNewline(), SymbolStack::token(), and Preprocessor::tokenize().