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

#include <qqmldomitem_p.h>

+ Collaboration diagram for QQmlJS::Dom::DomItem:

Public Types

enum class  CopyOption { EnvConnected , EnvDisconnected }
 
using Callback = function< void(Path, DomItem &, DomItem &)>
 
using InternalKind = DomType
 
using Visitor = function_ref< bool(Path, DomItem &)>
 
using ChildrenVisitor = function_ref< bool(Path, DomItem &, bool)>
 

Public Member Functions

template<typename F >
auto visitMutableEl (F f)
 
template<typename F >
auto visitEl (F f)
 
 operator bool () const
 
InternalKind internalKind () const
 
QString internalKindStr () const
 
DomKind domKind () const
 
Path canonicalPath ()
 
DomItem filterUp (function_ref< bool(DomType k, DomItem &)> filter, FilterUpOptions options)
 
DomItem containingObject ()
 
DomItem container ()
 
DomItem owner ()
 
DomItem top ()
 
DomItem environment ()
 
DomItem universe ()
 
DomItem containingFile ()
 
DomItem goToFile (const QString &filePath)
 
DomItem goUp (int)
 
DomItem directParent ()
 
DomItem qmlObject (GoTo option=GoTo::Strict, FilterUpOptions options=FilterUpOptions::ReturnOuter)
 
DomItem fileObject (GoTo option=GoTo::Strict)
 
DomItem rootQmlObject (GoTo option=GoTo::Strict)
 
DomItem globalScope ()
 
DomItem component (GoTo option=GoTo::Strict)
 
DomItem scope (FilterUpOptions options=FilterUpOptions::ReturnOuter)
 
std::optional< QQmlJSScope::PtrnearestSemanticScope ()
 
std::optional< QQmlJSScope::PtrsemanticScope ()
 
DomItem get (ErrorHandler h=nullptr, QList< Path > *visitedRefs=nullptr)
 
QList< DomItemgetAll (ErrorHandler h=nullptr, QList< Path > *visitedRefs=nullptr)
 
bool isOwningItem ()
 
bool isExternalItem ()
 
bool isTopItem ()
 
bool isContainer ()
 
bool isScope ()
 
bool isCanonicalChild (DomItem &child)
 
bool hasAnnotations ()
 
QString name ()
 
DomItem pragmas ()
 
DomItem ids ()
 
QString idStr ()
 
DomItem propertyInfos ()
 
PropertyInfo propertyInfoWithName (QString name)
 
QSet< QStringpropertyInfoNames ()
 
DomItem propertyDefs ()
 
DomItem bindings ()
 
DomItem methods ()
 
DomItem enumerations ()
 
DomItem children ()
 
DomItem child (index_type i)
 
DomItem annotations ()
 
bool resolve (Path path, Visitor visitor, ErrorHandler errorHandler, ResolveOptions options=ResolveOption::None, Path fullPath=Path(), QList< Path > *visitedRefs=nullptr)
 
DomItem operator[] (Path path)
 
DomItem operator[] (QStringView component)
 
DomItem operator[] (const QString &component)
 
DomItem operator[] (const char16_t *component)
 
DomItem operator[] (index_type i)
 
DomItem operator[] (int i)
 
index_type size ()
 
index_type length ()
 
DomItem path (Path p, ErrorHandler h=&defaultErrorHandler)
 
DomItem path (QString p, ErrorHandler h=&defaultErrorHandler)
 
DomItem path (QStringView p, ErrorHandler h=&defaultErrorHandler)
 
QList< QStringfields ()
 
DomItem field (QStringView name)
 
index_type indexes ()
 
DomItem index (index_type)
 
bool visitIndexes (function_ref< bool(DomItem &)> visitor)
 
QSet< QStringkeys ()
 
QStringList sortedKeys ()
 
DomItem key (QString name)
 
DomItem key (QStringView name)
 
bool visitKeys (function_ref< bool(QString, DomItem &)> visitor)
 
QList< DomItemvalues ()
 
void writeOutPre (OutWriter &lw)
 
void writeOut (OutWriter &lw)
 
void writeOutPost (OutWriter &lw)
 
DomItem writeOutForFile (OutWriter &ow, WriteOutChecks extraChecks)
 
DomItem writeOut (QString path, int nBackups=2, const LineWriterOptions &opt=LineWriterOptions(), FileWriter *fw=nullptr, WriteOutChecks extraChecks=WriteOutCheck::Default)
 
bool visitTree (Path basePath, ChildrenVisitor visitor, VisitOptions options=VisitOption::Default, ChildrenVisitor openingVisitor=emptyChildrenVisitor, ChildrenVisitor closingVisitor=emptyChildrenVisitor)
 
bool visitPrototypeChain (function_ref< bool(DomItem &)> visitor, VisitPrototypesOptions options=VisitPrototypesOption::Normal, ErrorHandler h=nullptr, QSet< quintptr > *visited=nullptr, QList< Path > *visitedRefs=nullptr)
 
bool visitDirectAccessibleScopes (function_ref< bool(DomItem &)> visitor, VisitPrototypesOptions options=VisitPrototypesOption::Normal, ErrorHandler h=nullptr, QSet< quintptr > *visited=nullptr, QList< Path > *visitedRefs=nullptr)
 
bool visitStaticTypePrototypeChains (function_ref< bool(DomItem &)> visitor, VisitPrototypesOptions options=VisitPrototypesOption::Normal, ErrorHandler h=nullptr, QSet< quintptr > *visited=nullptr, QList< Path > *visitedRefs=nullptr)
 
bool visitUp (function_ref< bool(DomItem &)> visitor)
 
bool visitScopeChain (function_ref< bool(DomItem &)> visitor, LookupOptions=LookupOption::Normal, ErrorHandler h=nullptr, QSet< quintptr > *visited=nullptr, QList< Path > *visitedRefs=nullptr)
 
bool visitLocalSymbolsNamed (QString name, function_ref< bool(DomItem &)> visitor)
 
QSet< QStringlocalSymbolNames (LocalSymbolsTypes lTypes=LocalSymbolsType::All)
 
bool visitLookup1 (QString symbolName, function_ref< bool(DomItem &)> visitor, LookupOptions=LookupOption::Normal, ErrorHandler h=nullptr, QSet< quintptr > *visited=nullptr, QList< Path > *visitedRefs=nullptr)
 
bool visitLookup (QString symbolName, function_ref< bool(DomItem &)> visitor, LookupType type=LookupType::Symbol, LookupOptions=LookupOption::Normal, ErrorHandler errorHandler=nullptr, QSet< quintptr > *visited=nullptr, QList< Path > *visitedRefs=nullptr)
 
