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::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
PathComponent & operator= (const PathComponent &)=default
PathComponent & operator= (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 Empty * asEmpty () const
const Field * asField () const
const Index * asIndex () const
const Key * asKey () const
const Root * asRoot () const
const Current * asCurrent () const
const Any * asAny () const
const Filter * asFilter () 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

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

Here is the caller graph for this function:

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

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

Here is the caller graph for this function:

◆ PathComponent() [9/11]

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

Definition at line 317 of file qqmldompath_p.h.

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

Here is the caller graph for this function:

◆ PathComponent() [10/11]

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

Definition at line 318 of file qqmldompath_p.h.

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

Here is the caller graph for this function:

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

◆ asCurrent()

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

Definition at line 306 of file qqmldompath_p.h.

Referenced by QQmlJS::Dom::Path::headCurrent(), and QQmlJS::Dom::Path::withComponent().

Here is the caller graph for this function:

◆ asEmpty()

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

Definition at line 301 of file qqmldompath_p.h.

◆ asField()

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

Definition at line 302 of file qqmldompath_p.h.

◆ asFilter()

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

Definition at line 308 of file qqmldompath_p.h.

Referenced by QQmlJS::Dom::Path::headFilter(), and QQmlJS::Dom::Path::withComponent().

Here is the caller graph for this function:

◆ asIndex()

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

Definition at line 303 of file qqmldompath_p.h.

◆ asKey()

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

Definition at line 304 of file qqmldompath_p.h.

◆ asRoot()

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

Definition at line 305 of file qqmldompath_p.h.

Referenced by QQmlJS::Dom::Path::headRoot(), and QQmlJS::Dom::Path::withComponent().

Here is the caller graph for this function:

◆ checkName()

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

Definition at line 276 of file qqmldompath_p.h.

◆ cmp()

int QQmlJS::Dom::PathEls::PathComponent::cmp ( const PathComponent & p1,
const PathComponent & p2 )
static

Definition at line 206 of file qqmldompath.cpp.

References QQmlJS::Dom::PathEls::Any, QQmlJS::Dom::PathEls::Current, QQmlJS::Dom::PathEls::Empty, QQmlJS::Dom::Env, QQmlJS::Dom::PathEls::Field, QQmlJS::Dom::PathEls::Filter, QQmlJS::Dom::PathEls::Index, QQmlJS::Dom::PathEls::Key, kind(), QQmlJS::Dom::PathEls::Root, QQmlJS::Dom::Top, and QQmlJS::Dom::Universe.

Referenced by QQmlJS::Dom::Path::cmp(), QQmlJS::Dom::PathEls::operator!=(), QQmlJS::Dom::PathEls::operator<(), QQmlJS::Dom::PathEls::operator<=(), QQmlJS::Dom::PathEls::operator==(), QQmlJS::Dom::PathEls::operator>(), and QQmlJS::Dom::PathEls::operator>=().

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

◆ dump()

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

Definition at line 291 of file qqmldompath_p.h.

◆ hasSquareBrackets()

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

Definition at line 296 of file qqmldompath_p.h.

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

Here is the caller graph for this function:

◆ index()

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

Definition at line 286 of file qqmldompath_p.h.

◆ kind()

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

◆ name()

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

Definition at line 271 of file qqmldompath_p.h.

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

◆ 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: