![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qqmldomelements_p.h>
Public Types | |
| enum | MethodType { Signal , Method } |
| Public Types inherited from QQmlJS::Dom::AttributeInfo | |
| enum | Access { Private , Protected , Public } |
Public Member Functions | |
| Path | typePath (const DomItem &) const |
| bool | iterateDirectSubpaths (const DomItem &self, DirectVisitor visitor) const |
| void | writePre (const DomItem &self, OutWriter &ow) const |
| void | writeOut (const DomItem &self, OutWriter &ow) const |
| QString | signature (const DomItem &self) const |
| MethodInfo ()=default | |
| Public Member Functions inherited from QQmlJS::Dom::AttributeInfo | |
| bool | iterateDirectSubpaths (const DomItem &self, DirectVisitor visitor) const |
| Path | addAnnotation (const Path &selfPathFromOwner, const QmlObject &annotation, QmlObject **aPtr=nullptr) |
| void | updatePathFromOwner (const Path &newPath) |
| QQmlJSScope::ConstPtr | semanticScope () const |
| void | setSemanticScope (const QQmlJSScope::ConstPtr &scope) |
Public Attributes | |
| QList< MethodParameter > | parameters |
| MethodType | methodType = Method |
| std::shared_ptr< ScriptExpression > | body |
| std::shared_ptr< ScriptExpression > | returnType |
| bool | isConstructor = false |
| Public Attributes inherited from QQmlJS::Dom::AttributeInfo | |
| QString | name |
| Access | access = Access::Public |
| QString | typeName |
| bool | isReadonly = false |
| bool | isList = false |
| QList< QmlObject > | annotations |
| RegionComments | comments |
| QQmlJSScope::ConstPtr | m_semanticScope |
Static Public Attributes | |
| static constexpr DomType | kindValue = DomType::MethodInfo |
Definition at line 709 of file qqmldomelements_p.h.
| Enumerator | |
|---|---|
| Signal | |
| Method | |
Definition at line 713 of file qqmldomelements_p.h.
|
default |
| bool QQmlJS::Dom::MethodInfo::iterateDirectSubpaths | ( | const DomItem & | self, |
| DirectVisitor | visitor ) const |
Definition at line 1832 of file qqmldomelements.cpp.
References isConstructor, and typePath().
Definition at line 1913 of file qqmldomelements.cpp.
References QQmlJS::Dom::LineWriter::eof().
Definition at line 718 of file qqmldomelements_p.h.
Referenced by iterateDirectSubpaths().
Definition at line 1895 of file qqmldomelements.cpp.
References QQmlJS::Dom::FileLocations::treeOf().
| std::shared_ptr<ScriptExpression> QQmlJS::Dom::MethodInfo::body |
Definition at line 733 of file qqmldomelements_p.h.
| bool QQmlJS::Dom::MethodInfo::isConstructor = false |
Definition at line 735 of file qqmldomelements_p.h.
Referenced by iterateDirectSubpaths().
|
staticconstexpr |
Definition at line 716 of file qqmldomelements_p.h.
| MethodType QQmlJS::Dom::MethodInfo::methodType = Method |
Definition at line 732 of file qqmldomelements_p.h.
| QList<MethodParameter> QQmlJS::Dom::MethodInfo::parameters |
Definition at line 731 of file qqmldomelements_p.h.
| std::shared_ptr<ScriptExpression> QQmlJS::Dom::MethodInfo::returnType |
Definition at line 734 of file qqmldomelements_p.h.