bool visitSubSymbolsNamed (QString name, function_ref< bool(DomItem &)> visitor)
 
DomItem proceedToScope (ErrorHandler h=nullptr, QList< Path > *visitedRefs=nullptr)
 
QList< DomItemlookup (QString symbolName, LookupType type=LookupType::Symbol, LookupOptions=LookupOption::Normal, ErrorHandler errorHandler=nullptr)
 
DomItem lookupFirst (QString symbolName, LookupType type=LookupType::Symbol, LookupOptions=LookupOption::Normal, ErrorHandler errorHandler=nullptr)
 
quintptr id ()
 
Path pathFromOwner ()
 
QString canonicalFilePath ()
 
DomItem fileLocationsTree ()
 
DomItem fileLocations ()
 
MutableDomItem makeCopy (CopyOption option=CopyOption::EnvConnected)
 
bool commitToBase (std::shared_ptr< DomEnvironment > validPtr=nullptr)
 
DomItem refreshed ()
 
QCborValue value ()
 
void dumpPtr (Sink sink)
 
void dump (Sink, int indent=0, function_ref< bool(DomItem &, const PathEls::PathComponent &, DomItem &)> filter=noFilter)
 
FileWriter::Status dump (QString path, function_ref< bool(DomItem &, const PathEls::PathComponent &, DomItem &)> filter=noFilter, int nBackups=2, int indent=0, FileWriter *fw=nullptr)
 
QString toString ()
 
QString toString () const
 
int derivedFrom ()
 
int revision ()
 
QDateTime createdAt ()
 
QDateTime frozenAt ()
 
QDateTime lastDataUpdateAt ()
 
void addError (ErrorMessage msg)
 
ErrorHandler errorHandler ()
 
void clearErrors (ErrorGroups groups=ErrorGroups({}), bool iterate=true)
 
bool iterateErrors (function_ref< bool(DomItem source, ErrorMessage msg)> visitor, bool iterate, Path inPath=Path())
 
bool iterateSubOwners (function_ref< bool(DomItem &owner)> visitor)
 
bool iterateDirectSubpaths (DirectVisitor v)
 
template<typename T >
DomItem subDataItem (const PathEls::PathComponent &c, T value, ConstantData::Options options=ConstantData::Options::MapIsMap)
 
template<typename T >
DomItem subDataItemField (QStringView f, T value, ConstantData::Options options=ConstantData::Options::MapIsMap)
 
template<typename T >
DomItem subValueItem (const PathEls::PathComponent &c, T value, ConstantData::Options options=ConstantData::Options::MapIsMap)
 
template<typename T >
bool dvValue (DirectVisitor visitor, const PathEls::PathComponent &c, T value, ConstantData::Options options=ConstantData::Options::MapIsMap)
 
template<typename T >
bool dvValueField (DirectVisitor visitor, QStringView f, T value, ConstantData::Options options=ConstantData::Options::MapIsMap)
 
template<typename F >
bool dvValueLazy (DirectVisitor visitor, const PathEls::PathComponent &c, F valueF, ConstantData::Options options=ConstantData::Options::MapIsMap)
 
template<typename F >
bool dvValueLazyField (DirectVisitor visitor, QStringView f, F valueF, ConstantData::Options options=ConstantData::Options::MapIsMap)
 
DomItem subLocationItem (const PathEls::PathComponent &c, SourceLocation loc, QStringView code=QStringView())
 
DomItem subReferencesItem (const PathEls::PathComponent &c, QList< Path > paths)
 
DomItem subReferenceItem (const PathEls::PathComponent &c, Path referencedObject)
 
bool dvReference (DirectVisitor visitor, const PathEls::PathComponent &c, Path referencedObject)
 
bool dvReferences (DirectVisitor visitor, const PathEls::PathComponent &c, QList< Path > paths)
 
bool dvReferenceField (DirectVisitor visitor, QStringView f, Path referencedObject)
 
bool dvReferencesField (DirectVisitor visitor, QStringView f, QList< Path > paths)
 
bool dvItem (DirectVisitor visitor, const PathEls::PathComponent &c, function_ref< DomItem()> it)
 
bool dvItemField (DirectVisitor visitor, QStringView f, function_ref< DomItem()> it)
 
DomItem subListItem (const List &list)
 
DomItem subMapItem (const Map &map)
 
DomItem subObjectWrapItem (SimpleObjectWrap obj)
 
DomItem subScriptElementWrapperItem (const ScriptElementVariant &obj)
 
template<typename Owner >
DomItem subOwnerItem (const PathEls::PathComponent &c, Owner o)
 
template<typename T >
DomItem wrap (const PathEls::PathComponent &c, T &obj)
 
template<typename T >
DomItem wrapField (QStringView f, T &obj)
 
template<typename T >
bool dvWrap (DirectVisitor visitor, const PathEls::PathComponent &c, T &obj)
 
template<typename T >
bool dvWrapField (DirectVisitor visitor, QStringView f, T &obj)
 
 DomItem ()=default
 
 DomItem (std::shared_ptr< DomEnvironment >)
 
 DomItem (std::shared_ptr< DomUniverse >)
 
void loadFile (const FileToLoad &file, std::function< void(Path, DomItem &, DomItem &)> callback, LoadOptions loadOptions, std::optional< DomType > fileType=std::optional< DomType >())
 
void loadModuleDependency (QString uri, Version v, std::function< void(Path, DomItem &, DomItem &)> callback=nullptr, ErrorHandler=nullptr)
 
void loadBuiltins (std::function< void(Path, DomItem &, DomItem &)> callback=nullptr, ErrorHandler=nullptr)
 
void loadPendingDependencies ()
 
std::shared_ptr< DomToptopPtr ()
 
std::shared_ptr< OwningItemowningItemPtr ()
 
template<typename T , typename std::enable_if< std::is_base_of_v< DomBase, T >, bool >::type = true>
T const * as ()
 
template<typename T , typename std::enable_if<!std::is_base_of_v< DomBase, T >, bool >::type = true>
T const * as ()
 
template<typename T >
std::shared_ptr< T > ownerAs ()
 
template<typename Owner , typename T >
DomItem copy (Owner owner, Path ownerPath, T base)
 
template<typename Owner >
DomItem copy (Owner owner, Path ownerPath)
 
template<typename T >
DomItem copy (T base)
 

Static Public Member Functions

static ErrorGroups myErrors ()
 
static ErrorGroups myResolveErrors ()
 
