Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
QQmlJS::Dom::RefCacheEntry Class Reference

#include <qqmldomtop_p.h>

+ Collaboration diagram for QQmlJS::Dom::RefCacheEntry:

Public Types

enum class  Cached { None , First , All }
 

Static Public Member Functions

static RefCacheEntry forPath (DomItem &el, Path canonicalPath)
 
static bool addForPath (DomItem &el, Path canonicalPath, const RefCacheEntry &entry, AddOption addOption=AddOption::KeepExisting)
 

Public Attributes

Cached cached = Cached::None
 
QList< PathcanonicalPaths
 

Detailed Description

Definition at line 611 of file qqmldomtop_p.h.

Member Enumeration Documentation

◆ Cached

Enumerator
None 
First 
All 

Definition at line 615 of file qqmldomtop_p.h.

Member Function Documentation

◆ addForPath()

bool QQmlJS::Dom::RefCacheEntry::addForPath ( DomItem el,
Path  canonicalPath,
const RefCacheEntry entry,
AddOption  addOption = AddOption::KeepExisting 
)
static

Definition at line 2376 of file qqmldomtop.cpp.

References All, cached, canonicalPath(), el, First, None, QQmlJS::Dom::Overwrite, QQmlJS::Dom::DomItem::ownerAs(), and Q_ASSERT.

Referenced by QQmlJS::Dom::ModuleIndex::autoExports().

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

◆ forPath()

RefCacheEntry QQmlJS::Dom::RefCacheEntry::forPath ( DomItem el,
Path  canonicalPath 
)
static

Definition at line 2360 of file qqmldomtop.cpp.

References cached, canonicalPath(), el, QQmlJS::Dom::DomItem::ownerAs(), Q_ASSERT, and qCWarning.

Referenced by QQmlJS::Dom::ModuleIndex::autoExports().

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

Member Data Documentation

◆ cached

Cached QQmlJS::Dom::RefCacheEntry::cached = Cached::None

Definition at line 622 of file qqmldomtop_p.h.

Referenced by addForPath(), QQmlJS::Dom::ModuleIndex::autoExports(), and forPath().

◆ canonicalPaths

QList<Path> QQmlJS::Dom::RefCacheEntry::canonicalPaths

Definition at line 623 of file qqmldomtop_p.h.

Referenced by QQmlJS::Dom::ModuleIndex::autoExports().


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