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::MutableDomItem Class Reference

#include <qqmldomitem_p.h>

+ Collaboration diagram for QQmlJS::Dom::MutableDomItem:

Public Types

using CopyOption = DomItem::CopyOption
 

Public Member Functions

 operator bool () const
 
DomType internalKind ()
 
QString internalKindStr ()
 
DomKind domKind ()
 
Path canonicalPath () const
 
MutableDomItem containingObject ()
 
MutableDomItem container ()
 
MutableDomItem qmlObject (GoTo option=GoTo::Strict, FilterUpOptions fOptions=FilterUpOptions::ReturnOuter)
 
MutableDomItem fileObject (GoTo option=GoTo::Strict)
 
MutableDomItem rootQmlObject (GoTo option=GoTo::Strict)
 
MutableDomItem globalScope ()
 
MutableDomItem scope ()
 
MutableDomItem component (GoTo option=GoTo::Strict)
 
MutableDomItem owner ()
 
MutableDomItem top ()
 
MutableDomItem environment ()
 
MutableDomItem universe ()
 
Path pathFromOwner ()
 
MutableDomItem operator[] (const Path &path)
 
MutableDomItem operator[] (QStringView component)
 
MutableDomItem operator[] (const QString &component)
 
MutableDomItem operator[] (const char16_t *component)
 
MutableDomItem operator[] (index_type i)
 
MutableDomItem path (const Path &p)
 
MutableDomItem path (const QString &p)
 
MutableDomItem path (QStringView p)
 
QList< QString > const fields ()
 
MutableDomItem field (QStringView name)
 
index_type indexes ()
 
MutableDomItem index (index_type i)
 
QSet< QString > const keys ()
 
MutableDomItem key (const QString &name)
 
MutableDomItem key (QStringView name)
 
void dump (const Sink &s, int indent=0, function_ref< bool(const DomItem &, const PathEls::PathComponent &, const DomItem &)> filter=noFilter)
 
FileWriter::Status dump (const QString &path, function_ref< bool(const DomItem &, const PathEls::PathComponent &, const DomItem &)> filter=noFilter, int nBackups=2, int indent=0, FileWriter *fw=nullptr)
 
void writeOut (OutWriter &lw)
 
bool writeOut (const QString &path, int nBackups=2, const LineWriterOptions &opt=LineWriterOptions(), FileWriter *fw=nullptr)
 
MutableDomItem fileLocations ()
 
MutableDomItem makeCopy (CopyOption option=CopyOption::EnvConnected)
 
bool commitToBase (const std::shared_ptr< DomEnvironment > &validEnvPtr=nullptr)
 
QString canonicalFilePath () const
 
MutableDomItem refreshed ()
 
QCborValue value ()
 
QString toString ()
 
QString name ()
 
MutableDomItem pragmas ()
 
MutableDomItem ids ()
 
QString idStr ()
 
MutableDomItem propertyDefs ()
 
MutableDomItem bindings ()
 
MutableDomItem methods ()
 
MutableDomItem children ()
 
MutableDomItem child (index_type i)
 
MutableDomItem annotations ()
 
int derivedFrom ()
 
int revision ()
 
QDateTime createdAt ()
 
QDateTime frozenAt ()
 
QDateTime lastDataUpdateAt ()
 
void addError (ErrorMessage &&msg)
 
ErrorHandler errorHandler ()
 
MutableDomItem addPrototypePath (const Path &prototypePath)
 
MutableDomItem setNextScopePath (const Path &nextScopePath)
 
MutableDomItem setPropertyDefs (QMultiMap< QString, PropertyDefinition > propertyDefs)
 
MutableDomItem setBindings (QMultiMap< QString, Binding > bindings)
 
MutableDomItem setMethods (QMultiMap< QString, MethodInfo > functionDefs)
 
MutableDomItem setChildren (const QList< QmlObject > &children)
 
MutableDomItem setAnnotations (const QList< QmlObject > &annotations)
 
MutableDomItem setScript (const std::shared_ptr< ScriptExpression > &exp)
 