static DomItem fromCode (QString code, DomType fileType=DomType::QmlFile)
 

Static Public Attributes

static ErrorGroup domErrorGroup
 
static DomItem empty
 

Friends

class DomBase
 
class DomElement
 
class Map
 
class List
 
class QmlObject
 
class DomUniverse
 
class DomEnvironment
 
class ExternalItemInfoBase
 
class ConstantData
 
class MutableDomItem
 
class ScriptExpression
 
class AstComments
 
class AttachedInfo
 
class TestDomItem
 
QMLDOM_EXPORT bool operator== (const DomItem &, const DomItem &)
 

Detailed Description

Definition at line 885 of file qqmldomitem_p.h.

Member Typedef Documentation

◆ Callback

Definition at line 888 of file qqmldomitem_p.h.

◆ ChildrenVisitor

Definition at line 892 of file qqmldomitem_p.h.

◆ InternalKind

Definition at line 890 of file qqmldomitem_p.h.

◆ Visitor

Definition at line 891 of file qqmldomitem_p.h.

Member Enumeration Documentation

◆ CopyOption

Enumerator
EnvConnected 
EnvDisconnected 

Definition at line 899 of file qqmldomitem_p.h.

Constructor & Destructor Documentation

◆ DomItem() [1/3]

QQmlJS::Dom::DomItem::DomItem ( )
default

Referenced by subDataItem(), subListItem(), subMapItem(), subValueItem(), and wrap().

+ Here is the caller graph for this function:

◆ DomItem() [2/3]

QQmlJS::Dom::DomItem::DomItem ( std::shared_ptr< DomEnvironment )

◆ DomItem() [3/3]

QQmlJS::Dom::DomItem::DomItem ( std::shared_ptr< DomUniverse )

Member Function Documentation

◆ addError()

void QQmlJS::Dom::DomItem::addError ( ErrorMessage  msg)

Referenced by QQmlJS::Dom::envCallbackForFile(), and QQmlJS::Dom::DomUniverse::execQueue().

+ Here is the caller graph for this function:

◆ annotations()

DomItem QQmlJS::Dom::DomItem::annotations ( )
inline

Definition at line 972 of file qqmldomitem_p.h.

◆ as() [1/2]

template<typename T , typename std::enable_if< std::is_base_of_v< DomBase, T >, bool >::type = true>
T const * QQmlJS::Dom::DomItem::as ( )
inline

Definition at line 1226 of file qqmldomitem_p.h.

References base, QQmlJS::Dom::domTypeIsObjWrap(), and QQmlJS::Dom::domTypeIsValueWrap().

Referenced by QQmlJS::Dom::OutWriterState::OutWriterState(), QQmlJS::Dom::ModuleIndex::exportsWithNameAndMinorVersion(), and QQmlJS::Dom::ExternalOwningItem::iterateSubOwners().

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

◆ as() [2/2]

template<typename T , typename std::enable_if<!std::is_base_of_v< DomBase, T >, bool >::type = true>
T const * QQmlJS::Dom::DomItem::as ( )
inline

Definition at line 1238 of file qqmldomitem_p.h.

References QQmlJS::Dom::domTypeIsObjWrap(), QQmlJS::Dom::domTypeIsValueWrap(), and Q_ASSERT.

+ Here is the call graph for this function:

◆ bindings()

DomItem QQmlJS::Dom::DomItem::bindings ( )
inline

Definition at line 967 of file qqmldomitem_p.h.

◆ canonicalFilePath()

QString QQmlJS::Dom::DomItem::canonicalFilePath ( )

Referenced by QmlLsp::QmlLintSuggestions::diagnose(), and QQmlJS::Dom::envCallbackForFile().

+ Here is the caller graph for this function:

◆ canonicalPath()

Path QQmlJS::Dom::DomItem::canonicalPath ( )

Referenced by QQmlJS::Dom::OutWriterState::closeState(), CompletionRequest::completions(), QQmlJS::Dom::envCallbackForFile(), QQmlJS::Dom::AttachedInfo::findAttachedInfo(), QQmlJS::Dom::DomEnvironment::moduleIndexWithUri(), and QQmlJS::Dom::OutWriter::updatedFile().

+ Here is the caller graph for this function:

◆ child()

DomItem QQmlJS::Dom::DomItem::child ( index_type  i)
inline

Definition at line 971 of file qqmldomitem_p.h.

References i, and index().

+ Here is the call graph for this function:

◆ children()

DomItem QQmlJS::Dom::DomItem::children ( )
inline

Definition at line 970 of file qqmldomitem_p.h.

◆ clearErrors()

void QQmlJS::Dom::DomItem::clearErrors ( ErrorGroups  groups = ErrorGroups({}),
bool  iterate = true 
)

◆ commitToBase()

bool QQmlJS::Dom::DomItem::commitToBase ( std::shared_ptr< DomEnvironment validPtr = nullptr)

Referenced by QmlLsp::QQmlCodeModel::newDocForOpenFile().

+ Here is the caller graph for this function:

◆ component()

DomItem QQmlJS::Dom::DomItem::component ( GoTo  option = GoTo::Strict)

Referenced by CompletionRequest::completions(), and QQmlJS::Dom::FieldFilter::operator()().

+ Here is the caller graph for this function:

◆ container()

DomItem QQmlJS::Dom::DomItem::container ( )

◆ containingFile()

DomItem QQmlJS::Dom::DomItem::containingFile ( )

◆ containingObject()

DomItem QQmlJS::Dom::DomItem::containingObject ( )

Referenced by QQmlJS::Dom::MutableDomItem::containingObject().

+ Here is the caller graph for this function:

◆ copy() [1/3]

template<typename Owner >
DomItem QQmlJS::Dom::DomItem::copy ( Owner  owner,
Path  ownerPath 
)
inline

Definition at line 1259 of file qqmldomitem_p.h.

References Q_ASSERT.

◆ copy() [2/3]

template<typename Owner , typename T >
DomItem QQmlJS::Dom::DomItem::copy ( Owner  owner,
Path  ownerPath,
base 
)
inline

Definition at line 1251 of file qqmldomitem_p.h.

References base, and Q_ASSERT.

Referenced by QQmlJS::Dom::DomEnvironment::ensureGlobalScopeWithName(), QQmlJS::Dom::envCallbackForFile(), QQmlJS::Dom::DomUniverse::execQueue(), QQmlJS::Dom::DomEnvironment::iterateDirectSubpaths(), subDataItem(), QQmlJS::Dom::updateEntry(), and wrap().

+ Here is the caller graph for this function:

