Qt 6.x
The Qt SDK
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 ()
 
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 (QString name)
 
MutableDomItem key (QStringView name)
 
void dump (Sink s, 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)
 
void writeOut (OutWriter &lw)
 
MutableDomItem writeOut (QString path, int nBackups=2, const LineWriterOptions &opt=LineWriterOptions(), FileWriter *fw=nullptr)
 
MutableDomItem fileLocations ()
 
MutableDomItem makeCopy (CopyOption option=CopyOption::EnvConnected)
 
bool commitToBase (std::shared_ptr< DomEnvironment > validEnvPtr=nullptr)
 
QString canonicalFilePath ()
 
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 (Path prototypePath)
 
MutableDomItem setNextScopePath (Path nextScopePath)
 
MutableDomItem setPropertyDefs (QMultiMap< QString, PropertyDefinition > propertyDefs)
 
MutableDomItem setBindings (QMultiMap< QString, Binding > bindings)
 
MutableDomItem setMethods (QMultiMap< QString, MethodInfo > functionDefs)
 
MutableDomItem setChildren (QList< QmlObject > children)
 
MutableDomItem setAnnotations (QList< QmlObject > annotations)
 
MutableDomItem setScript (std::shared_ptr< ScriptExpression > exp)
 
MutableDomItem setCode (QString code)
 
MutableDomItem addPropertyDef (PropertyDefinition propertyDef, AddOption option=AddOption::Overwrite)
 
MutableDomItem addBinding (Binding binding, AddOption option=AddOption::Overwrite)
 
MutableDomItem addMethod (MethodInfo functionDef, AddOption option=AddOption::Overwrite)
 
MutableDomItem addChild (QmlObject child)
 
MutableDomItem addAnnotation (QmlObject child)
 
MutableDomItem addPreComment (const Comment &comment, QString regionName=QString())
 
MutableDomItem addPreComment (const Comment &comment, QStringView regionName)
 
MutableDomItem addPostComment (const Comment &comment, QString regionName=QString())
 
MutableDomItem addPostComment (const Comment &comment, QStringView regionName)
 
QQmlJSScope::Ptr semanticScope ()
 
