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::ElementRef Class Reference
Collaboration diagram for QQmlJS::Dom::ElementRef:

Public Member Functions

 ElementRef (AST::Node *node, qsizetype size, CommentAnchor commentAnchor)
 ElementRef (const Path &path, FileLocationRegion region, qsizetype size)
 operator bool () const
 ElementRef ()=default
 ElementRef (AST::Node *node, qsizetype size, CommentAnchor commentAnchor)
 ElementRef (const Path &path, FileLocationRegion region, qsizetype size)
 operator bool () const
 ElementRef ()=default

Public Attributes

std::variant< NodeRef, RegionRefelement
qsizetype size = 0

Detailed Description

Definition at line 286 of file qqmldomcomments.cpp.

Constructor & Destructor Documentation

◆ ElementRef() [1/6]

QQmlJS::Dom::ElementRef::ElementRef ( AST::Node * node,
qsizetype size,
CommentAnchor commentAnchor )
inline

Definition at line 289 of file qqmldomcomments.cpp.

References ElementRef().

Referenced by ElementRef().

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

◆ ElementRef() [2/6]

QQmlJS::Dom::ElementRef::ElementRef ( const Path & path,
FileLocationRegion region,
qsizetype size )
inline

Definition at line 293 of file qqmldomcomments.cpp.

References ElementRef().

Referenced by ElementRef().

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

◆ ElementRef() [3/6]

QQmlJS::Dom::ElementRef::ElementRef ( )
default

◆ ElementRef() [4/6]

QQmlJS::Dom::ElementRef::ElementRef ( AST::Node * node,
qsizetype size,
CommentAnchor commentAnchor )
inline

Definition at line 289 of file qqmldomcomments.cpp.

◆ ElementRef() [5/6]

QQmlJS::Dom::ElementRef::ElementRef ( const Path & path,
FileLocationRegion region,
qsizetype size )
inline

Definition at line 293 of file qqmldomcomments.cpp.

◆ ElementRef() [6/6]

QQmlJS::Dom::ElementRef::ElementRef ( )
default

Member Function Documentation

◆ operator bool() [1/2]

QQmlJS::Dom::ElementRef::operator bool ( ) const
inline

Definition at line 297 of file qqmldomcomments.cpp.

◆ operator bool() [2/2]

QQmlJS::Dom::ElementRef::operator bool ( ) const
inline

Definition at line 297 of file qqmldomcomments.cpp.

Member Data Documentation

◆ element

std::variant< NodeRef, RegionRef > QQmlJS::Dom::ElementRef::element

Definition at line 304 of file qqmldomcomments.cpp.

◆ size

qsizetype QQmlJS::Dom::ElementRef::size = 0

Definition at line 305 of file qqmldomcomments.cpp.


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