MutableDomItem setCode (const QString &code)
 
MutableDomItem addPropertyDef (const PropertyDefinition &propertyDef, AddOption option=AddOption::Overwrite)
 
MutableDomItem addBinding (Binding binding, AddOption option=AddOption::Overwrite)
 
MutableDomItem addMethod (const MethodInfo &functionDef, AddOption option=AddOption::Overwrite)
 
MutableDomItem addChild (QmlObject child)
 
MutableDomItem addAnnotation (QmlObject child)
 
MutableDomItem addPreComment (const Comment &comment, FileLocationRegion region)
 
MutableDomItem addPostComment (const Comment &comment, FileLocationRegion region)
 
QQmlJSScope::ConstPtr semanticScope ()
 
void setSemanticScope (const QQmlJSScope::ConstPtr &scope)
 
 MutableDomItem ()=default
 
 MutableDomItem (const DomItem &owner, const Path &pathFromOwner)
 
 MutableDomItem (const DomItem &item)
 
std::shared_ptr< DomToptopPtr ()
 
std::shared_ptr< OwningItemowningItemPtr ()
 
template<typename T >
T const * as ()
 
template<typename T >
T * mutableAs ()
 
template<typename T >
std::shared_ptr< T > ownerAs () const
 
DomItem item () const
 

Friends

bool operator== (const MutableDomItem &o1, const MutableDomItem &o2)
 
bool operator!= (const MutableDomItem &o1, const MutableDomItem &o2)
 

Detailed Description

Definition at line 1626 of file qqmldomitem_p.h.

Member Typedef Documentation

◆ CopyOption

Constructor & Destructor Documentation

◆ MutableDomItem() [1/3]

QQmlJS::Dom::MutableDomItem::MutableDomItem ( )
default

◆ MutableDomItem() [2/3]

QQmlJS::Dom::MutableDomItem::MutableDomItem ( const DomItem & owner,
const Path & pathFromOwner )
inline

Definition at line 1791 of file qqmldomitem_p.h.

◆ MutableDomItem() [3/3]

QQmlJS::Dom::MutableDomItem::MutableDomItem ( const DomItem & item)
inline

Definition at line 1794 of file qqmldomitem_p.h.

Member Function Documentation

◆ addAnnotation()

MutableDomItem QQmlJS::Dom::MutableDomItem::addAnnotation ( QmlObject child)

◆ addBinding()

MutableDomItem QQmlJS::Dom::MutableDomItem::addBinding ( Binding binding,
AddOption option = AddOption::Overwrite )

◆ addChild()

MutableDomItem QQmlJS::Dom::MutableDomItem::addChild ( QmlObject child)

◆ addError()

void QQmlJS::Dom::MutableDomItem::addError ( ErrorMessage && msg)
inline

Definition at line 1765 of file qqmldomitem_p.h.

References item.

Referenced by QQmlJS::Dom::QQmlDomAstCreator::throwRecursionDepthError(), QQmlJS::Dom::QQmlDomAstCreator::visit(), QQmlJS::Dom::QQmlDomAstCreator::visit(), QQmlJS::Dom::QQmlDomAstCreator::visit(), and QQmlJS::Dom::QQmlDomAstCreator::visit().

+ Here is the caller graph for this function:

◆ addMethod()

MutableDomItem QQmlJS::Dom::MutableDomItem::addMethod ( const MethodInfo & functionDef,
AddOption option = AddOption::Overwrite )

◆ addPostComment()

MutableDomItem QQmlJS::Dom::MutableDomItem::addPostComment ( const Comment & comment,
FileLocationRegion region )

◆ addPreComment()

MutableDomItem QQmlJS::Dom::MutableDomItem::addPreComment ( const Comment & comment,
FileLocationRegion region )

◆ addPropertyDef()

MutableDomItem QQmlJS::Dom::MutableDomItem::addPropertyDef ( const PropertyDefinition & propertyDef,
AddOption option = AddOption::Overwrite )

◆ addPrototypePath()

MutableDomItem QQmlJS::Dom::MutableDomItem::addPrototypePath ( const Path & prototypePath)

