![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qmakeparser.h>
Public Types | |
| enum | ParseFlag { ParseDefault = 0 , ParseUseCache = 1 , ParseReportMissing = 4 , ParseCumulative = 0 } |
| enum | SubGrammar { FullGrammar , TestGrammar , ValueGrammar } |
Public Member Functions | |
| QMakeParser (ProFileCache *cache, QMakeVfs *vfs, QMakeParserHandler *handler) | |
| ProFile * | parsedProFile (const QString &fileName, ParseFlags flags=ParseDefault) |
| ProFile * | parsedProBlock (QStringView contents, int id, const QString &name, int line=0, SubGrammar grammar=FullGrammar) |
| void | discardFileFromCache (int id) |
Static Public Member Functions | |
| static void | initialize () |
Friends | |
| template<typename T> | |
| class | QTypeInfo |
| class | ProFileCache |
Definition at line 48 of file qmakeparser.h.
| Enumerator | |
|---|---|
| ParseDefault | |
| ParseUseCache | |
| ParseReportMissing | |
| ParseCumulative | |
Definition at line 54 of file qmakeparser.h.
| Enumerator | |
|---|---|
| FullGrammar | |
| TestGrammar | |
| ValueGrammar | |
Definition at line 68 of file qmakeparser.h.
| QMakeParser::QMakeParser | ( | ProFileCache * | cache, |
| QMakeVfs * | vfs, | ||
| QMakeParserHandler * | handler ) |
Definition at line 150 of file qmakeparser.cpp.
References initialize().
| void QMakeParser::discardFileFromCache | ( | int | id | ) |
Definition at line 231 of file qmakeparser.cpp.
References ProFileCache::discardFile().
Referenced by QMakeEvaluator::writeFile().
|
static |
Definition at line 128 of file qmakeparser.cpp.
Referenced by QMakeParser().
| ProFile * QMakeParser::parsedProBlock | ( | QStringView | contents, |
| int | id, | ||
| const QString & | name, | ||
| int | line = 0, | ||
| SubGrammar | grammar = FullGrammar ) |
Definition at line 223 of file qmakeparser.cpp.
References ProFile::ProFile().
| ProFile * QMakeParser::parsedProFile | ( | const QString & | fileName, |
| ParseFlags | flags = ParseDefault ) |
Definition at line 159 of file qmakeparser.cpp.
References ProFile::itemsRef(), ParseUseCache, and ProFile::ref().
|
friend |
Definition at line 170 of file qmakeparser.h.
|
friend |
Definition at line 168 of file qmakeparser.h.