Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QQmlJS::Dom::VisitAll Class Reference

A vistor that visits all the AST:Node. More...

#include <qqmldomcomments_p.h>

+ Inheritance diagram for QQmlJS::Dom::VisitAll:
+ Collaboration diagram for QQmlJS::Dom::VisitAll:

Public Member Functions

 VisitAll ()=default
 
void throwRecursionDepthError () override
 
bool visit (AST::UiPublicMember *el) override
 
bool visit (AST::UiSourceElement *el) override
 
bool visit (AST::UiObjectDefinition *el) override
 
bool visit (AST::UiObjectBinding *el) override
 
bool visit (AST::UiScriptBinding *el) override
 
bool visit (AST::UiArrayBinding *el) override
 
bool visit (AST::UiParameterList *el) override
 
bool visit (AST::UiQualifiedId *el) override
 
bool visit (AST::UiEnumDeclaration *el) override
 
bool visit (AST::UiInlineComponent *el) override
 
void endVisit (AST::UiImport *el) override
 
void endVisit (AST::UiPublicMember *el) override
 
void endVisit (AST::UiParameterList *el) override
 
void endVisit (AST::UiEnumMemberList *el) override
 
bool visit (AST::TemplateLiteral *el) override
 
void endVisit (AST::Elision *el) override
 
- Public Member Functions inherited from QQmlJS::AST::Visitor
 Visitor (quint16 parentRecursionDepth=0)
 
bool preVisit (Node *) override
 
void postVisit (Node *) override
 
- Public Member Functions inherited from QQmlJS::AST::BaseVisitor
 BaseVisitor (quint16 parentRecursionDepth=0)
 
virtual ~BaseVisitor ()
 
quint16 recursionDepth () const
 

Static Public Member Functions

static QSet< int > uiKinds ()
 returns a set with all Ui* Nodes (i.e.
 

Additional Inherited Members

- Protected Attributes inherited from QQmlJS::AST::BaseVisitor
quint16 m_recursionDepth = 0
 

Detailed Description

A vistor that visits all the AST:Node.

The default visitor does not necessarily visit all nodes, because some part of the AST are typically handled manually. This visitor visits all AST elements contained.

Note: Subclasses should take care to call the parent (i.e. this) visit/endVisit methods when overriding them, to guarantee that all element are really visited

Definition at line 261 of file qqmldomcomments_p.h.

Constructor & Destructor Documentation

◆ VisitAll()

QQmlJS::Dom::VisitAll::VisitAll ( )
default

Member Function Documentation

◆ endVisit() [1/5]

void QQmlJS::Dom::VisitAll::endVisit ( AST::Elision * el)
inlineoverride

Definition at line 351 of file qqmldomcomments_p.h.

References QQmlJS::AST::Node::accept(), and el.

+ Here is the call graph for this function:

◆ endVisit() [2/5]

void QQmlJS::Dom::VisitAll::endVisit ( AST::UiEnumMemberList * el)
inlineoverride

Definition at line 339 of file qqmldomcomments_p.h.

References QQmlJS::AST::Node::accept(), and el.

+ Here is the call graph for this function:

◆ endVisit() [3/5]

void QQmlJS::Dom::VisitAll::endVisit ( AST::UiImport * el)
inlineoverride

Definition at line 331 of file qqmldomcomments_p.h.

References QQmlJS::AST::Node::accept(), and el.

+ Here is the call graph for this function:

◆ endVisit() [4/5]

void QQmlJS::Dom::VisitAll::endVisit ( AST::UiParameterList * el)
inlineoverride

Definition at line 334 of file qqmldomcomments_p.h.

References QQmlJS::AST::Node::accept(), and el.

+ Here is the call graph for this function:

◆ endVisit() [5/5]

void QQmlJS::Dom::VisitAll::endVisit ( AST::UiPublicMember * el)
inlineoverride

Definition at line 332 of file qqmldomcomments_p.h.

References QQmlJS::AST::Node::accept(), and el.

+ Here is the call graph for this function:

◆ throwRecursionDepthError()

void QQmlJS::Dom::VisitAll::throwRecursionDepthError ( )
inlineoverridevirtual

Implements QQmlJS::AST::BaseVisitor.

Definition at line 268 of file qqmldomcomments_p.h.

◆ uiKinds()

◆ visit() [1/11]

bool QQmlJS::Dom::VisitAll::visit ( AST::TemplateLiteral * el)
inlineoverride

Definition at line 345 of file qqmldomcomments_p.h.

References QQmlJS::AST::Node::accept(), and el.

+ Here is the call graph for this function:

◆ visit() [2/11]

bool QQmlJS::Dom::VisitAll::visit ( AST::UiArrayBinding * el)
inlineoverride

Definition at line 301 of file qqmldomcomments_p.h.

References QQmlJS::AST::Node::accept(), and el.

+ Here is the call graph for this function:

◆ visit() [3/11]

bool QQmlJS::Dom::VisitAll::visit ( AST::UiEnumDeclaration * el)
inlineoverride

Definition at line 319 of file qqmldomcomments_p.h.

References QQmlJS::AST::Node::accept(), and el.

+ Here is the call graph for this function:

◆ visit() [4/11]

bool QQmlJS::Dom::VisitAll::visit ( AST::UiInlineComponent * el)
inlineoverride

Definition at line 325 of file qqmldomcomments_p.h.

References QQmlJS::AST::Node::accept(), and el.

+ Here is the call graph for this function:

◆ visit() [5/11]

bool QQmlJS::Dom::VisitAll::visit ( AST::UiObjectBinding * el)
inlineoverride

Definition at line 289 of file qqmldomcomments_p.h.

References QQmlJS::AST::Node::accept(), and el.

+ Here is the call graph for this function:

◆ visit() [6/11]

bool QQmlJS::Dom::VisitAll::visit ( AST::UiObjectDefinition * el)
inlineoverride

Definition at line 283 of file qqmldomcomments_p.h.

References QQmlJS::AST::Node::accept(), and el.

+ Here is the call graph for this function:

◆ visit() [7/11]

bool QQmlJS::Dom::VisitAll::visit ( AST::UiParameterList * el)
inlineoverride

Definition at line 307 of file qqmldomcomments_p.h.

References QQmlJS::AST::Node::accept(), and el.

+ Here is the call graph for this function:

◆ visit() [8/11]

bool QQmlJS::Dom::VisitAll::visit ( AST::UiPublicMember * el)
inlineoverride

Definition at line 270 of file qqmldomcomments_p.h.

References QQmlJS::AST::Node::accept(), and el.

+ Here is the call graph for this function:

◆ visit() [9/11]

bool QQmlJS::Dom::VisitAll::visit ( AST::UiQualifiedId * el)
inlineoverride

Definition at line 313 of file qqmldomcomments_p.h.

References QQmlJS::AST::Node::accept(), and el.

+ Here is the call graph for this function:

◆ visit() [10/11]

bool QQmlJS::Dom::VisitAll::visit ( AST::UiScriptBinding * el)
inlineoverride

Definition at line 295 of file qqmldomcomments_p.h.

References QQmlJS::AST::Node::accept(), and el.

+ Here is the call graph for this function:

◆ visit() [11/11]

bool QQmlJS::Dom::VisitAll::visit ( AST::UiSourceElement * el)
inlineoverride

Definition at line 277 of file qqmldomcomments_p.h.

References QQmlJS::AST::Node::accept(), and el.

+ Here is the call graph for this function:

The documentation for this class was generated from the following files: