work save
This commit is contained in:
parent
31ace6b981
commit
447b1fee15
|
@ -1,5 +1,6 @@
|
||||||
#ifndef PARSER_UTILS_H
|
#ifndef PARSER_UTILS_H
|
||||||
#define PARSER_UTILS_H
|
#define PARSER_UTILS_H
|
||||||
|
#include <QMap>
|
||||||
#include <QObject>
|
#include <QObject>
|
||||||
#include <QSet>
|
#include <QSet>
|
||||||
#include <memory>
|
#include <memory>
|
||||||
|
@ -100,18 +101,18 @@ struct Statement {
|
||||||
int line; // declaration
|
int line; // declaration
|
||||||
int definitionLine; // definition
|
int definitionLine; // definition
|
||||||
QString fileName; // declaration
|
QString fileName; // declaration
|
||||||
QString definitionFileName: AnsiString; // definition
|
QString definitionFileName; // definition
|
||||||
_InProject: boolean; // statement in project
|
bool inProject; // statement in project
|
||||||
_InSystemHeader: boolean; // statement in system header (#include <>)
|
bool inSystemHeader; // statement in system header (#include <>)
|
||||||
_Children: TList; // Children Statement to speedup search
|
QList<std::weak_ptr<Statement>> children; // Children Statements
|
||||||
_ChildrenIndex: TDevStringHash; // children statements index to speedup search
|
QHash<QString,std::weak_ptr<Statement>> childrenMap; //children map index to speedup search
|
||||||
_Friends: TStringHash; // friend class / functions
|
QSet<QString> friends; // friend class / functions
|
||||||
_Static: boolean; // static function / variable
|
bool isStatic; // static function / variable
|
||||||
_Inherited: boolean; // inherted member;
|
bool isInherited; // inherted member;
|
||||||
_FullName: AnsiString; // fullname(including class and namespace)
|
QString fullName; // fullname(including class and namespace)
|
||||||
_Usings: TStringList;
|
QStringList usingList; // using namespaces
|
||||||
_Node: Pointer; // the Node TStatementList used to save this statement
|
int usageCount; //Usage Count, used by TCodeCompletion
|
||||||
_UsageCount : integer; //Usage Count, used by TCodeCompletion
|
int freqTop; // Usage Count Rank, used by TCodeCompletion
|
||||||
_FreqTop: integer; // Usage Count Rank, used by TCodeCompletion
|
QString noNameArgs;// Args without name
|
||||||
_NoNameArgs: AnsiString; // Args without name
|
};
|
||||||
#endif // PARSER_UTILS_H
|
#endif // PARSER_UTILS_H
|
||||||
|
|
Loading…
Reference in New Issue