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::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 () const
 

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 776 of file qqmldomitem_p.h.

Constructor & Destructor Documentation

◆ ScriptElementDomWrapper()

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

Definition at line 779 of file qqmldomitem_p.h.

Member Function Documentation

◆ element()

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

Definition at line 788 of file qqmldomitem_p.h.

◆ operator*() [1/2]

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

Definition at line 785 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 786 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 783 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 784 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 781 of file qqmldomitem_p.h.


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