![]() |
Qt 6.x
The Qt SDK
|
#include <qqmldompath_p.h>
Public Member Functions | |
Root ()=default | |
Root (PathRoot r) | |
Root (QStringView n) | |
Kind | kind () const override |
QString | name () const override |
bool | checkName (QStringView s) const override |
QStringView | stringView () const override |
void | dump (Sink sink) const override |
const Root * | asRoot () const override |
![]() | |
virtual | ~Base ()=default |
virtual Kind | kind () const =0 |
virtual QString | name () const =0 |
virtual bool | checkName (QStringView s) const =0 |
virtual QStringView | stringView () const |
virtual index_type | index (index_type defaultValue=-1) const |
virtual void | dump (Sink sink) const |
virtual bool | hasSquareBrackets () const |
virtual const Empty * | asEmpty () const |
virtual const Field * | asField () const |
virtual const Index * | asIndex () const |
virtual const Key * | asKey () const |
virtual const Root * | asRoot () const |
virtual const Current * | asCurrent () const |
virtual const Any * | asAny () const |
virtual const Filter * | asFilter () const |
Public Attributes | |
PathRoot | contextKind = PathRoot::Other |
QStringView | contextName |
Definition at line 153 of file qqmldompath_p.h.
|
default |
|
inline |
Definition at line 157 of file qqmldompath_p.h.
|
inline |
Definition at line 158 of file qqmldompath_p.h.
References Qt::CaseInsensitive, contextKind, contextName, QString::fromUtf8(), i, QMetaEnum::key(), QMetaEnum::keyCount(), QQmlJS::Dom::Other, and QMetaEnum::value().
|
inlineoverridevirtual |
Reimplemented from QQmlJS::Dom::PathEls::Base.
Definition at line 197 of file qqmldompath_p.h.
Referenced by QQmlJS::Dom::Path::headRoot().
|
inlineoverridevirtual |
Implements QQmlJS::Dom::PathEls::Base.
Definition at line 188 of file qqmldompath_p.h.
References Qt::CaseInsensitive, contextKind, contextName, QChar::fromLatin1(), name(), and QQmlJS::Dom::Other.
Reimplemented from QQmlJS::Dom::PathEls::Base.
Definition at line 194 of file qqmldompath_p.h.
References name().
|
inlineoverridevirtual |
Implements QQmlJS::Dom::PathEls::Base.
Definition at line 167 of file qqmldompath_p.h.
References QQmlJS::Dom::PathEls::Root.
|
inlineoverridevirtual |
Implements QQmlJS::Dom::PathEls::Base.
Definition at line 168 of file qqmldompath_p.h.
References QString::append(), contextKind, contextName, QQmlJS::Dom::Cpp, QQmlJS::Dom::Env, QString::fromUtf8(), QQmlJS::Dom::Libs, QQmlJS::Dom::Modules, QQmlJS::Dom::Other, Q_ASSERT, QStringLiteral, QQmlJS::Dom::Top, QStringView::toString(), and QQmlJS::Dom::Universe.
Referenced by checkName(), and dump().
|
inlineoverridevirtual |
Reimplemented from QQmlJS::Dom::PathEls::Base.
Definition at line 193 of file qqmldompath_p.h.
References contextName.
PathRoot QQmlJS::Dom::PathEls::Root::contextKind = PathRoot::Other |
Definition at line 199 of file qqmldompath_p.h.
Referenced by Root(), checkName(), and name().
QStringView QQmlJS::Dom::PathEls::Root::contextName |
Definition at line 200 of file qqmldompath_p.h.
Referenced by Root(), checkName(), name(), and stringView().