Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QQmlJS::Dom::PathEls::Current Class Referencefinal

#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)
 
QString name () const
 
bool checkName (QStringView s) const
 
QStringView stringView () const
 
void dump (const Sink &sink) const
 
- Public Member Functions inherited from QQmlJS::Dom::PathEls::Base
QStringView stringView () const
 
index_type index (index_type defaultValue=-1) const
 
bool hasSquareBrackets () const
 

Public Attributes

PathCurrent contextKind = PathCurrent::Other
 
QStringView contextName
 

Additional Inherited Members

- Protected Member Functions inherited from QQmlJS::Dom::PathEls::Base
void dump (const Sink &sink, const QString &name, bool hasSquareBrackets) const
 

Detailed Description

Definition at line 180 of file qqmldompath_p.h.

Constructor & Destructor Documentation

◆ Current() [1/3]

QQmlJS::Dom::PathEls::Current::Current ( )
default

◆ Current() [2/3]

QQmlJS::Dom::PathEls::Current::Current ( PathCurrent c)
inline

Definition at line 184 of file qqmldompath_p.h.

◆ Current() [3/3]

QQmlJS::Dom::PathEls::Current::Current ( QStringView n)
inline

Definition at line 185 of file qqmldompath_p.h.

References Qt::CaseInsensitive, contextKind, contextName, QString::fromUtf8(), i, and QQmlJS::Dom::Other.

+ Here is the call graph for this function:

Member Function Documentation

◆ checkName()

bool QQmlJS::Dom::PathEls::Current::checkName ( QStringView s) const
inline

Definition at line 222 of file qqmldompath_p.h.

References Qt::CaseInsensitive, contextKind, contextName, name(), and QQmlJS::Dom::Other.

+ Here is the call graph for this function:

◆ dump()

void QQmlJS::Dom::PathEls::Current::dump ( const Sink & sink) const
inline

Definition at line 228 of file qqmldompath_p.h.

References QQmlJS::Dom::PathEls::Base::dump(), QQmlJS::Dom::PathEls::Base::hasSquareBrackets(), and name().

+ Here is the call graph for this function:

◆ name()

QString QQmlJS::Dom::PathEls::Current::name ( ) const
inline

Definition at line 194 of file qqmldompath_p.h.

References 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(), and dump().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ stringView()

QStringView QQmlJS::Dom::PathEls::Current::stringView ( ) const
inline

Definition at line 227 of file qqmldompath_p.h.

References contextName.

Member Data Documentation

◆ contextKind

PathCurrent QQmlJS::Dom::PathEls::Current::contextKind = PathCurrent::Other

Definition at line 230 of file qqmldompath_p.h.

Referenced by Current(), checkName(), and name().

◆ contextName

QStringView QQmlJS::Dom::PathEls::Current::contextName

Definition at line 231 of file qqmldompath_p.h.

Referenced by Current(), checkName(), name(), and stringView().


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