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
qqmldomitem_p.h File Reference

(faab91858f12b422d246c1d2fd356096def51c7c)

#include "qqmldom_global.h"
#include "qqmldom_fwd_p.h"
#include "qqmldom_utils_p.h"
#include "qqmldomconstants_p.h"
#include "qqmldomstringdumper_p.h"
#include "qqmldompath_p.h"
#include "qqmldomerrormessage_p.h"
#include "qqmldomfunctionref_p.h"
#include "qqmldomfilewriter_p.h"
#include "qqmldomlinewriter_p.h"
#include "qqmldomfieldfilter_p.h"
#include <QtCore/QMap>
#include <QtCore/QMultiMap>
#include <QtCore/QSet>
#include <QtCore/QString>
#include <QtCore/QStringView>
#include <QtCore/QDebug>
#include <QtCore/QDateTime>
#include <QtCore/QMutex>
#include <QtCore/QCborValue>
#include <QtCore/QTimeZone>
#include <QtQml/private/qqmljssourcelocation_p.h>
#include <QtQmlCompiler/private/qqmljsscope_p.h>
#include <memory>
#include <typeinfo>
#include <utility>
#include <type_traits>
#include <variant>
#include <optional>
#include <cstddef>
Include dependency graph for qqmldomitem_p.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

union  QQmlJS::Dom::SubclassStorage< T >
class  QQmlJS::Dom::DomBase
class  QQmlJS::Dom::Empty
class  QQmlJS::Dom::DomElement
class  QQmlJS::Dom::Map
class  QQmlJS::Dom::List
class  QQmlJS::Dom::ListPBase
class  QQmlJS::Dom::ListPT< T >
class  QQmlJS::Dom::ListP
class  QQmlJS::Dom::ConstantData
class  QQmlJS::Dom::SimpleObjectWrapBase
class  QQmlJS::Dom::SimpleObjectWrapT< T >
class  QQmlJS::Dom::SimpleObjectWrap
class  QQmlJS::Dom::Reference
struct  QQmlJS::Dom::ScriptElement
 A common base class for all the script elements. More...
class  QQmlJS::Dom::ScriptElementVariant
 Use this to contain any script element. More...
class  QQmlJS::Dom::ScriptElementDomWrapper
class  QQmlJS::Dom::FileToLoad
struct  QQmlJS::Dom::FileToLoad::InMemoryContents
class  QQmlJS::Dom::DomItem
 A value type that references any element of the Dom. More...
class  QQmlJS::Dom::OwningItem
 A DomItem that owns other DomItems and is managed through a shared pointer. More...
struct  QQmlJS::Dom::rank< I >
struct  QQmlJS::Dom::rank< 0 >
class  QQmlJS::Dom::MutableDomItem

Namespaces

namespace  QQmlJS
namespace  QQmlJS::Dom
namespace  QQmlJS::Dom::FileLocations
 Provides entities to maintain mappings between elements and their location in a file.

Typedefs

using QQmlJS::Dom::DirectVisitor = function_ref<bool(const PathEls::PathComponent &, function_ref<DomItem()>)>
using QQmlJS::Dom::ElementT
using QQmlJS::Dom::TopT
using QQmlJS::Dom::OwnerT

Functions

QT_BEGIN_NAMESPACE QT_DECLARE_EXPORTED_QT_LOGGING_CATEGORY (writeOutLog, QMLDOM_EXPORT)
constexpr bool QQmlJS::Dom::domTypeIsObjWrap (DomType k)
constexpr bool QQmlJS::Dom::domTypeIsValueWrap (DomType k)
constexpr bool QQmlJS::Dom::domTypeIsDomElement (DomType)
constexpr bool QQmlJS::Dom::domTypeIsOwningItem (DomType)
constexpr bool QQmlJS::Dom::domTypeIsUnattachedOwningItem (DomType)
constexpr bool QQmlJS::Dom::domTypeIsScriptElement (DomType)
QMLDOM_EXPORT bool QQmlJS::Dom::domTypeIsExternalItem (DomType k)
QMLDOM_EXPORT bool QQmlJS::Dom::domTypeIsTopItem (DomType k)
QMLDOM_EXPORT bool QQmlJS::Dom::domTypeIsContainer (DomType k)
constexpr bool QQmlJS::Dom::domTypeCanBeInline (DomType k)
QMLDOM_EXPORT bool QQmlJS::Dom::domTypeIsScope (DomType k)
QMLDOM_EXPORT QMap< DomType, QStringQQmlJS::Dom::domTypeToStringMap ()
QMLDOM_EXPORT QString QQmlJS::Dom::domTypeToString (DomType k)
QMLDOM_EXPORT QMap< DomKind, QStringQQmlJS::Dom::domKindToStringMap ()
QMLDOM_EXPORT QString QQmlJS::Dom::domKindToString (DomKind k)
bool QQmlJS::Dom::noFilter (const DomItem &, const PathEls::PathComponent &, const DomItem &)
DomKind QQmlJS::Dom::kind2domKind (DomType k)
bool QQmlJS::Dom::emptyChildrenVisitor (Path, const DomItem &, bool)
QMLDOM_EXPORT bool QQmlJS::Dom::operator== (const DomItem &o1, const DomItem &o2)
bool QQmlJS::Dom::operator!= (const DomItem &o1, const DomItem &o2)
template<typename T>
static DomItem QQmlJS::Dom::keyMultiMapHelper (const DomItem &self, const QString &key, const QMultiMap< QString, T > &mmap)
template<typename T>
auto QQmlJS::Dom::writeOutWrap (const T &t, const DomItem &self, OutWriter &lw, rank< 1 >) -> decltype(t.writeOut(self, lw))
template<typename T>
auto QQmlJS::Dom::writeOutWrap (const T &, const DomItem &, OutWriter &, rank< 0 >) -> void
template<typename T>
auto QQmlJS::Dom::writeOutWrap (const T &t, const DomItem &self, OutWriter &lw) -> void
QMLDOM_EXPORT QDebug QQmlJS::Dom::operator<< (QDebug debug, const DomItem &c)
QMLDOM_EXPORT QDebug QQmlJS::Dom::operator<< (QDebug debug, const MutableDomItem &c)
template<typename K, typename T>
Path QQmlJS::Dom::insertUpdatableElementInMultiMap (const Path &mapPathFromOwner, QMultiMap< K, T > &mmap, K key, const T &value, AddOption option=AddOption::KeepExisting, T **valuePtr=nullptr)
template<typename T>
Path QQmlJS::Dom::appendUpdatableElementInQList (const Path &listPathFromOwner, QList< T > &list, const T &value, T **vPtr=nullptr)
template<typename T, typename K = QString>
void QQmlJS::Dom::updatePathFromOwnerMultiMap (QMultiMap< K, T > &mmap, const Path &newPath)
template<typename T>
void QQmlJS::Dom::updatePathFromOwnerQList (QList< T > &list, const Path &newPath)
std::shared_ptr< ExternalOwningItemQQmlJS::Dom::getFileItemOwner (const DomItem &fileItem)

Function Documentation

◆ QT_DECLARE_EXPORTED_QT_LOGGING_CATEGORY()

QT_BEGIN_NAMESPACE QT_DECLARE_EXPORTED_QT_LOGGING_CATEGORY ( writeOutLog ,
QMLDOM_EXPORT  )