◆ copy() [3/3]

template<typename T >
DomItem QQmlJS::Dom::DomItem::copy ( base)
inline

Definition at line 1266 of file qqmldomitem_p.h.

References base, and Q_ASSERT.

◆ createdAt()

QDateTime QQmlJS::Dom::DomItem::createdAt ( )

◆ derivedFrom()

int QQmlJS::Dom::DomItem::derivedFrom ( )

◆ directParent()

DomItem QQmlJS::Dom::DomItem::directParent ( )

◆ domKind()

DomKind QQmlJS::Dom::DomItem::domKind ( ) const
inline

Definition at line 917 of file qqmldomitem_p.h.

References QQmlJS::Dom::kind2domKind().

Referenced by QQmlJS::Dom::domCompare(), and QQmlJS::Dom::domCompareStrList().

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

◆ dump() [1/2]

FileWriter::Status QQmlJS::Dom::DomItem::dump ( QString  path,
function_ref< bool(DomItem &, const PathEls::PathComponent &, DomItem &)>  filter = noFilter,
int  nBackups = 2,
int  indent = 0,
FileWriter fw = nullptr 
)

◆ dump() [2/2]

void QQmlJS::Dom::DomItem::dump ( Sink  ,
int  indent = 0,
function_ref< bool(DomItem &, const PathEls::PathComponent &, DomItem &)>  filter = noFilter 
)

◆ dumpPtr()

void QQmlJS::Dom::DomItem::dumpPtr ( Sink  sink)

◆ dvItem()

bool QQmlJS::Dom::DomItem::dvItem ( DirectVisitor  visitor,
const PathEls::PathComponent c,
function_ref< DomItem()>  it 
)
inline

Definition at line 1160 of file qqmldomitem_p.h.

References it.

◆ dvItemField()

bool QQmlJS::Dom::DomItem::dvItemField ( DirectVisitor  visitor,
QStringView  f,
function_ref< DomItem()>  it 
)
inline

Definition at line 1164 of file qqmldomitem_p.h.

References it.

◆ dvReference()

bool QQmlJS::Dom::DomItem::dvReference ( DirectVisitor  visitor,
const PathEls::PathComponent c,
Path  referencedObject 
)
inline

Definition at line 1142 of file qqmldomitem_p.h.

◆ dvReferenceField()

bool QQmlJS::Dom::DomItem::dvReferenceField ( DirectVisitor  visitor,
QStringView  f,
Path  referencedObject 
)
inline

Definition at line 1152 of file qqmldomitem_p.h.

◆ dvReferences()

bool QQmlJS::Dom::DomItem::dvReferences ( DirectVisitor  visitor,
const PathEls::PathComponent c,
QList< Path paths 
)
inline

Definition at line 1148 of file qqmldomitem_p.h.

◆ dvReferencesField()

bool QQmlJS::Dom::DomItem::dvReferencesField ( DirectVisitor  visitor,
QStringView  f,
QList< Path paths 
)
inline

Definition at line 1156 of file qqmldomitem_p.h.

◆ dvValue()

template<typename T >
bool DomItem::dvValue ( DirectVisitor  visitor,
const PathEls::PathComponent c,
value,
ConstantData::Options  options = ConstantData::Options::MapIsMap 
)

Definition at line 2045 of file qqmldomitem_p.h.

References value().

+ Here is the call graph for this function:

◆ dvValueField()

template<typename T >
bool QQmlJS::Dom::DomItem::dvValueField ( DirectVisitor  visitor,
QStringView  f,
value,
ConstantData::Options  options = ConstantData::Options::MapIsMap 
)
inline

Definition at line 1119 of file qqmldomitem_p.h.

◆ dvValueLazy()

template<typename F >
bool DomItem::dvValueLazy ( DirectVisitor  visitor,
const PathEls::PathComponent c,
valueF,
ConstantData::Options  options = ConstantData::Options::MapIsMap 
)

Definition at line 2055 of file qqmldomitem_p.h.

◆ dvValueLazyField()

template<typename F >
bool QQmlJS::Dom::DomItem::dvValueLazyField ( DirectVisitor  visitor,
QStringView  f,
valueF,
ConstantData::Options  options = ConstantData::Options::MapIsMap 
)
inline

Definition at line 1128 of file qqmldomitem_p.h.

◆ dvWrap()

template<typename T >
bool DomItem::dvWrap ( DirectVisitor  visitor,
const PathEls::PathComponent c,
T &  obj 
)

Definition at line 2139 of file qqmldomitem_p.h.

◆ dvWrapField()

template<typename T >
bool QQmlJS::Dom::DomItem::dvWrapField ( DirectVisitor  visitor,
QStringView  f,
T &  obj 
)
inline

Definition at line 1199 of file qqmldomitem_p.h.

◆ enumerations()

DomItem QQmlJS::Dom::DomItem::enumerations ( )
inline

Definition at line 969 of file qqmldomitem_p.h.

◆ environment()

DomItem QQmlJS::Dom::DomItem::environment ( )

Referenced by QQmlJS::Dom::OutWriter::updatedFile().

+ Here is the caller graph for this function:

◆ errorHandler()

ErrorHandler QQmlJS::Dom::DomItem::errorHandler ( )

◆ field()

DomItem QQmlJS::Dom::DomItem::field ( QStringView  name)

◆ fields()

QList< QString > QQmlJS::Dom::DomItem::fields ( )

Referenced by QQmlJS::Dom::domCompare().

+ Here is the caller graph for this function:

◆ fileLocations()

DomItem QQmlJS::Dom::DomItem::fileLocations ( )

◆ fileLocationsTree()

DomItem QQmlJS::Dom::DomItem::fileLocationsTree ( )

◆ fileObject()

DomItem QQmlJS::Dom::DomItem::fileObject ( GoTo  option = GoTo::Strict)

Referenced by CompletionRequest::completions(), QQmlBaseModule< RequestType >::itemsForRequest(), and QQmlDocumentFormatting::process().

+ Here is the caller graph for this function:

◆ filterUp()

DomItem QQmlJS::Dom::DomItem::filterUp ( function_ref< bool(DomType k, DomItem &)>  filter,
FilterUpOptions  options 
)

Referenced by QQmlLSUtils::findTypeDefinitionOf().

+ Here is the caller graph for this function:

◆ fromCode()

static DomItem QQmlJS::Dom::DomItem::fromCode ( QString  code,
DomType  fileType = DomType::QmlFile 
)
static

◆ frozenAt()

QDateTime QQmlJS::Dom::DomItem::frozenAt ( )

