Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
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 250 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 682 of file qqmldomcomments.cpp.

References CommentCollector().

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

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

Member Function Documentation

◆ collectComments() [1/2]

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

Definition at line 688 of file qqmldomcomments.cpp.

References collectComments().

Referenced by 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 )

Collects and associates comments with javascript AST::Node pointers or with MutableDomItem.

Definition at line 705 of file qqmldomcomments.cpp.


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