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

(3e13d195756629abf25c9112f16351553b47016d)

#include "qqmldomconstants_p.h"
#include "qqmldomstringdumper_p.h"
#include "qqmldom_global.h"
#include <QtCore/QCoreApplication>
#include <QtCore/QtCompare>
#include <QtCore/QList>
#include <QtCore/QMetaEnum>
#include <QtCore/QSharedData>
#include <QtCore/QString>
#include <QtCore/QStringView>
#include <QtCore/QStringList>
#include <QtCore/QVarLengthArray>
#include <QtCore/QDebug>
#include <functional>
#include <iterator>
#include <optional>
Include dependency graph for qqmldompath_p.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  QQmlJS::Dom::PathEls::Base
class  QQmlJS::Dom::PathEls::Empty
class  QQmlJS::Dom::PathEls::Field
class  QQmlJS::Dom::PathEls::Index
class  QQmlJS::Dom::PathEls::Key
class  QQmlJS::Dom::PathEls::Root
class  QQmlJS::Dom::PathEls::Current
class  QQmlJS::Dom::PathEls::PathComponent
class  QQmlJS::Dom::PathEls::PathNode
class  QQmlJS::Dom::Path
 Represents an immutable JsonPath like path in the Qml code model (from a DomItem to another DomItem). More...
struct  QQmlJS::Dom::PathSentinel
class  QQmlJS::Dom::PathIterator
class  QQmlJS::Dom::Source

Namespaces

namespace  QQmlJS
namespace  QQmlJS::Dom
namespace  QQmlJS::Dom::FieldNameImpl
namespace  QQmlJS::Dom::Fields
namespace  QQmlJS::Dom::PathEls

Macros

#define QMLDOM_FIELD_LIST(F)
#define QMLDOM_DEFINE_FIELD_ENUMERATOR(name)
#define QMLDOM_DEFINE_FIELD_STRING(name)
#define QMLDOM_DEFINE_FIELD_CONST(name)

Typedefs

using QQmlJS::Dom::ErrorHandler = std::function<void(const ErrorMessage &)>
using QQmlJS::Dom::index_type = qint64
using QQmlJS::Dom::FieldType = FieldName

Enumerations

enum class  QQmlJS::Dom::FieldName : quint16 { QQmlJS::Dom::NumFieldNames }
enum class  QQmlJS::Dom::PathEls::Kind {
  QQmlJS::Dom::PathEls::Empty , QQmlJS::Dom::PathEls::Field , QQmlJS::Dom::PathEls::Index , QQmlJS::Dom::PathEls::Key ,
  QQmlJS::Dom::PathEls::Root , QQmlJS::Dom::PathEls::Current
}

Functions

QStringView QQmlJS::Dom::fieldNameToString (FieldName ff)
QString QQmlJS::Dom::fieldNameToQString (FieldName ff)
std::optional< FieldName > QQmlJS::Dom::fieldNameFromString (QStringView ss)
QDebug QQmlJS::Dom::operator<< (QDebug d, FieldName ff)
bool QQmlJS::Dom::PathEls::operator== (const PathComponent &lhs, const PathComponent &rhs)
bool QQmlJS::Dom::PathEls::operator!= (const PathComponent &lhs, const PathComponent &rhs)
bool QQmlJS::Dom::PathEls::operator< (const PathComponent &lhs, const PathComponent &rhs)
bool QQmlJS::Dom::PathEls::operator> (const PathComponent &lhs, const PathComponent &rhs)
bool QQmlJS::Dom::PathEls::operator<= (const PathComponent &lhs, const PathComponent &rhs)
bool QQmlJS::Dom::PathEls::operator>= (const PathComponent &lhs, const PathComponent &rhs)
QMLDOM_EXPORT size_t QQmlJS::Dom::qHash (const Path &pathpath, size_t seed=0)
bool QQmlJS::Dom::operator== (const Path &lhs, const Path &rhs)
bool QQmlJS::Dom::operator!= (const Path &lhs, const Path &rhs)
bool QQmlJS::Dom::operator< (const Path &lhs, const Path &rhs)
bool QQmlJS::Dom::operator> (const Path &lhs, const Path &rhs)
bool QQmlJS::Dom::operator<= (const Path &lhs, const Path &rhs)
bool QQmlJS::Dom::operator>= (const Path &lhs, const Path &rhs)
QDebug QQmlJS::Dom::operator<< (QDebug debug, const Path &pp)

Variables

constexpr std::array< QStringView, size_t(FieldName::NumFieldNames)> QQmlJS::Dom::FieldNameImpl::fieldNameStrings

Macro Definition Documentation

◆ QMLDOM_DEFINE_FIELD_CONST

#define QMLDOM_DEFINE_FIELD_CONST ( name)
Value:
inline constexpr FieldName name = FieldName::name;
EGLImageKHR EGLint * name

Definition at line 306 of file qqmldompath_p.h.

◆ QMLDOM_DEFINE_FIELD_ENUMERATOR

#define QMLDOM_DEFINE_FIELD_ENUMERATOR ( name)
Value:

Definition at line 265 of file qqmldompath_p.h.

◆ QMLDOM_DEFINE_FIELD_STRING

#define QMLDOM_DEFINE_FIELD_STRING ( name)
Value:
constexpr QStringView() noexcept
Constructs a null string view.

Definition at line 274 of file qqmldompath_p.h.

◆ QMLDOM_FIELD_LIST

#define QMLDOM_FIELD_LIST ( F)

Definition at line 51 of file qqmldompath_p.h.