Changeset View
Changeset View
Standalone View
Standalone View
phphighlighting.cpp
Show All 24 Lines | |||||
25 | using namespace KDevelop; | 25 | using namespace KDevelop; | ||
26 | using namespace Php; | 26 | using namespace Php; | ||
27 | 27 | | |||
28 | //BEGIN HighlightingInstance | 28 | //BEGIN HighlightingInstance | ||
29 | 29 | | |||
30 | class HighlightingInstance : public CodeHighlightingInstance { | 30 | class HighlightingInstance : public CodeHighlightingInstance { | ||
31 | public: | 31 | public: | ||
32 | HighlightingInstance(const CodeHighlighting* highlighting); | 32 | HighlightingInstance(const CodeHighlighting* highlighting); | ||
33 | virtual Types typeForDeclaration(KDevelop::Declaration* decl, KDevelop::DUContext* context) const; | 33 | Types typeForDeclaration(KDevelop::Declaration* decl, KDevelop::DUContext* context) const override; | ||
34 | virtual bool useRainbowColor( Declaration* dec ) const; | 34 | bool useRainbowColor( Declaration* dec ) const override; | ||
35 | }; | 35 | }; | ||
36 | 36 | | |||
37 | HighlightingInstance::HighlightingInstance(const CodeHighlighting* highlighting) | 37 | HighlightingInstance::HighlightingInstance(const CodeHighlighting* highlighting) | ||
38 | : CodeHighlightingInstance(highlighting) | 38 | : CodeHighlightingInstance(highlighting) | ||
39 | { | 39 | { | ||
40 | } | 40 | } | ||
41 | 41 | | |||
42 | HighlightingEnumContainer::Types HighlightingInstance::typeForDeclaration(Declaration* decl, DUContext* context) const | 42 | HighlightingEnumContainer::Types HighlightingInstance::typeForDeclaration(Declaration* decl, DUContext* context) const | ||
Show All 28 Lines |