◆ annotations()

MutableDomItem QQmlJS::Dom::MutableDomItem::annotations ( )
inline

Definition at line 1756 of file qqmldomitem_p.h.

References annotations(), and item.

Referenced by annotations().

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

◆ as()

template<typename T >
T const * QQmlJS::Dom::MutableDomItem::as ( )
inline

Definition at line 1802 of file qqmldomitem_p.h.

References item.

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

+ Here is the caller graph for this function:

◆ bindings()

MutableDomItem QQmlJS::Dom::MutableDomItem::bindings ( )
inline

Definition at line 1752 of file qqmldomitem_p.h.

References bindings(), and item.

Referenced by bindings().

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

◆ canonicalFilePath()

QString QQmlJS::Dom::MutableDomItem::canonicalFilePath ( ) const
inline

Definition at line 1738 of file qqmldomitem_p.h.

References item.

Referenced by QQmlJS::Dom::QQmlDomAstCreator::visit(), and QQmlJS::Dom::QQmlDomAstCreator::visit().

+ Here is the caller graph for this function:

◆ canonicalPath()

Path QQmlJS::Dom::MutableDomItem::canonicalPath ( ) const
inline

Definition at line 1638 of file qqmldomitem_p.h.

References QQmlJS::Dom::Path::path().

Referenced by QQmlJS::Dom::QQmlDomAstCreator::visit().

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

◆ child()

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

Definition at line 1755 of file qqmldomitem_p.h.

References child(), i, and item.

Referenced by child().

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

◆ children()

MutableDomItem QQmlJS::Dom::MutableDomItem::children ( )
inline

Definition at line 1754 of file qqmldomitem_p.h.

References children(), and item.

Referenced by children().

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

◆ commitToBase()

bool QQmlJS::Dom::MutableDomItem::commitToBase ( const std::shared_ptr< DomEnvironment > & validEnvPtr = nullptr)
inline

Definition at line 1734 of file qqmldomitem_p.h.

References item.

◆ component()

MutableDomItem QQmlJS::Dom::MutableDomItem::component ( GoTo option = GoTo::Strict)
inline

Definition at line 1674 of file qqmldomitem_p.h.

References item.

◆ container()

MutableDomItem QQmlJS::Dom::MutableDomItem::container ( )
inline

Definition at line 1649 of file qqmldomitem_p.h.

References item.

◆ containingObject()

MutableDomItem QQmlJS::Dom::MutableDomItem::containingObject ( )
inline

Definition at line 1639 of file qqmldomitem_p.h.

References QQmlJS::Dom::DomItem::containingObject(), and QQmlJS::Dom::domTypeIsOwningItem().

+ Here is the call graph for this function:

◆ createdAt()

QDateTime QQmlJS::Dom::MutableDomItem::createdAt ( )
inline

Definition at line 1761 of file qqmldomitem_p.h.

◆ derivedFrom()

int QQmlJS::Dom::MutableDomItem::derivedFrom ( )
inline

Definition at line 1759 of file qqmldomitem_p.h.

◆ domKind()

DomKind QQmlJS::Dom::MutableDomItem::domKind ( )
inline

Definition at line 1636 of file qqmldomitem_p.h.

References QQmlJS::Dom::kind2domKind().

+ Here is the call graph for this function:

◆ dump() [1/2]

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

Definition at line 1716 of file qqmldomitem_p.h.

References item.

◆ dump() [2/2]

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

Definition at line 1710 of file qqmldomitem_p.h.

References item.

◆ environment()

MutableDomItem QQmlJS::Dom::MutableDomItem::environment ( )
inline

Definition at line 1680 of file qqmldomitem_p.h.

References environment(), and item.

Referenced by environment(), QQmlJS::Dom::QQmlDomAstCreator::visit(), and QQmlJS::Dom::QQmlDomAstCreator::visit().

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

◆ errorHandler()

ErrorHandler QQmlJS::Dom::MutableDomItem::errorHandler ( )

◆ field()

MutableDomItem QQmlJS::Dom::MutableDomItem::field ( QStringView name)
inline