◆ get()

DomItem QQmlJS::Dom::DomItem::get ( ErrorHandler  h = nullptr,
QList< Path > *  visitedRefs = nullptr 
)

◆ getAll()

QList< DomItem > QQmlJS::Dom::DomItem::getAll ( ErrorHandler  h = nullptr,
QList< Path > *  visitedRefs = nullptr 
)

◆ globalScope()

DomItem QQmlJS::Dom::DomItem::globalScope ( )

◆ goToFile()

DomItem QQmlJS::Dom::DomItem::goToFile ( const QString filePath)

◆ goUp()

DomItem QQmlJS::Dom::DomItem::goUp ( int  )

◆ hasAnnotations()

bool QQmlJS::Dom::DomItem::hasAnnotations ( )

◆ id()

quintptr QQmlJS::Dom::DomItem::id ( )

◆ ids()

DomItem QQmlJS::Dom::DomItem::ids ( )
inline

Definition at line 961 of file qqmldomitem_p.h.

◆ idStr()

QString QQmlJS::Dom::DomItem::idStr ( )
inline

Definition at line 962 of file qqmldomitem_p.h.

◆ index()

DomItem QQmlJS::Dom::DomItem::index ( index_type  )

Referenced by child(), QQmlJS::Dom::domCompare(), QQmlJS::Dom::ModuleIndex::exportsWithNameAndMinorVersion(), and QQmlJS::Dom::ImportScope::importedItemsWithName().

+ Here is the caller graph for this function:

◆ indexes()

index_type QQmlJS::Dom::DomItem::indexes ( )

Referenced by QQmlJS::Dom::domCompare(), QQmlJS::Dom::domCompareStrList(), QQmlJS::Dom::ModuleIndex::exportsWithNameAndMinorVersion(), and QQmlJS::Dom::ImportScope::importedItemsWithName().

+ Here is the caller graph for this function:

◆ internalKind()

InternalKind QQmlJS::Dom::DomItem::internalKind ( ) const
inline

Definition at line 913 of file qqmldomitem_p.h.

Referenced by CompletionRequest::completions(), QQmlJS::Dom::MutableDomItem::containingObject(), and QQmlJS::Dom::OutWriter::updatedFile().

+ Here is the caller graph for this function:

◆ internalKindStr()

QString QQmlJS::Dom::DomItem::internalKindStr ( ) const
inline

Definition at line 916 of file qqmldomitem_p.h.

References QQmlJS::Dom::domTypeToString().

Referenced by CompletionRequest::completions().

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

◆ isCanonicalChild()

bool QQmlJS::Dom::DomItem::isCanonicalChild ( DomItem child)

Referenced by QQmlJS::Dom::domCompare().

+ Here is the caller graph for this function:

◆ isContainer()

bool QQmlJS::Dom::DomItem::isContainer ( )
inline

Definition at line 955 of file qqmldomitem_p.h.

References QQmlJS::Dom::domTypeIsContainer().

+ Here is the call graph for this function:

◆ isExternalItem()

bool QQmlJS::Dom::DomItem::isExternalItem ( )
inline

Definition at line 953 of file qqmldomitem_p.h.

References QQmlJS::Dom::domTypeIsExternalItem().

+ Here is the call graph for this function:

◆ isOwningItem()

bool QQmlJS::Dom::DomItem::isOwningItem ( )
inline

Definition at line 952 of file qqmldomitem_p.h.

References QQmlJS::Dom::domTypeIsOwningItem().

+ Here is the call graph for this function:

◆ isScope()

bool QQmlJS::Dom::DomItem::isScope ( )
inline

Definition at line 956 of file qqmldomitem_p.h.

References QQmlJS::Dom::domTypeIsScope().

+ Here is the call graph for this function:

◆ isTopItem()

bool QQmlJS::Dom::DomItem::isTopItem ( )
inline

Definition at line 954 of file qqmldomitem_p.h.

References QQmlJS::Dom::domTypeIsTopItem().

+ Here is the call graph for this function:

◆ iterateDirectSubpaths()

bool QQmlJS::Dom::DomItem::iterateDirectSubpaths ( DirectVisitor  v)

◆ iterateErrors()

bool QQmlJS::Dom::DomItem::iterateErrors ( function_ref< bool(DomItem source, ErrorMessage msg)>  visitor,
bool  iterate,
Path  inPath = Path() 
)

Referenced by QmlLsp::QmlLintSuggestions::diagnose(), and QQmlJS::Dom::DomUniverse::execQueue().

+ Here is the caller graph for this function:

◆ iterateSubOwners()

bool QQmlJS::Dom::DomItem::iterateSubOwners ( function_ref< bool(DomItem &owner)>  visitor)

◆ key() [1/2]

DomItem QQmlJS::Dom::DomItem::key ( QString  name)

Referenced by QQmlJS::Dom::domCompare(), QQmlJS::Dom::ModuleIndex::exportsWithNameAndMinorVersion(), and QQmlJS::Dom::ImportScope::importedItemsWithName().

+ Here is the caller graph for this function:

◆ key() [2/2]

DomItem QQmlJS::Dom::DomItem::key ( QStringView  name)
inline

Definition at line 1010 of file qqmldomitem_p.h.

References key().

Referenced by key().

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

◆ keys()

QSet< QString > QQmlJS::Dom::DomItem::keys ( )

◆ lastDataUpdateAt()

QDateTime QQmlJS::Dom::DomItem::lastDataUpdateAt ( )

◆ length()

index_type QQmlJS::Dom::DomItem::length ( )
inline

Definition at line 994 of file qqmldomitem_p.h.

◆ loadBuiltins()

void QQmlJS::Dom::DomItem::loadBuiltins ( std::function< void(Path, DomItem &, DomItem &)>  callback = nullptr,
ErrorHandler  = nullptr 
)

◆ loadFile()

void QQmlJS::Dom::DomItem::loadFile ( const FileToLoad file,
std::function< void(Path, DomItem &, DomItem &)>  callback,
LoadOptions  loadOptions,
std::optional< DomType fileType = std::optional< DomType >() 
)

Referenced by QmlLsp::QQmlCodeModel::newDocForOpenFile().

+ Here is the caller graph for this function:

◆ loadModuleDependency()

void QQmlJS::Dom::DomItem::loadModuleDependency ( QString  uri,
Version  v,
std::function< void(Path, DomItem &, DomItem &)>  callback = nullptr,
ErrorHandler  = nullptr 
)

◆ loadPendingDependencies()

void QQmlJS::Dom::DomItem::loadPendingDependencies ( )

