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
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.

References contextKind.

Referenced by QQmlJS::Dom::Path::fromCurrent().

Here is the caller graph for this function:

◆ Current() [3/3]

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

Definition at line 185 of file qqmldompath_p.h.

References contextKind, and QQmlJS::Dom::Other.

Member Function Documentation

◆ checkName()

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

Definition at line 222 of file qqmldompath_p.h.

◆ dump()

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

Definition at line 228 of file qqmldompath_p.h.

◆ name()

◆ stringView()

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

Definition at line 227 of file qqmldompath_p.h.

Member Data Documentation

◆ contextKind

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

◆ contextName

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

Definition at line 231 of file qqmldompath_p.h.


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