![]() |
Qt 6.x
The Qt SDK
|
#include <qqmldompath_p.h>
Inheritance diagram for QQmlJS::Dom::PathEls::Current:
Collaboration diagram for QQmlJS::Dom::PathEls::Current:Public Member Functions | |
| Current ()=default | |
| Current (PathCurrent c) | |
| Current (QStringView n) | |
| Kind | kind () const override |
| QString | name () const override |
| bool | checkName (QStringView s) const override |
| QStringView | stringView () const override |
| const Current * | asCurrent () const override |
Public Member Functions inherited from QQmlJS::Dom::PathEls::Base | |
| 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 | |
| PathCurrent | contextKind = PathCurrent::Other |
| QStringView | contextName |
Definition at line 203 of file qqmldompath_p.h.
|
default |
|
inline |
Definition at line 207 of file qqmldompath_p.h.
|
inline |
Definition at line 208 of file qqmldompath_p.h.
References Qt::CaseInsensitive, contextKind, contextName, QString::fromUtf8(), i, QMetaEnum::key(), QMetaEnum::keyCount(), QQmlJS::Dom::Other, and QMetaEnum::value().
Here is the call graph for this function:
|
inlineoverridevirtual |
Reimplemented from QQmlJS::Dom::PathEls::Base.
Definition at line 252 of file qqmldompath_p.h.
Referenced by QQmlJS::Dom::Path::headCurrent().
Here is the caller graph for this function:
|
inlineoverridevirtual |
Implements QQmlJS::Dom::PathEls::Base.
Definition at line 246 of file qqmldompath_p.h.
References Qt::CaseInsensitive, contextKind, contextName, QChar::fromLatin1(), name(), and QQmlJS::Dom::Other.
Here is the call graph for this function:
|
inlineoverridevirtual |
Implements QQmlJS::Dom::PathEls::Base.
Definition at line 217 of file qqmldompath_p.h.
References QQmlJS::Dom::PathEls::Current.
|
inlineoverridevirtual |
Implements QQmlJS::Dom::PathEls::Base.
Definition at line 218 of file qqmldompath_p.h.
References QString::append(), QQmlJS::Dom::Component, contextKind, contextName, QString::fromUtf8(), QQmlJS::Dom::Ids, QQmlJS::Dom::Lookup, QQmlJS::Dom::LookupDynamic, QQmlJS::Dom::LookupStrict, QQmlJS::Dom::Module, QQmlJS::Dom::Obj, QQmlJS::Dom::ObjChain, QQmlJS::Dom::Other, Q_ASSERT, QStringLiteral, QQmlJS::Dom::ScopeChain, QStringView::toString(), and QQmlJS::Dom::Types.
Referenced by checkName().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlineoverridevirtual |
Reimplemented from QQmlJS::Dom::PathEls::Base.
Definition at line 251 of file qqmldompath_p.h.
References contextName.
| PathCurrent QQmlJS::Dom::PathEls::Current::contextKind = PathCurrent::Other |
Definition at line 254 of file qqmldompath_p.h.
Referenced by Current(), checkName(), and name().
| QStringView QQmlJS::Dom::PathEls::Current::contextName |
Definition at line 255 of file qqmldompath_p.h.
Referenced by Current(), checkName(), name(), and stringView().