![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
Associates comments with AST::Node *. More...
#include <qqmldomcomments_p.h>
Static Public Attributes | |
| static constexpr DomType | kindValue = DomType::AstComments |
Protected Types | |
| using | CommentKey = std::pair<AST::Node *, CommentAnchor> |
Protected Member Functions | |
| std::shared_ptr< OwningItem > | doCopy (const DomItem &) const override |
Additional Inherited Members | |
| Public Types inherited from QQmlJS::Dom::DomBase | |
| using | FilterT = function_ref<bool(const DomItem &, const PathEls::PathComponent &, const DomItem &)> |
| Static Public Member Functions inherited from QQmlJS::Dom::OwningItem | |
| static int | nextRevision () |
Associates comments with AST::Node *.
Stores the comments associated with javascript AST::Node pointers.
Comments are associated to the largest closest node with the following algorithm: \list
Definition at line 228 of file qqmldomcomments_p.h.
|
protected |
Definition at line 236 of file qqmldomcomments_p.h.
|
inline |
Definition at line 248 of file qqmldomcomments_p.h.
|
inline |
Definition at line 249 of file qqmldomcomments_p.h.
References AstComments().
Referenced by AstComments().
|
inline |
Definition at line 272 of file qqmldomcomments_p.h.
| QMultiMap< quint32, const QList< Comment > * > QQmlJS::Dom::AstComments::allCommentsInNode | ( | AST::Node * | n | ) |
Implements QQmlJS::Dom::OwningItem.
Definition at line 247 of file qqmldomcomments_p.h.
|
inline |
Definition at line 261 of file qqmldomcomments_p.h.
|
inline |
Definition at line 255 of file qqmldomcomments_p.h.
|
inlineoverrideprotectedvirtual |
Implements QQmlJS::Dom::OwningItem.
Definition at line 231 of file qqmldomcomments_p.h.
|
overridevirtual |
Implements QQmlJS::Dom::DomBase.
Definition at line 830 of file qqmldomcomments.cpp.
|
inlineoverridevirtual |
Implements QQmlJS::Dom::DomBase.
Definition at line 240 of file qqmldomcomments_p.h.
References kindValue.
|
inline |
Definition at line 242 of file qqmldomcomments_p.h.
|
staticconstexpr |
Definition at line 239 of file qqmldomcomments_p.h.
Referenced by kind().