Definition at line 1701 of file qqmldomitem_p.h.

References field(), and item.

Referenced by QQmlJS::Dom::AttachedInfo::ensureInfoAtPath(), and field().

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

◆ fields()

QList< QString > const QQmlJS::Dom::MutableDomItem::fields ( )
inline

Definition at line 1700 of file qqmldomitem_p.h.

References item.

◆ fileLocations()

MutableDomItem QQmlJS::Dom::MutableDomItem::fileLocations ( )
inline

Definition at line 1729 of file qqmldomitem_p.h.

References fileLocations(), and item.

Referenced by fileLocations().

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

◆ fileObject()

MutableDomItem QQmlJS::Dom::MutableDomItem::fileObject ( GoTo option = GoTo::Strict)
inline

Definition at line 1663 of file qqmldomitem_p.h.

References item.

◆ frozenAt()

QDateTime QQmlJS::Dom::MutableDomItem::frozenAt ( )
inline

Definition at line 1762 of file qqmldomitem_p.h.

◆ globalScope()

MutableDomItem QQmlJS::Dom::MutableDomItem::globalScope ( )
inline

Definition at line 1671 of file qqmldomitem_p.h.

References globalScope(), and item.

Referenced by globalScope().

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

◆ ids()

MutableDomItem QQmlJS::Dom::MutableDomItem::ids ( )
inline

Definition at line 1749 of file qqmldomitem_p.h.

References ids().

Referenced by ids().

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

◆ idStr()

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

Definition at line 1750 of file qqmldomitem_p.h.

References item.

◆ index()

MutableDomItem QQmlJS::Dom::MutableDomItem::index ( index_type i)
inline

Definition at line 1703 of file qqmldomitem_p.h.

References i, index(), and item.

Referenced by index().

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

◆ indexes()

index_type QQmlJS::Dom::MutableDomItem::indexes ( )
inline

Definition at line 1702 of file qqmldomitem_p.h.

References item.

◆ internalKind()

DomType QQmlJS::Dom::MutableDomItem::internalKind ( )
inline

Definition at line 1634 of file qqmldomitem_p.h.

References item.

◆ internalKindStr()

QString QQmlJS::Dom::MutableDomItem::internalKindStr ( )
inline

Definition at line 1635 of file qqmldomitem_p.h.

References QQmlJS::Dom::domTypeToString().

+ Here is the call graph for this function:

◆ item()

DomItem QQmlJS::Dom::MutableDomItem::item ( ) const
inline

Definition at line 1833 of file qqmldomitem_p.h.

References QQmlJS::Dom::DomItem::path().

Referenced by QQmlJS::Dom::CommentCollector::collectComments(), QQmlJS::Dom::CommentCollector::collectComments(), QmlLsp::QQmlCodeModel::newDocForOpenFile(), QQmlJS::Dom::QQmlDomAstCreator::visit(), and QQmlJS::Dom::QQmlDomAstCreator::visit().

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

◆ key() [1/2]

MutableDomItem QQmlJS::Dom::MutableDomItem::key ( const QString & name)
inline

Definition at line 1706 of file qqmldomitem_p.h.

References item, and key().

Referenced by key().

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

◆ key() [2/2]

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

Definition at line 1707 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 > const QQmlJS::Dom::MutableDomItem::keys ( )
inline

Definition at line 1705 of file qqmldomitem_p.h.

References item.

◆ lastDataUpdateAt()

QDateTime QQmlJS::Dom::MutableDomItem::lastDataUpdateAt ( )
inline

Definition at line 1763 of file qqmldomitem_p.h.

◆ makeCopy()

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

Definition at line 1730 of file qqmldomitem_p.h.

References item.

◆ methods()

MutableDomItem QQmlJS::Dom::MutableDomItem::methods ( )
inline

Definition at line 1753 of file qqmldomitem_p.h.

References item, and methods().

Referenced by methods().

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

◆ mutableAs()

template<typename T >
T * QQmlJS::Dom::MutableDomItem::mutableAs ( )
inline

