#include <qqmldomitem_p.h>
|
| 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< DomTop > | topPtr () |
|
std::shared_ptr< OwningItem > | owningItemPtr () |
|
template<typename T > |
T const * | as () |
|
template<typename T > |
T * | mutableAs () |
|
template<typename T > |
std::shared_ptr< T > | ownerAs () |
|
DomItem | item () |
|
Definition at line 1583 of file qqmldomitem_p.h.
◆ CopyOption
◆ MutableDomItem() [1/3]
QQmlJS::Dom::MutableDomItem::MutableDomItem |
( |
| ) |
|
|
default |
◆ MutableDomItem() [2/3]
QQmlJS::Dom::MutableDomItem::MutableDomItem |
( |
DomItem |
owner, |
|
|
Path |
pathFromOwner |
|
) |
| |
|
inline |
◆ MutableDomItem() [3/3]
QQmlJS::Dom::MutableDomItem::MutableDomItem |
( |
DomItem |
item | ) |
|
|
inline |
◆ addAnnotation()
◆ addBinding()
◆ addChild()
◆ addError()
◆ addMethod()
◆ addPostComment() [1/2]
◆ addPostComment() [2/2]
◆ addPreComment() [1/2]
◆ addPreComment() [2/2]
◆ addPropertyDef()
◆ addPrototypePath()
◆ annotations()
◆ as()
template<typename T >
T const * QQmlJS::Dom::MutableDomItem::as |
( |
| ) |
|
|
inline |
◆ bindings()
◆ canonicalFilePath()
QString QQmlJS::Dom::MutableDomItem::canonicalFilePath |
( |
| ) |
|
|
inline |
◆ canonicalPath()
Path QQmlJS::Dom::MutableDomItem::canonicalPath |
( |
| ) |
|
|
inline |
◆ child()
◆ children()
◆ commitToBase()
bool QQmlJS::Dom::MutableDomItem::commitToBase |
( |
std::shared_ptr< DomEnvironment > |
validEnvPtr = nullptr | ) |
|
|
inline |
◆ component()
◆ container()
◆ containingObject()
◆ createdAt()
QDateTime QQmlJS::Dom::MutableDomItem::createdAt |
( |
| ) |
|
|
inline |
◆ derivedFrom()
int QQmlJS::Dom::MutableDomItem::derivedFrom |
( |
| ) |
|
|
inline |
◆ domKind()
DomKind QQmlJS::Dom::MutableDomItem::domKind |
( |
| ) |
|
|
inline |
◆ dump() [1/2]
◆ dump() [2/2]
◆ environment()
◆ errorHandler()
◆ field()
◆ fields()
QList< QString > const QQmlJS::Dom::MutableDomItem::fields |
( |
| ) |
|
|
inline |
◆ fileLocations()
◆ fileObject()
◆ frozenAt()
QDateTime QQmlJS::Dom::MutableDomItem::frozenAt |
( |
| ) |
|
|
inline |
◆ globalScope()
◆ ids()
◆ idStr()
QString QQmlJS::Dom::MutableDomItem::idStr |
( |
| ) |
|
|
inline |
◆ index()
◆ indexes()
index_type QQmlJS::Dom::MutableDomItem::indexes |
( |
| ) |
|
|
inline |
◆ internalKind()
DomType QQmlJS::Dom::MutableDomItem::internalKind |
( |
| ) |
|
|
inline |
◆ internalKindStr()
QString QQmlJS::Dom::MutableDomItem::internalKindStr |
( |
| ) |
|
|
inline |
◆ item()
DomItem QQmlJS::Dom::MutableDomItem::item |
( |
| ) |
|
|
inline |
◆ key() [1/2]
◆ key() [2/2]
◆ keys()
QSet< QString > const QQmlJS::Dom::MutableDomItem::keys |
( |
| ) |
|
|
inline |
◆ lastDataUpdateAt()
QDateTime QQmlJS::Dom::MutableDomItem::lastDataUpdateAt |
( |
| ) |
|
|
inline |
◆ makeCopy()
◆ methods()
◆ mutableAs()
template<typename T >
T * QQmlJS::Dom::MutableDomItem::mutableAs |
( |
| ) |
|
|
inline |
◆ name()
QString QQmlJS::Dom::MutableDomItem::name |
( |
| ) |
|
|
inline |
◆ operator bool()
QQmlJS::Dom::MutableDomItem::operator bool |
( |
| ) |
const |
|
inlineexplicit |
◆ operator[]() [1/5]
MutableDomItem QQmlJS::Dom::MutableDomItem::operator[] |
( |
const char16_t * |
component | ) |
|
|
inline |
◆ operator[]() [2/5]
◆ operator[]() [3/5]
◆ operator[]() [4/5]
◆ operator[]() [5/5]
◆ owner()
◆ ownerAs()
template<typename T >
std::shared_ptr< T > QQmlJS::Dom::MutableDomItem::ownerAs |
( |
| ) |
|
|
inline |
◆ owningItemPtr()
std::shared_ptr< OwningItem > QQmlJS::Dom::MutableDomItem::owningItemPtr |
( |
| ) |
|
|
inline |
◆ path() [1/3]
◆ path() [2/3]
◆ path() [3/3]
◆ pathFromOwner()
Path QQmlJS::Dom::MutableDomItem::pathFromOwner |
( |
| ) |
|
|
inline |
◆ pragmas()
◆ propertyDefs()
◆ qmlObject()
◆ refreshed()
◆ revision()
int QQmlJS::Dom::MutableDomItem::revision |
( |
| ) |
|
|
inline |
◆ rootQmlObject()
◆ scope()
◆ semanticScope()
◆ setAnnotations()
◆ setBindings()
◆ setChildren()
◆ setCode()
◆ setMethods()
◆ setNextScopePath()
◆ setPropertyDefs()
◆ setScript()
◆ setSemanticScope()
◆ top()
◆ topPtr()
std::shared_ptr< DomTop > QQmlJS::Dom::MutableDomItem::topPtr |
( |
| ) |
|
|
inline |
◆ toString()
QString QQmlJS::Dom::MutableDomItem::toString |
( |
| ) |
|
|
inline |
◆ universe()
◆ value()
◆ writeOut() [1/2]
◆ writeOut() [2/2]
◆ operator!=
◆ operator==
The documentation for this class was generated from the following file: