Introduced a parallel indexer. It is ifdef-out atm.

This commit is contained in:
Roberto Raggi
2009-02-24 11:04:52 +01:00
parent e07ed90b6a
commit bfe36575b7
3 changed files with 102 additions and 23 deletions

View File

@@ -96,8 +96,15 @@ public:
ParseStatement
};
bool isTokenized() const;
void tokenize();
bool isParsed() const;
bool parse(ParseMode mode = ParseTranlationUnit);
void check();
void releaseSource();
void releaseTranslationUnit();
static Ptr create(const QString &fileName);
@@ -233,6 +240,7 @@ private:
QList<Macro> _definedMacros;
QList<Block> _skippedBlocks;
QList<MacroUse> _macroUses;
QByteArray _source;
};
class CPLUSPLUS_EXPORT Snapshot: public QMap<QString, Document::Ptr>