Referenced by QmlLsp::QQmlCodeModel::newDocForOpenFile().

+ Here is the caller graph for this function:

◆ localSymbolNames()

QSet< QString > QQmlJS::Dom::DomItem::localSymbolNames ( LocalSymbolsTypes  lTypes = LocalSymbolsType::All)

◆ lookup()

QList< DomItem > QQmlJS::Dom::DomItem::lookup ( QString  symbolName,
LookupType  type = LookupType::Symbol,
LookupOptions  = LookupOption::Normal,
ErrorHandler  errorHandler = nullptr 
)

◆ lookupFirst()

DomItem QQmlJS::Dom::DomItem::lookupFirst ( QString  symbolName,
LookupType  type = LookupType::Symbol,
LookupOptions  = LookupOption::Normal,
ErrorHandler  errorHandler = nullptr 
)

◆ makeCopy()

MutableDomItem QQmlJS::Dom::DomItem::makeCopy ( CopyOption  option = CopyOption::EnvConnected)

Referenced by QQmlJS::Dom::DomEnvironment::ensureGlobalScopeWithName(), QQmlJS::Dom::envCallbackForFile(), QmlLsp::QQmlCodeModel::newDocForOpenFile(), and QQmlJS::Dom::updateEntry().

+ Here is the caller graph for this function:

◆ methods()

DomItem QQmlJS::Dom::DomItem::methods ( )
inline

Definition at line 968 of file qqmldomitem_p.h.

◆ myErrors()

static ErrorGroups QQmlJS::Dom::DomItem::myErrors ( )
static

◆ myResolveErrors()

static ErrorGroups QQmlJS::Dom::DomItem::myResolveErrors ( )
static

◆ name()

QString QQmlJS::Dom::DomItem::name ( )
inline

Definition at line 959 of file qqmldomitem_p.h.

Referenced by wrap().

+ Here is the caller graph for this function:

◆ nearestSemanticScope()

std::optional< QQmlJSScope::Ptr > QQmlJS::Dom::DomItem::nearestSemanticScope ( )

◆ operator bool()

QQmlJS::Dom::DomItem::operator bool ( ) const
inlineexplicit

Definition at line 912 of file qqmldomitem_p.h.

◆ operator[]() [1/6]

DomItem QQmlJS::Dom::DomItem::operator[] ( const char16_t *  component)
inline

Definition at line 987 of file qqmldomitem_p.h.

References component().

+ Here is the call graph for this function:

◆ operator[]() [2/6]

DomItem QQmlJS::Dom::DomItem::operator[] ( const QString component)

◆ operator[]() [3/6]

DomItem QQmlJS::Dom::DomItem::operator[] ( index_type  i)
inline

Definition at line 991 of file qqmldomitem_p.h.

References i.

◆ operator[]() [4/6]

DomItem QQmlJS::Dom::DomItem::operator[] ( int  i)
inline

Definition at line 992 of file qqmldomitem_p.h.

References i.

◆ operator[]() [5/6]

DomItem QQmlJS::Dom::DomItem::operator[] ( Path  path)

◆ operator[]() [6/6]

DomItem QQmlJS::Dom::DomItem::operator[] ( QStringView  component)

◆ owner()

DomItem QQmlJS::Dom::DomItem::owner ( )

Referenced by QQmlJS::Dom::MutableDomItem::containingObject(), QQmlJS::Dom::ModuleScope::iterateDirectSubpaths(), and QQmlJS::Dom::DomEnvironment::iterateDirectSubpaths().

+ Here is the caller graph for this function:

◆ ownerAs()

template<typename T >
std::shared_ptr< T > DomItem::ownerAs

◆ owningItemPtr()

std::shared_ptr< OwningItem > QQmlJS::Dom::DomItem::owningItemPtr ( )

◆ path() [1/3]

DomItem QQmlJS::Dom::DomItem::path ( Path  p,
ErrorHandler  h = &defaultErrorHandler 
)

Referenced by QQmlJS::Dom::ModuleIndex::autoExports(), QQmlJS::Dom::MutableDomItem::item(), QQmlLSUtils::itemsFromTextLocation(), QQmlJS::Dom::DomEnvironment::loadFile(), QQmlJS::Dom::DomEnvironment::loadModuleDependency(), and QmlLsp::QQmlCodeModel::newDocForOpenFile().

+ Here is the caller graph for this function:

◆ path() [2/3]

DomItem QQmlJS::Dom::DomItem::path ( QString  p,
ErrorHandler  h = &defaultErrorHandler 
)

◆ path() [3/3]

DomItem QQmlJS::Dom::DomItem::path ( QStringView  p,
ErrorHandler  h = &defaultErrorHandler 
)

◆ pathFromOwner()

Path QQmlJS::Dom::DomItem::pathFromOwner ( )

Referenced by QQmlJS::Dom::MutableDomItem::containingObject(), subDataItem(), subValueItem(), and wrap().

+ Here is the caller graph for this function:

◆ pragmas()

DomItem QQmlJS::Dom::DomItem::pragmas ( )
inline

Definition at line 960 of file qqmldomitem_p.h.

◆ proceedToScope()

DomItem QQmlJS::Dom::DomItem::proceedToScope ( ErrorHandler  h = nullptr,
QList< Path > *  visitedRefs = nullptr 
)

Referenced by QQmlLSUtils::findTypeDefinitionOf().

+ Here is the caller graph for this function:

◆ propertyDefs()

DomItem QQmlJS::Dom::DomItem::propertyDefs ( )
inline

Definition at line 966 of file qqmldomitem_p.h.

◆ propertyInfoNames()

QSet< QString > QQmlJS::Dom::DomItem::propertyInfoNames ( )

◆ propertyInfos()

DomItem QQmlJS::Dom::DomItem::propertyInfos ( )
inline

Definition at line 963 of file qqmldomitem_p.h.

◆ propertyInfoWithName()

PropertyInfo QQmlJS::Dom::DomItem::propertyInfoWithName ( QString  name)

◆ qmlObject()

DomItem QQmlJS::Dom::DomItem::qmlObject ( GoTo  option = GoTo::Strict,
FilterUpOptions  options = FilterUpOptions::ReturnOuter 
)

Referenced by CompletionRequest::completions().

+ Here is the caller graph for this function:

◆ refreshed()

DomItem QQmlJS::Dom::DomItem::refreshed ( )
inline

Definition at line 1068 of file qqmldomitem_p.h.

References canonicalPath().

+ Here is the call graph for this function:

◆ resolve()

