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

Public Member Functions

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

Public Attributes

std::variant< AST::Node *, RegionRefelement
 
quint32 size = 0
 

Detailed Description

Definition at line 275 of file qqmldomcomments.cpp.

Constructor & Destructor Documentation

◆ ElementRef() [1/3]

QQmlJS::Dom::ElementRef::ElementRef ( AST::Node * node,
quint32 size )
inline

Definition at line 278 of file qqmldomcomments.cpp.

◆ ElementRef() [2/3]

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

Definition at line 279 of file qqmldomcomments.cpp.

◆ ElementRef() [3/3]

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

Member Function Documentation

◆ operator bool()

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

Definition at line 283 of file qqmldomcomments.cpp.

References element.

Member Data Documentation

◆ element

std::variant<AST::Node *, RegionRef> QQmlJS::Dom::ElementRef::element

Definition at line 289 of file qqmldomcomments.cpp.

Referenced by operator bool().

◆ size

quint32 QQmlJS::Dom::ElementRef::size = 0

Definition at line 290 of file qqmldomcomments.cpp.


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