Definition at line 1808 of file qqmldomitem_p.h.

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

Referenced by QQmlJS::Dom::CommentCollector::collectComments().

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

◆ name()

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

Definition at line 1747 of file qqmldomitem_p.h.

References item.

◆ operator bool()

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

Definition at line 1630 of file qqmldomitem_p.h.

◆ operator[]() [1/5]

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

Definition at line 1689 of file qqmldomitem_p.h.

References component(), and item.

+ Here is the call graph for this function:

◆ operator[]() [2/5]

MutableDomItem QQmlJS::Dom::MutableDomItem::operator[] ( const Path & path)
inline

Definition at line 1683 of file qqmldomitem_p.h.

References item.

◆ operator[]() [3/5]

MutableDomItem QQmlJS::Dom::MutableDomItem::operator[] ( const QString & component)
inline

Definition at line 1685 of file qqmldomitem_p.h.

References component(), and item.

+ Here is the call graph for this function:

◆ operator[]() [4/5]

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

Definition at line 1694 of file qqmldomitem_p.h.

References i, and item.

◆ operator[]() [5/5]

MutableDomItem QQmlJS::Dom::MutableDomItem::operator[] ( QStringView component)
inline

Definition at line 1684 of file qqmldomitem_p.h.

References component(), and item.

+ Here is the call graph for this function:

◆ owner()

MutableDomItem QQmlJS::Dom::MutableDomItem::owner ( )
inline

Definition at line 1678 of file qqmldomitem_p.h.

◆ ownerAs()

template<typename T >
std::shared_ptr< T > QQmlJS::Dom::MutableDomItem::ownerAs ( ) const
inline

Definition at line 1828 of file qqmldomitem_p.h.

Referenced by QQmlJS::Dom::CommentCollector::collectComments(), QQmlJS::Dom::QQmlDomAstCreator::visit(), and QQmlJS::Dom::QQmlDomAstCreator::visit().

+ Here is the caller graph for this function:

◆ owningItemPtr()

std::shared_ptr< OwningItem > QQmlJS::Dom::MutableDomItem::owningItemPtr ( )
inline

Definition at line 1799 of file qqmldomitem_p.h.

◆ path() [1/3]

MutableDomItem QQmlJS::Dom::MutableDomItem::path ( const Path & p)
inline

Definition at line 1696 of file qqmldomitem_p.h.

References item, and path().

Referenced by QQmlJS::Dom::QQmlDomAstCreator::endVisit(), and path().

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

◆ path() [2/3]

MutableDomItem QQmlJS::Dom::MutableDomItem::path ( const QString & p)
inline

Definition at line 1697 of file qqmldomitem_p.h.

References path().

Referenced by path().

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

◆ path() [3/3]

MutableDomItem QQmlJS::Dom::MutableDomItem::path ( QStringView p)
inline

Definition at line 1698 of file qqmldomitem_p.h.

References path().

Referenced by path().

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

◆ pathFromOwner()

Path QQmlJS::Dom::MutableDomItem::pathFromOwner ( )
inline

Definition at line 1682 of file qqmldomitem_p.h.

◆ pragmas()

MutableDomItem QQmlJS::Dom::MutableDomItem::pragmas ( )
inline

Definition at line 1748 of file qqmldomitem_p.h.

References item.

◆ propertyDefs()

MutableDomItem QQmlJS::Dom::MutableDomItem::propertyDefs ( )
inline

Definition at line 1751 of file qqmldomitem_p.h.

References item, and propertyDefs().

Referenced by propertyDefs().

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

◆ qmlObject()

MutableDomItem QQmlJS::Dom::MutableDomItem::qmlObject ( GoTo option = GoTo::Strict,
FilterUpOptions fOptions = FilterUpOptions::ReturnOuter )
inline

Definition at line 1658 of file qqmldomitem_p.h.

References item.

◆ refreshed()

MutableDomItem QQmlJS::Dom::MutableDomItem::refreshed ( )
inline

Definition at line 1740 of file qqmldomitem_p.h.

References item, and refreshed().

