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::Root Class Referencefinal

#include <qqmldompath_p.h>

+ Inheritance diagram for QQmlJS::Dom::PathEls::Root:
+ Collaboration diagram for QQmlJS::Dom::PathEls::Root:

Public Member Functions

 Root ()=default
 
 Root (PathRoot r)
 
 Root (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

PathRoot contextKind = PathRoot::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 134 of file qqmldompath_p.h.

Constructor & Destructor Documentation

◆ Root() [1/3]

QQmlJS::Dom::PathEls::Root::Root ( )
default

◆ Root() [2/3]

QQmlJS::Dom::PathEls::Root::Root ( PathRoot r)
inline

Definition at line 138 of file qqmldompath_p.h.

◆ Root() [3/3]

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

Definition at line 139 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::Root::checkName ( QStringView s) const
inline

Definition at line 168 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::Root::dump ( const Sink & sink) const
inline

Definition at line 174 of file qqmldompath_p.h.

References name().

+ Here is the call graph for this function:

◆ name()

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

Definition at line 148 of file qqmldompath_p.h.

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

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

◆ stringView()

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

Definition at line 173 of file qqmldompath_p.h.

References contextName.

Member Data Documentation

◆ contextKind

PathRoot QQmlJS::Dom::PathEls::Root::contextKind = PathRoot::Other

Definition at line 176 of file qqmldompath_p.h.

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

◆ contextName

QStringView QQmlJS::Dom::PathEls::Root::contextName

Definition at line 177 of file qqmldompath_p.h.

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


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