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::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 (const DomItem &el, const Path &canonicalPath)
 
static bool addForPath (const DomItem &el, const Path &canonicalPath, const RefCacheEntry &entry, AddOption addOption=AddOption::KeepExisting)
 

Public Attributes

Cached cached = Cached::None
 
QList< PathcanonicalPaths
 

Detailed Description

Definition at line 701 of file qqmldomtop_p.h.

Member Enumeration Documentation

◆ Cached

Enumerator
None 
First 
All 

Definition at line 705 of file qqmldomtop_p.h.

Member Function Documentation

◆ addForPath()

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

Definition at line 2313 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 ( const DomItem & el,
const Path & canonicalPath )
static

Definition at line 2297 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 712 of file qqmldomtop_p.h.

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

◆ canonicalPaths

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

Definition at line 713 of file qqmldomtop_p.h.

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


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