Referenced by refreshed().

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

◆ revision()

int QQmlJS::Dom::MutableDomItem::revision ( )
inline

Definition at line 1760 of file qqmldomitem_p.h.

◆ rootQmlObject()

MutableDomItem QQmlJS::Dom::MutableDomItem::rootQmlObject ( GoTo option = GoTo::Strict)
inline

Definition at line 1667 of file qqmldomitem_p.h.

References item.

◆ scope()

MutableDomItem QQmlJS::Dom::MutableDomItem::scope ( )
inline

Definition at line 1672 of file qqmldomitem_p.h.

References item, and scope().

Referenced by scope().

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

◆ semanticScope()

QQmlJSScope::ConstPtr QQmlJS::Dom::MutableDomItem::semanticScope ( )

◆ setAnnotations()

MutableDomItem QQmlJS::Dom::MutableDomItem::setAnnotations ( const QList< QmlObject > & annotations)

◆ setBindings()

MutableDomItem QQmlJS::Dom::MutableDomItem::setBindings ( QMultiMap< QString, Binding > bindings)

◆ setChildren()

MutableDomItem QQmlJS::Dom::MutableDomItem::setChildren ( const QList< QmlObject > & children)

◆ setCode()

MutableDomItem QQmlJS::Dom::MutableDomItem::setCode ( const QString & code)

◆ setMethods()

MutableDomItem QQmlJS::Dom::MutableDomItem::setMethods ( QMultiMap< QString, MethodInfo > functionDefs)

◆ setNextScopePath()

MutableDomItem QQmlJS::Dom::MutableDomItem::setNextScopePath ( const Path & nextScopePath)

◆ setPropertyDefs()

MutableDomItem QQmlJS::Dom::MutableDomItem::setPropertyDefs ( QMultiMap< QString, PropertyDefinition > propertyDefs)

◆ setScript()

MutableDomItem QQmlJS::Dom::MutableDomItem::setScript ( const std::shared_ptr< ScriptExpression > & exp)

◆ setSemanticScope()

void QQmlJS::Dom::MutableDomItem::setSemanticScope ( const QQmlJSScope::ConstPtr & scope)

◆ top()

MutableDomItem QQmlJS::Dom::MutableDomItem::top ( )
inline

Definition at line 1679 of file qqmldomitem_p.h.

References item, and top().

Referenced by QQmlJS::Dom::environmentFrom(), and top().

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

◆ topPtr()

std::shared_ptr< DomTop > QQmlJS::Dom::MutableDomItem::topPtr ( )
inline

Definition at line 1798 of file qqmldomitem_p.h.

◆ toString()

QString QQmlJS::Dom::MutableDomItem::toString ( )
inline

Definition at line 1744 of file qqmldomitem_p.h.

References item.

◆ universe()

MutableDomItem QQmlJS::Dom::MutableDomItem::universe ( )
inline

Definition at line 1681 of file qqmldomitem_p.h.

References item, and universe().

Referenced by universe().

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

◆ value()

QCborValue QQmlJS::Dom::MutableDomItem::value ( )
inline

Definition at line 1742 of file qqmldomitem_p.h.

References item.

◆ writeOut() [1/2]

bool QQmlJS::Dom::MutableDomItem::writeOut ( const QString & path,
int nBackups = 2,
const LineWriterOptions & opt = LineWriterOptions(),
FileWriter * fw = nullptr )
inline

Definition at line 1723 of file qqmldomitem_p.h.

References item, and opt.

◆ writeOut() [2/2]

void QQmlJS::Dom::MutableDomItem::writeOut ( OutWriter & lw)
inline

Definition at line 1722 of file qqmldomitem_p.h.

References item.

Friends And Related Symbol Documentation

◆ operator!=

bool operator!= ( const MutableDomItem & o1,
const MutableDomItem & o2 )
friend

Definition at line 1839 of file qqmldomitem_p.h.

◆ operator==

bool operator== ( const MutableDomItem & o1,
const MutableDomItem & o2 )
friend

Definition at line 1835 of file qqmldomitem_p.h.


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