bool QQmlJS::Dom::DomItem::resolve ( Path  path,
Visitor  visitor,
ErrorHandler  errorHandler,
ResolveOptions  options = ResolveOption::None,
Path  fullPath = Path(),
QList< Path > *  visitedRefs = nullptr 
)

◆ revision()

int QQmlJS::Dom::DomItem::revision ( )

◆ rootQmlObject()

DomItem QQmlJS::Dom::DomItem::rootQmlObject ( GoTo  option = GoTo::Strict)

◆ scope()

DomItem QQmlJS::Dom::DomItem::scope ( FilterUpOptions  options = FilterUpOptions::ReturnOuter)

◆ semanticScope()

std::optional< QQmlJSScope::Ptr > QQmlJS::Dom::DomItem::semanticScope ( )

Referenced by QQmlLSUtils::resolveExpressionType().

+ Here is the caller graph for this function:

◆ size()

index_type QQmlJS::Dom::DomItem::size ( )
inline

Definition at line 993 of file qqmldomitem_p.h.

References keys.

◆ sortedKeys()

QStringList QQmlJS::Dom::DomItem::sortedKeys ( )

Referenced by QQmlJS::Dom::domCompare().

+ Here is the caller graph for this function:

◆ subDataItem()

template<typename T >
DomItem DomItem::subDataItem ( const PathEls::PathComponent c,
value,
ConstantData::Options  options = ConstantData::Options::MapIsMap 
)

Definition at line 2028 of file qqmldomitem_p.h.

References DomItem(), ConstantData, copy(), and pathFromOwner().

Referenced by subValueItem(), and wrap().

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

◆ subDataItemField()

template<typename T >
DomItem QQmlJS::Dom::DomItem::subDataItemField ( QStringView  f,
value,
ConstantData::Options  options = ConstantData::Options::MapIsMap 
)
inline

Definition at line 1107 of file qqmldomitem_p.h.

◆ subListItem()

DomItem DomItem::subListItem ( const List list)
inline

Definition at line 2276 of file qqmldomitem_p.h.

References DomItem(), and list.

Referenced by subValueItem(), and wrap().

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

◆ subLocationItem()

DomItem QQmlJS::Dom::DomItem::subLocationItem ( const PathEls::PathComponent c,
SourceLocation  loc,
QStringView  code = QStringView() 
)
inline

Definition at line 1133 of file qqmldomitem_p.h.

References QQmlJS::Dom::locationToData().

Referenced by wrap().

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

◆ subMapItem()

DomItem DomItem::subMapItem ( const Map map)
inline

Definition at line 2281 of file qqmldomitem_p.h.

References DomItem(), and map.

Referenced by wrap().

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

◆ subObjectWrapItem()

DomItem QQmlJS::Dom::DomItem::subObjectWrapItem ( SimpleObjectWrap  obj)
inline

Definition at line 1170 of file qqmldomitem_p.h.

Referenced by wrap().

+ Here is the caller graph for this function:

◆ subOwnerItem()

template<typename Owner >
DomItem QQmlJS::Dom::DomItem::subOwnerItem ( const PathEls::PathComponent c,
Owner  o 
)
inline

Definition at line 1182 of file qqmldomitem_p.h.

References canonicalPath(), QQmlJS::Dom::domTypeIsUnattachedOwningItem(), and o.

Referenced by subValueItem(), and wrap().

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

◆ subReferenceItem()

DomItem QQmlJS::Dom::DomItem::subReferenceItem ( const PathEls::PathComponent c,
Path  referencedObject 
)

◆ subReferencesItem()

DomItem QQmlJS::Dom::DomItem::subReferencesItem ( const PathEls::PathComponent c,
QList< Path paths 
)

◆ subScriptElementWrapperItem()

DomItem QQmlJS::Dom::DomItem::subScriptElementWrapperItem ( const ScriptElementVariant obj)
inline

Definition at line 1175 of file qqmldomitem_p.h.

References Q_ASSERT.

◆ subValueItem()

template<typename T >
DomItem DomItem::subValueItem ( const PathEls::PathComponent c,
value,
ConstantData::Options  options = ConstantData::Options::MapIsMap 
)

Definition at line 2001 of file qqmldomitem_p.h.

References DomItem(), ConstantData, list, pathFromOwner(), Q_UNUSED, subDataItem(), subListItem(), subOwnerItem(), and value().

+ Here is the call graph for this function:

◆ top()

DomItem QQmlJS::Dom::DomItem::top ( )

◆ topPtr()

std::shared_ptr< DomTop > QQmlJS::Dom::DomItem::topPtr ( )

◆ toString() [1/2]

QString QQmlJS::Dom::DomItem::toString ( )

Referenced by QQmlJS::Dom::domCompareStrList(), QQmlJS::Dom::ImportScope::importedItemsWithName(), QQmlBaseModule< RequestType >::itemsForRequest(), and QQmlDocumentFormatting::process().

+ Here is the caller graph for this function:

◆ toString() [2/2]

QString QQmlJS::Dom::DomItem::toString ( ) const
inline

Definition at line 1080 of file qqmldomitem_p.h.

◆ universe()

DomItem QQmlJS::Dom::DomItem::universe ( )

◆ value()

QCborValue QQmlJS::Dom::DomItem::value ( )

Referenced by QmlLsp::QmlLintSuggestions::diagnose(), QQmlJS::Dom::domCompare(), QQmlJS::Dom::domCompareStrList(), QmlLsp::OpenDocumentSnapshot::dump(), dvValue(), QQmlJS::Dom::ExternalItemInfoBase::lastRevision(), QQmlJS::Dom::ExternalItemInfoBase::lastValidRevision(), and subValueItem().

+ Here is the caller graph for this function:

◆ values()

QList< DomItem > QQmlJS::Dom::DomItem::values ( )

◆ visitDirectAccessibleScopes()

bool QQmlJS::Dom::DomItem::visitDirectAccessibleScopes ( function_ref< bool(DomItem &)>  visitor,
VisitPrototypesOptions  options = VisitPrototypesOption::Normal,
ErrorHandler  h = nullptr,
QSet< quintptr > *  visited = nullptr,
QList< Path > *  visitedRefs = nullptr 
)

◆ visitEl()

template<typename F >
auto QQmlJS::Dom::DomItem::visitEl ( f)
inline

Definition at line 907 of file qqmldomitem_p.h.

◆ visitIndexes()

bool QQmlJS::Dom::DomItem::visitIndexes ( function_ref< bool(DomItem &)>  visitor)

Referenced by QQmlJS::Dom::ExternalOwningItem::iterateSubOwners().

