Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QMakeParser Class Reference

#include <qmakeparser.h>

+ Collaboration diagram for QMakeParser:

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)
 
ProFileparsedProFile (const QString &fileName, ParseFlags flags=ParseDefault)
 
ProFileparsedProBlock (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
 

Detailed Description

Definition at line 48 of file qmakeparser.h.

Member Enumeration Documentation

◆ ParseFlag

Enumerator
ParseDefault 
ParseUseCache 
ParseReportMissing 
ParseCumulative 

Definition at line 54 of file qmakeparser.h.

◆ SubGrammar

Enumerator
FullGrammar 
TestGrammar 
ValueGrammar 

Definition at line 68 of file qmakeparser.h.

Constructor & Destructor Documentation

◆ QMakeParser()

QMakeParser::QMakeParser ( ProFileCache * cache,
QMakeVfs * vfs,
QMakeParserHandler * handler )

Definition at line 150 of file qmakeparser.cpp.

References initialize().

+ Here is the call graph for this function:

Member Function Documentation

◆ discardFileFromCache()

void QMakeParser::discardFileFromCache ( int id)

Definition at line 231 of file qmakeparser.cpp.

References ProFileCache::discardFile().

Referenced by QMakeEvaluator::writeFile().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ initialize()

void QMakeParser::initialize ( )
static

Definition at line 128 of file qmakeparser.cpp.

Referenced by QMakeParser().

+ Here is the caller graph for this function:

◆ parsedProBlock()

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().

+ Here is the call graph for this function:

◆ parsedProFile()

ProFile * QMakeParser::parsedProFile ( const QString & fileName,
ParseFlags flags = ParseDefault )

Definition at line 159 of file qmakeparser.cpp.

References ProFile::itemsRef(), ParseUseCache, and ProFile::ref().

+ Here is the call graph for this function:

Friends And Related Symbol Documentation

◆ ProFileCache

friend class ProFileCache
friend

Definition at line 170 of file qmakeparser.h.

◆ QTypeInfo

template<typename T >
friend class QTypeInfo
friend

Definition at line 168 of file qmakeparser.h.


The documentation for this class was generated from the following files: