![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <symbols.h>
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 |
| QByteArrayView | lexemView () const |
| QByteArrayView | unquotedLexemView () const |
| void | mergeStringLiteral (const Symbol &next) |
| 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 |
Referenced by Moc::parse(), and Preprocessor::tokenize().
|
inline |
Definition at line 48 of file symbols.h.
References lineNum, and token.
Referenced by Preprocessor::macroExpandIdentifier(), and Preprocessor::tokenize().
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 1006 of file preprocessor.cpp.
|
inline |
|
inline |
| QByteArray Symbol::lex |
| int Symbol::lineNum = -1 |
Definition at line 57 of file symbols.h.
Referenced by Symbol(), Symbol(), Symbol(), composePreprocessorOutput(), Preprocessor::macroExpand(), and Parser::printMsg().
| Token Symbol::token = NOTOKEN |
Definition at line 58 of file symbols.h.
Referenced by Symbol(), Symbol(), Symbol(), composePreprocessorOutput(), Preprocessor::macroExpandIdentifier(), mergeStringLiterals(), Moc::parse(), Preprocessor::substituteUntilNewline(), and SymbolStack::token().