+ Here is the caller graph for this function:

◆ visitKeys()

bool QQmlJS::Dom::DomItem::visitKeys ( function_ref< bool(QString, DomItem &)>  visitor)

◆ visitLocalSymbolsNamed()

bool QQmlJS::Dom::DomItem::visitLocalSymbolsNamed ( QString  name,
function_ref< bool(DomItem &)>  visitor 
)

◆ visitLookup()

bool QQmlJS::Dom::DomItem::visitLookup ( QString  symbolName,
function_ref< bool(DomItem &)>  visitor,
LookupType  type = LookupType::Symbol,
LookupOptions  = LookupOption::Normal,
ErrorHandler  errorHandler = nullptr,
QSet< quintptr > *  visited = nullptr,
QList< Path > *  visitedRefs = nullptr 
)

◆ visitLookup1()

bool QQmlJS::Dom::DomItem::visitLookup1 ( QString  symbolName,
function_ref< bool(DomItem &)>  visitor,
LookupOptions  = LookupOption::Normal,
ErrorHandler  h = nullptr,
QSet< quintptr > *  visited = nullptr,
QList< Path > *  visitedRefs = nullptr 
)

◆ visitMutableEl()

template<typename F >
auto QQmlJS::Dom::DomItem::visitMutableEl ( f)
inline

Definition at line 902 of file qqmldomitem_p.h.

◆ visitPrototypeChain()

bool QQmlJS::Dom::DomItem::visitPrototypeChain ( function_ref< bool(DomItem &)>  visitor,
VisitPrototypesOptions  options = VisitPrototypesOption::Normal,
ErrorHandler  h = nullptr,
QSet< quintptr > *  visited = nullptr,
QList< Path > *  visitedRefs = nullptr 
)

◆ visitScopeChain()

bool QQmlJS::Dom::DomItem::visitScopeChain ( function_ref< bool(DomItem &)>  visitor,
LookupOptions  = LookupOption::Normal,
ErrorHandler  h = nullptr,
QSet< quintptr > *  visited = nullptr,
QList< Path > *  visitedRefs = nullptr 
)

◆ visitStaticTypePrototypeChains()

bool QQmlJS::Dom::DomItem::visitStaticTypePrototypeChains ( function_ref< bool(DomItem &)>  visitor,
VisitPrototypesOptions  options = VisitPrototypesOption::Normal,
ErrorHandler  h = nullptr,
QSet< quintptr > *  visited = nullptr,
QList< Path > *  visitedRefs = nullptr 
)

◆ visitSubSymbolsNamed()

bool QQmlJS::Dom::DomItem::visitSubSymbolsNamed ( QString  name,
function_ref< bool(DomItem &)>  visitor 
)

◆ visitTree()

bool QQmlJS::Dom::DomItem::visitTree ( Path  basePath,
ChildrenVisitor  visitor,
VisitOptions  options = VisitOption::Default,
ChildrenVisitor  openingVisitor = emptyChildrenVisitor,
ChildrenVisitor  closingVisitor = emptyChildrenVisitor 
)

◆ visitUp()

bool QQmlJS::Dom::DomItem::visitUp ( function_ref< bool(DomItem &)>  visitor)

◆ wrap()

template<typename T >
DomItem DomItem::wrap ( const PathEls::PathComponent c,
T &  obj 
)

◆ wrapField()

template<typename T >
DomItem QQmlJS::Dom::DomItem::wrapField ( QStringView  f,
T &  obj 
)
inline

Definition at line 1192 of file qqmldomitem_p.h.

◆ writeOut() [1/2]

void QQmlJS::Dom::DomItem::writeOut ( OutWriter lw)

Referenced by QQmlJS::Dom::QmlFile::writeOut().

+ Here is the caller graph for this function:

◆ writeOut() [2/2]

DomItem QQmlJS::Dom::DomItem::writeOut ( QString  path,
int  nBackups = 2,
const LineWriterOptions opt = LineWriterOptions(),
FileWriter fw = nullptr,
WriteOutChecks  extraChecks = WriteOutCheck::Default 
)

◆ writeOutForFile()

DomItem QQmlJS::Dom::DomItem::writeOutForFile ( OutWriter ow,
WriteOutChecks  extraChecks 
)

◆ writeOutPost()

void QQmlJS::Dom::DomItem::writeOutPost ( OutWriter lw)

◆ writeOutPre()

void QQmlJS::Dom::DomItem::writeOutPre ( OutWriter lw)

Friends And Related Symbol Documentation

◆ AstComments

friend class AstComments
friend

Definition at line 1344 of file qqmldomitem_p.h.

◆ AttachedInfo

friend class AttachedInfo
friend

Definition at line 1345 of file qqmldomitem_p.h.

◆ ConstantData

friend class ConstantData
friend

Definition at line 1341 of file qqmldomitem_p.h.

Referenced by subDataItem(), and subValueItem().

◆ DomBase

friend class DomBase
friend

Definition at line 1333 of file qqmldomitem_p.h.

◆ DomElement

friend class DomElement
friend

Definition at line 1334 of file qqmldomitem_p.h.

◆ DomEnvironment

friend class DomEnvironment
friend

Definition at line 1339 of file qqmldomitem_p.h.

◆ DomUniverse

friend class DomUniverse
friend

Definition at line 1338 of file qqmldomitem_p.h.

◆ ExternalItemInfoBase

friend class ExternalItemInfoBase
friend

Definition at line 1340 of file qqmldomitem_p.h.

◆ List

friend class List
friend

Definition at line 1336 of file qqmldomitem_p.h.

◆ Map

friend class Map
friend

Definition at line 1335 of file qqmldomitem_p.h.

◆ MutableDomItem

friend class MutableDomItem
friend

Definition at line 1342 of file qqmldomitem_p.h.

◆ operator==

QMLDOM_EXPORT bool operator== ( const DomItem ,
const DomItem  
)
friend

◆ QmlObject

friend class QmlObject
friend

Definition at line 1337 of file qqmldomitem_p.h.

◆ ScriptExpression

friend class ScriptExpression
friend

Definition at line 1343 of file qqmldomitem_p.h.

◆ TestDomItem

friend class TestDomItem
friend

Definition at line 1346 of file qqmldomitem_p.h.

Member Data Documentation

◆ domErrorGroup

◆ empty

DomItem QQmlJS::Dom::DomItem::empty
static

Definition at line 897 of file qqmldomitem_p.h.

Referenced by QQmlJS::Dom::domCompare(), and QQmlJS::Dom::DomUniverse::loadFile().


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