Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
|
#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 |
|
inline |
|
inline |
|
inline |
Definition at line 60 of file symbols.h.
References from, lex, and QByteArray::mid().
Referenced by composePreprocessorOutput(), Parser::defaultErrorMsg(), Parser::lexem(), SymbolStack::lexem(), Moc::lexemUntil(), Preprocessor::macroExpandIdentifier(), QSvgHandler::parseCSStoXMLAttrs(), and QCss::Parser::parseFunction().
|
inline |
|
inline |
|
inline |
Definition at line 61 of file symbols.h.
References from, lex, and QByteArray::mid().
Referenced by Moc::parseClassInfo(), Moc::parseEnum(), Preprocessor::tokenize(), Parser::unquotedLexem(), and SymbolStack::unquotedLexem().
qsizetype Symbol::from = 0 |
Definition at line 68 of file symbols.h.
Referenced by lexem(), operator SubArray(), operator==(), and unquotedLexem().
qsizetype Symbol::len = -1 |
Definition at line 69 of file symbols.h.
Referenced by QSvgHandler::parseCSStoXMLAttrs().
QByteArray Symbol::lex |
Definition at line 67 of file symbols.h.
Referenced by lexem(), operator SubArray(), operator==(), and unquotedLexem().
int Symbol::lineNum = -1 |
Definition at line 58 of file symbols.h.
Referenced by composePreprocessorOutput(), Parser::defaultErrorMsg(), Parser::printMsg(), and Preprocessor::tokenize().
Token Symbol::token = NOTOKEN |
Definition at line 59 of file symbols.h.
Referenced by composePreprocessorOutput(), Parser::lookup(), Preprocessor::macroExpandIdentifier(), Parser::next(), Parser::peek(), Preprocessor::skipBranch(), Preprocessor::skipUntilEndif(), Parser::test(), QCss::Parser::test(), Moc::testFunctionAttribute(), Parser::token(), SymbolStack::token(), Preprocessor::tokenize(), Moc::until(), and QCss::Parser::until().