Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
QQmlJS::Dom::ScriptElementDomWrapper Class Reference

#include <qqmldomitem_p.h>

+ Collaboration diagram for QQmlJS::Dom::ScriptElementDomWrapper:

Public Member Functions

 ScriptElementDomWrapper (const ScriptElementVariant &element)
 
DomBaseoperator-> ()
 
const DomBaseoperator-> () const
 
DomBaseoperator* ()
 
const DomBaseoperator* () const
 
ScriptElementVariant element ()
 

Static Public Attributes

static constexpr DomType kindValue = DomType::ScriptElementWrap
 

Detailed Description

To avoid cluttering the already unwieldy \l ElementT type below with all the types that the different script elements can have, wrap them in an extra class. It will behave like an internal Dom structure (e.g. like a List or a Map) and contain a pointer the the script element.

Definition at line 795 of file qqmldomitem_p.h.

Constructor & Destructor Documentation

◆ ScriptElementDomWrapper()

QQmlJS::Dom::ScriptElementDomWrapper::ScriptElementDomWrapper ( const ScriptElementVariant element)
inline

Definition at line 798 of file qqmldomitem_p.h.

Member Function Documentation

◆ element()

ScriptElementVariant QQmlJS::Dom::ScriptElementDomWrapper::element ( )
inline

Definition at line 807 of file qqmldomitem_p.h.

◆ operator*() [1/2]

DomBase & QQmlJS::Dom::ScriptElementDomWrapper::operator* ( )
inline

Definition at line 804 of file qqmldomitem_p.h.

References QQmlJS::Dom::ScriptElementVariant::base().

+ Here is the call graph for this function:

◆ operator*() [2/2]

const DomBase & QQmlJS::Dom::ScriptElementDomWrapper::operator* ( ) const
inline

Definition at line 805 of file qqmldomitem_p.h.

References QQmlJS::Dom::ScriptElementVariant::base().

+ Here is the call graph for this function:

◆ operator->() [1/2]

DomBase * QQmlJS::Dom::ScriptElementDomWrapper::operator-> ( )
inline

Definition at line 802 of file qqmldomitem_p.h.

References QQmlJS::Dom::ScriptElementVariant::base().

+ Here is the call graph for this function:

◆ operator->() [2/2]

const DomBase * QQmlJS::Dom::ScriptElementDomWrapper::operator-> ( ) const
inline

Definition at line 803 of file qqmldomitem_p.h.

References QQmlJS::Dom::ScriptElementVariant::base().

+ Here is the call graph for this function:

Member Data Documentation

◆ kindValue

constexpr DomType QQmlJS::Dom::ScriptElementDomWrapper::kindValue = DomType::ScriptElementWrap
staticconstexpr

Definition at line 800 of file qqmldomitem_p.h.


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