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

Constructor & Destructor Documentation

◆ ScriptElementDomWrapper()

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

Definition at line 775 of file qqmldomitem_p.h.

Member Function Documentation

◆ element()

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

Definition at line 784 of file qqmldomitem_p.h.

◆ operator*() [1/2]

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

Definition at line 781 of file qqmldomitem_p.h.

◆ operator*() [2/2]

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

Definition at line 782 of file qqmldomitem_p.h.

◆ operator->() [1/2]

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

Definition at line 779 of file qqmldomitem_p.h.

◆ operator->() [2/2]

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

Definition at line 780 of file qqmldomitem_p.h.

Member Data Documentation

◆ kindValue

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

Definition at line 777 of file qqmldomitem_p.h.


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