Qt 6.x
The Qt SDK
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 ()
 
 ~PathComponent ()
 
Kind kind () const
 
QString name () const
 
bool checkName (QStringView s) const
 
QStringView stringView () const
 
index_type index (index_type defaultValue=-1) const
 
void dump (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
 
 PathComponent (const Empty &o)
 
 PathComponent (const Field &o)
 
 PathComponent (const Index &o)
 
 PathComponent (const Key &o)
 
 PathComponent (const Root &o)
 
 PathComponent (const Current &o)
 
 PathComponent (const Any &o)
 
 PathComponent (const 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 285 of file qqmldompath_p.h.

Constructor & Destructor Documentation

◆ PathComponent() [1/9]

QQmlJS::Dom::PathEls::PathComponent::PathComponent ( )
inline

Definition at line 287 of file qqmldompath_p.h.

◆ ~PathComponent()

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

Definition at line 103 of file qqmldompath.cpp.

◆ PathComponent() [2/9]

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

Definition at line 307 of file qqmldompath_p.h.

◆ PathComponent() [3/9]

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

Definition at line 308 of file qqmldompath_p.h.

◆ PathComponent() [4/9]

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

Definition at line 309 of file qqmldompath_p.h.

◆ PathComponent() [5/9]

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

Definition at line 310 of file qqmldompath_p.h.

◆ PathComponent() [6/9]

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

Definition at line 311 of file qqmldompath_p.h.

◆ PathComponent() [7/9]

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

Definition at line 312 of file qqmldompath_p.h.

◆ PathComponent() [8/9]

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

Definition at line 313 of file qqmldompath_p.h.

◆ PathComponent() [9/9]

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

Definition at line 314 of file qqmldompath_p.h.

Member Function Documentation

◆ asAny()

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

Definition at line 304 of file qqmldompath_p.h.

References base.

◆ asCurrent()

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

Definition at line 303 of file qqmldompath_p.h.

References base.

◆ asEmpty()

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

Definition at line 298 of file qqmldompath_p.h.

References base.

◆ asField()

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

Definition at line 299 of file qqmldompath_p.h.

References base.

◆ asIndex()

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

Definition at line 300 of file qqmldompath_p.h.

References base.

◆ asKey()

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

Definition at line 301 of file qqmldompath_p.h.

References base.

◆ asRoot()

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

Definition at line 302 of file qqmldompath_p.h.

References base.

◆ checkName()

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

Definition at line 292 of file qqmldompath_p.h.

References base.

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

+ Here is the caller graph for this function:

◆ cmp()

◆ dump()

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

Definition at line 295 of file qqmldompath_p.h.

References base.

◆ hasSquareBrackets()

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

Definition at line 296 of file qqmldompath_p.h.

References base.

◆ index()

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

Definition at line 294 of file qqmldompath_p.h.

References base.

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

References base.

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

References base.

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

+ Here is the caller graph for this function:

◆ stringView()

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

Definition at line 293 of file qqmldompath_p.h.

References base.

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

+ Here is the caller graph for this function:

Friends And Related Symbol Documentation

◆ QQmlJS::Dom::Path

friend class QQmlJS::Dom::Path
friend

Definition at line 316 of file qqmldompath_p.h.

◆ QQmlJS::Dom::PathEls::TestPaths

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

Definition at line 317 of file qqmldompath_p.h.


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