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::PathComponent Class Reference

#include <qqmldompath_p.h>

+ Collaboration diagram for QQmlJS::Dom::PathEls::PathComponent:

Public Member Functions

 PathComponent ()=default
 
 PathComponent (const PathComponent &)=default
 
 PathComponent (PathComponent &&)=default
 
PathComponentoperator= (const PathComponent &)=default
 
PathComponentoperator= (PathComponent &&)=default
 
 ~PathComponent ()=default
 
Kind kind () const
 
QString name () const
 
bool checkName (QStringView s) const
 
QStringView stringView () const
 
index_type index (index_type defaultValue=-1) const
 
void dump (const Sink &sink) const
 
bool hasSquareBrackets () const
 
const EmptyasEmpty () const
 
const FieldasField () const
 
const IndexasIndex () const
 
const KeyasKey () const
 
const RootasRoot () const
 
const CurrentasCurrent () const
 
const AnyasAny () const
 
const FilterasFilter () const
 
 PathComponent (Empty &&o)
 
 PathComponent (Field &&o)
 
 PathComponent (Index &&o)
 
 PathComponent (Key &&o)
 
 PathComponent (Root &&o)
 
 PathComponent (Current &&o)
 
 PathComponent (Any &&o)
 
 PathComponent (Filter &&o)
 

Static Public Member Functions

static int cmp (const PathComponent &p1, const PathComponent &p2)
 

Friends

class QQmlJS::Dom::Path
 
class QQmlJS::Dom::PathEls::TestPaths
 

Detailed Description

Definition at line 260 of file qqmldompath_p.h.

Constructor & Destructor Documentation

◆ PathComponent() [1/11]

QQmlJS::Dom::PathEls::PathComponent::PathComponent ( )
default

◆ PathComponent() [2/11]

QQmlJS::Dom::PathEls::PathComponent::PathComponent ( const PathComponent & )
default

◆ PathComponent() [3/11]

QQmlJS::Dom::PathEls::PathComponent::PathComponent ( PathComponent && )
default

◆ ~PathComponent()

QQmlJS::Dom::PathEls::PathComponent::~PathComponent ( )
default

◆ PathComponent() [4/11]

QQmlJS::Dom::PathEls::PathComponent::PathComponent ( Empty && o)
inline

Definition at line 312 of file qqmldompath_p.h.

◆ PathComponent() [5/11]

QQmlJS::Dom::PathEls::PathComponent::PathComponent ( Field && o)
inline

Definition at line 313 of file qqmldompath_p.h.

◆ PathComponent() [6/11]

QQmlJS::Dom::PathEls::PathComponent::PathComponent ( Index && o)
inline

Definition at line 314 of file qqmldompath_p.h.

◆ PathComponent() [7/11]

QQmlJS::Dom::PathEls::PathComponent::PathComponent ( Key && o)
inline

Definition at line 315 of file qqmldompath_p.h.

◆ PathComponent() [8/11]

QQmlJS::Dom::PathEls::PathComponent::PathComponent ( Root && o)
inline

Definition at line 316 of file qqmldompath_p.h.

◆ PathComponent() [9/11]

QQmlJS::Dom::PathEls::PathComponent::PathComponent ( Current && o)
inline

Definition at line 317 of file qqmldompath_p.h.

◆ PathComponent() [10/11]

QQmlJS::Dom::PathEls::PathComponent::PathComponent ( Any && o)
inline

Definition at line 318 of file qqmldompath_p.h.

◆ PathComponent() [11/11]

QQmlJS::Dom::PathEls::PathComponent::PathComponent ( Filter && o)
inline

Definition at line 319 of file qqmldompath_p.h.

Member Function Documentation

◆ asAny()

const Any * QQmlJS::Dom::PathEls::PathComponent::asAny ( ) const
inline

Definition at line 307 of file qqmldompath_p.h.

References m_data.

◆ asCurrent()

const Current * QQmlJS::Dom::PathEls::PathComponent::asCurrent ( ) const
inline

Definition at line 306 of file qqmldompath_p.h.

References m_data.

◆ asEmpty()

const Empty * QQmlJS::Dom::PathEls::PathComponent::asEmpty ( ) const
inline

Definition at line 301 of file qqmldompath_p.h.

References m_data.

◆ asField()

const Field * QQmlJS::Dom::PathEls::PathComponent::asField ( ) const
inline

Definition at line 302 of file qqmldompath_p.h.

References m_data.

◆ asFilter()

const Filter * QQmlJS::Dom::PathEls::PathComponent::asFilter ( ) const
inline

Definition at line 308 of file qqmldompath_p.h.

References m_data.

◆ asIndex()

const Index * QQmlJS::Dom::PathEls::PathComponent::asIndex ( ) const
inline

Definition at line 303 of file qqmldompath_p.h.

References m_data.

◆ asKey()

const Key * QQmlJS::Dom::PathEls::PathComponent::asKey ( ) const
inline

Definition at line 304 of file qqmldompath_p.h.

References m_data.

◆ asRoot()

const Root * QQmlJS::Dom::PathEls::PathComponent::asRoot ( ) const
inline

Definition at line 305 of file qqmldompath_p.h.

References m_data.

◆ checkName()

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

Definition at line 276 of file qqmldompath_p.h.

References d, and m_data.

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

+ Here is the caller graph for this function:

◆ cmp()

◆ dump()

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

Definition at line 291 of file qqmldompath_p.h.

References d, and m_data.

◆ hasSquareBrackets()

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

Definition at line 296 of file qqmldompath_p.h.

References d, and m_data.

◆ index()

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

Definition at line 286 of file qqmldompath_p.h.

References d, and m_data.

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

+ Here is the caller graph for this function:

◆ kind()

Kind QQmlJS::Dom::PathEls::PathComponent::kind ( ) const
inline

Definition at line 269 of file qqmldompath_p.h.

References m_data.

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

+ Here is the caller graph for this function:

◆ name()

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

Definition at line 271 of file qqmldompath_p.h.

References d, and m_data.

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

+ Here is the caller graph for this function:

◆ operator=() [1/2]

PathComponent & QQmlJS::Dom::PathEls::PathComponent::operator= ( const PathComponent & )
default

◆ operator=() [2/2]

PathComponent & QQmlJS::Dom::PathEls::PathComponent::operator= ( PathComponent && )
default

◆ stringView()

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

Definition at line 281 of file qqmldompath_p.h.

References d, and m_data.

Friends And Related Symbol Documentation

◆ QQmlJS::Dom::Path

friend class QQmlJS::Dom::Path
friend

Definition at line 322 of file qqmldompath_p.h.

◆ QQmlJS::Dom::PathEls::TestPaths

friend class QQmlJS::Dom::PathEls::TestPaths
friend

Definition at line 323 of file qqmldompath_p.h.


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