![]() |
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 |
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 |
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(), Moc::parse(), Preprocessor::substituteUntilNewline(), and SymbolStack::token().