Changeset View
Changeset View
Standalone View
Standalone View
languages/qmljs/duchain/debugvisitor.h
Show All 24 Lines | |||||
25 | 25 | | |||
26 | #include "duchainexport.h" | 26 | #include "duchainexport.h" | ||
27 | 27 | | |||
28 | class ParseSession; | 28 | class ParseSession; | ||
29 | 29 | | |||
30 | class KDEVQMLJSDUCHAIN_EXPORT DebugVisitor : public QmlJS::AST::Visitor | 30 | class KDEVQMLJSDUCHAIN_EXPORT DebugVisitor : public QmlJS::AST::Visitor | ||
31 | { | 31 | { | ||
32 | public: | 32 | public: | ||
33 | DebugVisitor(const ParseSession* session); | 33 | explicit DebugVisitor(const ParseSession* session); | ||
34 | 34 | | |||
35 | void startVisiting(QmlJS::AST::Node* node); | 35 | void startVisiting(QmlJS::AST::Node* node); | ||
36 | 36 | | |||
37 | static QString stringForAstKind(int kind); | 37 | static QString stringForAstKind(int kind); | ||
38 | 38 | | |||
39 | protected: | 39 | protected: | ||
40 | void postVisit(QmlJS::AST::Node* node) override; | 40 | void postVisit(QmlJS::AST::Node* node) override; | ||
41 | bool preVisit(QmlJS::AST::Node* node) override; | 41 | bool preVisit(QmlJS::AST::Node* node) override; | ||
Show All 14 Lines |