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::CommentCollector Class Reference

#include <qqmldomcomments_p.h>

+ Collaboration diagram for QQmlJS::Dom::CommentCollector:

Public Member Functions

 CommentCollector ()=default
 
 CommentCollector (MutableDomItem item)
 
void collectComments ()
 
void collectComments (const std::shared_ptr< Engine > &engine, AST::Node *rootNode, const std::shared_ptr< AstComments > &astComments)
 Collects and associates comments with javascript AST::Node pointers or with MutableDomItem.
 

Detailed Description

Definition at line 247 of file qqmldomcomments_p.h.

Constructor & Destructor Documentation

◆ CommentCollector() [1/2]

QQmlJS::Dom::CommentCollector::CommentCollector ( )
default

◆ CommentCollector() [2/2]

QQmlJS::Dom::CommentCollector::CommentCollector ( MutableDomItem item)

Definition at line 677 of file qqmldomcomments.cpp.

Member Function Documentation

◆ collectComments() [1/2]

void QQmlJS::Dom::CommentCollector::collectComments ( )

Definition at line 683 of file qqmldomcomments.cpp.

References collectComments(), QQmlJS::Dom::DomItem::internalKindStr(), QQmlJS::Dom::MutableDomItem::item(), QQmlJS::Dom::MutableDomItem::ownerAs(), and qCWarning.

Referenced by QQmlJS::Dom::JsFile::JsFile(), collectComments(), and QQmlJS::Dom::DomEnvironment::populateFromQmlFile().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ collectComments() [2/2]

void QQmlJS::Dom::CommentCollector::collectComments ( const std::shared_ptr< Engine > & engine,
AST::Node * rootNode,
const std::shared_ptr< AstComments > & astComments )

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