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>.
|
#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 |
QString | preCode (const DomItem &) const |
QString | postCode (const DomItem &) const |
void | writePre (const DomItem &self, OutWriter &ow) const |
void | writeOut (const DomItem &self, OutWriter &ow) const |
void | setCode (const QString &code) |
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 744 of file qqmldomelements_p.h.
Enumerator | |
---|---|
Signal | |
Method |
Definition at line 748 of file qqmldomelements_p.h.
|
default |
bool QQmlJS::Dom::MethodInfo::iterateDirectSubpaths | ( | const DomItem & | self, |
DirectVisitor | visitor ) const |
Definition at line 763 of file qqmldomelements_p.h.
Definition at line 753 of file qqmldomelements_p.h.
References typeName.
std::shared_ptr<ScriptExpression> QQmlJS::Dom::MethodInfo::body |
Definition at line 774 of file qqmldomelements_p.h.
bool QQmlJS::Dom::MethodInfo::isConstructor = false |
Definition at line 776 of file qqmldomelements_p.h.
|
staticconstexpr |
Definition at line 751 of file qqmldomelements_p.h.
MethodType QQmlJS::Dom::MethodInfo::methodType = Method |
Definition at line 773 of file qqmldomelements_p.h.
QList<MethodParameter> QQmlJS::Dom::MethodInfo::parameters |
Definition at line 772 of file qqmldomelements_p.h.
std::shared_ptr<ScriptExpression> QQmlJS::Dom::MethodInfo::returnType |
Definition at line 775 of file qqmldomelements_p.h.