void setSemanticScope (const QQmlJSScope::Ptr &scope)
 
 MutableDomItem ()=default
 
 MutableDomItem (DomItem owner, Path pathFromOwner)
 
 MutableDomItem (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 ()
 
DomItem item ()
 

Friends

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

Detailed Description

Definition at line 1583 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 ( DomItem  owner,
Path  pathFromOwner 
)
inline

Definition at line 1756 of file qqmldomitem_p.h.

◆ MutableDomItem() [3/3]

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

Definition at line 1759 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 1723 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 ( MethodInfo  functionDef,
AddOption  option = AddOption::Overwrite 
)

◆ addPostComment() [1/2]

MutableDomItem QQmlJS::Dom::MutableDomItem::addPostComment ( const Comment comment,
QString  regionName = QString() 
)

◆ addPostComment() [2/2]

MutableDomItem QQmlJS::Dom::MutableDomItem::addPostComment ( const Comment comment,
QStringView  regionName 
)
inline

Definition at line 1748 of file qqmldomitem_p.h.

References QStringView::toString().

+ Here is the call graph for this function:

◆ addPreComment() [1/2]

MutableDomItem QQmlJS::Dom::MutableDomItem::addPreComment ( const Comment comment,
QString  regionName = QString() 
)

◆ addPreComment() [2/2]

MutableDomItem QQmlJS::Dom::MutableDomItem::addPreComment ( const Comment comment,
QStringView  regionName 
)
inline

Definition at line 1743 of file qqmldomitem_p.h.

References QStringView::toString().

+ Here is the call graph for this function:

◆ addPropertyDef()

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

◆ addPrototypePath()

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

◆ annotations()

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

Definition at line 1714 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 1767 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 1710 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 ( )
inline

Definition at line 1696 of file qqmldomitem_p.h.

References item.

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

+ Here is the caller graph for this function:

◆ canonicalPath()

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

Definition at line 1595 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 1713 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 1712 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 ( std::shared_ptr< DomEnvironment validEnvPtr = nullptr)
inline

Definition at line 1692 of file qqmldomitem_p.h.

References item.

◆ component()

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

Definition at line 1631 of file qqmldomitem_p.h.

References item.

◆ container()

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

Definition at line 1606 of file qqmldomitem_p.h.

References item.

◆ containingObject()

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

Definition at line 1596 of file qqmldomitem_p.h.

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

+ Here is the call graph for this function:

◆ createdAt()

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

Definition at line 1719 of file qqmldomitem_p.h.

◆ derivedFrom()

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

Definition at line 1717 of file qqmldomitem_p.h.

◆ domKind()

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

Definition at line 1593 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 ( QString  path,
function_ref< bool(DomItem &, const PathEls::PathComponent &, DomItem &)>  filter = noFilter,
int  nBackups = 2,
int  indent = 0,
FileWriter fw = nullptr 
)
inline

Definition at line 1673 of file qqmldomitem_p.h.

References item.

◆ dump() [2/2]

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

Definition at line 1667 of file qqmldomitem_p.h.

References item.

◆ environment()

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

Definition at line 1637 of file qqmldomitem_p.h.

References environment(), and item.

Referenced by environment(), 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 1658 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 1657 of file qqmldomitem_p.h.

References item.

◆ fileLocations()

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

Definition at line 1687 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 1620 of file qqmldomitem_p.h.

References item.

◆ frozenAt()

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

Definition at line 1720 of file qqmldomitem_p.h.

◆ globalScope()

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

Definition at line 1628 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 1707 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 1708 of file qqmldomitem_p.h.

References item.

◆ index()

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

Definition at line 1660 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 1659 of file qqmldomitem_p.h.

References item.

◆ internalKind()

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

Definition at line 1591 of file qqmldomitem_p.h.

References item.

◆ internalKindStr()

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

Definition at line 1592 of file qqmldomitem_p.h.

References QQmlJS::Dom::domTypeToString().

+ Here is the call graph for this function:

◆ item()

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

Definition at line 1784 of file qqmldomitem_p.h.

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

Referenced by QQmlJS::Dom::domCompareStrList(), QQmlJS::Dom::domCompareStrList(), QQmlJS::Dom::domCompareStrList(), QmlLsp::QQmlCodeModel::newDocForOpenFile(), 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 ( QString  name)
inline

Definition at line 1663 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 1664 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 1662 of file qqmldomitem_p.h.

References item.

◆ lastDataUpdateAt()

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

Definition at line 1721 of file qqmldomitem_p.h.

◆ makeCopy()

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

Definition at line 1688 of file qqmldomitem_p.h.

References item.

◆ methods()

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

Definition at line 1711 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 1773 of file qqmldomitem_p.h.

References item, and Q_ASSERT.

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

+ Here is the caller graph for this function:

◆ name()

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

Definition at line 1705 of file qqmldomitem_p.h.

References item.

◆ operator bool()

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

Definition at line 1587 of file qqmldomitem_p.h.

◆ operator[]() [1/5]

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

Definition at line 1646 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 1640 of file qqmldomitem_p.h.

References item.

◆ operator[]() [3/5]

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

Definition at line 1642 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 1651 of file qqmldomitem_p.h.

References i, and item.

◆ operator[]() [5/5]

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

Definition at line 1641 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 1635 of file qqmldomitem_p.h.

◆ ownerAs()

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

Definition at line 1779 of file qqmldomitem_p.h.

Referenced by QQmlJS::Dom::createDom(), 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 1764 of file qqmldomitem_p.h.

◆ path() [1/3]

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

Definition at line 1653 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 1654 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 1655 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 1639 of file qqmldomitem_p.h.

◆ pragmas()

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

Definition at line 1706 of file qqmldomitem_p.h.

References item.

◆ propertyDefs()

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

Definition at line 1709 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 1615 of file qqmldomitem_p.h.

References item.

◆ refreshed()

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

Definition at line 1698 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 1718 of file qqmldomitem_p.h.

◆ rootQmlObject()

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

Definition at line 1624 of file qqmldomitem_p.h.

References item.

◆ scope()

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

Definition at line 1629 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::Ptr QQmlJS::Dom::MutableDomItem::semanticScope ( )

◆ setAnnotations()

MutableDomItem QQmlJS::Dom::MutableDomItem::setAnnotations ( QList< QmlObject annotations)

◆ setBindings()

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

◆ setChildren()

MutableDomItem QQmlJS::Dom::MutableDomItem::setChildren ( QList< QmlObject children)

◆ setCode()

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

◆ setMethods()

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

◆ setNextScopePath()

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

◆ setPropertyDefs()

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

◆ setScript()

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

◆ setSemanticScope()

void QQmlJS::Dom::MutableDomItem::setSemanticScope ( const QQmlJSScope::Ptr scope)

◆ top()

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

Definition at line 1636 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 1763 of file qqmldomitem_p.h.

◆ toString()

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

Definition at line 1702 of file qqmldomitem_p.h.

References item.

◆ universe()

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

Definition at line 1638 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 1700 of file qqmldomitem_p.h.

References item.

◆ writeOut() [1/2]

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

Definition at line 1679 of file qqmldomitem_p.h.

References item.

◆ writeOut() [2/2]

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

Definition at line 1680 of file qqmldomitem_p.h.

References item, and opt.

Friends And Related Symbol Documentation

◆ operator!=

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

Definition at line 1790 of file qqmldomitem_p.h.

◆ operator==

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

Definition at line 1786 of file qqmldomitem_p.h.


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