Changeset View
Changeset View
Standalone View
Standalone View
phpparsejob.h
Show All 40 Lines | 40 | { | |||
---|---|---|---|---|---|
41 | Q_OBJECT | 41 | Q_OBJECT | ||
42 | 42 | | |||
43 | public: | 43 | public: | ||
44 | enum { | 44 | enum { | ||
45 | Resheduled = KDevelop::TopDUContext::LastFeature | 45 | Resheduled = KDevelop::TopDUContext::LastFeature | ||
46 | }; | 46 | }; | ||
47 | 47 | | |||
48 | explicit ParseJob(const KDevelop::IndexedString& url, KDevelop::ILanguageSupport* LanguageSupport); | 48 | explicit ParseJob(const KDevelop::IndexedString& url, KDevelop::ILanguageSupport* LanguageSupport); | ||
49 | virtual ~ParseJob(); | 49 | ~ParseJob() override; | ||
50 | 50 | | |||
51 | void setParentJob(ParseJob *job); | 51 | void setParentJob(ParseJob *job); | ||
52 | 52 | | |||
53 | protected: | 53 | protected: | ||
54 | LanguageSupport* php() const; | 54 | LanguageSupport* php() const; | ||
55 | virtual void run(ThreadWeaver::JobPointer self, ThreadWeaver::Thread *thread); | 55 | void run(ThreadWeaver::JobPointer self, ThreadWeaver::Thread *thread) override; | ||
56 | 56 | | |||
57 | private: | 57 | private: | ||
58 | ParseJob *m_parentJob; ///< parent job if this one is an include | 58 | ParseJob *m_parentJob; ///< parent job if this one is an include | ||
59 | 59 | | |||
60 | /** | 60 | /** | ||
61 | * Checks if a parent job parses already \p document. Used to prevent | 61 | * Checks if a parent job parses already \p document. Used to prevent | ||
62 | * endless recursions in include statements | 62 | * endless recursions in include statements | ||
63 | */ | 63 | */ | ||
Show All 12 Lines |