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

#include <qqmldompath_p.h>

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

Public Member Functions

 Index ()=default
 
 Index (index_type i)
 
QString name () const
 
bool checkName (QStringView s) const
 
index_type index (index_type=-1) const
 
void dump (const Sink &sink) const
 
bool hasSquareBrackets () 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

index_type indexValue = -1
 

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 102 of file qqmldompath_p.h.

Constructor & Destructor Documentation

◆ Index() [1/2]

QQmlJS::Dom::PathEls::Index::Index ( )
default

◆ Index() [2/2]

QQmlJS::Dom::PathEls::Index::Index ( index_type i)
inline

Definition at line 106 of file qqmldompath_p.h.

Member Function Documentation

◆ checkName()

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

Definition at line 108 of file qqmldompath_p.h.

References name().

+ Here is the call graph for this function:

◆ dump()

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

Definition at line 110 of file qqmldompath_p.h.

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

+ Here is the call graph for this function:

◆ hasSquareBrackets()

bool QQmlJS::Dom::PathEls::Index::hasSquareBrackets ( ) const
inline

Definition at line 111 of file qqmldompath_p.h.

Referenced by dump().

+ Here is the caller graph for this function:

◆ index()

index_type QQmlJS::Dom::PathEls::Index::index ( index_type = -1) const
inline

Definition at line 109 of file qqmldompath_p.h.

References indexValue.

◆ name()

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

Definition at line 107 of file qqmldompath_p.h.

References indexValue, and QString::number().

Referenced by checkName(), and dump().

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

Member Data Documentation

◆ indexValue

index_type QQmlJS::Dom::PathEls::Index::indexValue = -1

Definition at line 113 of file qqmldompath_p.h.

Referenced by index(), and name().


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