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

#include <qqmldomelements_p.h>

+ Collaboration diagram for QQmlJS::Dom::MethodParameter:

Public Member Functions

bool iterateDirectSubpaths (const DomItem &self, DirectVisitor visitor) const
 
void writeOut (const DomItem &self, OutWriter &ow) const
 
void writeOutSignal (const DomItem &self, OutWriter &ow) const
 

Public Attributes

QString name
 
QString typeName
 
bool isPointer = false
 
bool isReadonly = false
 
bool isList = false
 
bool isRestElement = false
 
std::shared_ptr< ScriptExpressiondefaultValue
 
std::shared_ptr< ScriptExpressionvalue
 
QList< QmlObjectannotations
 
RegionComments comments
 

Static Public Attributes

static constexpr DomType kindValue = DomType::MethodParameter
 

Detailed Description

Definition at line 717 of file qqmldomelements_p.h.

Member Function Documentation

◆ iterateDirectSubpaths()

bool QQmlJS::Dom::MethodParameter::iterateDirectSubpaths ( const DomItem & self,
DirectVisitor visitor ) const

◆ writeOut()

void QQmlJS::Dom::MethodParameter::writeOut ( const DomItem & self,
OutWriter & ow ) const

◆ writeOutSignal()

void QQmlJS::Dom::MethodParameter::writeOutSignal ( const DomItem & self,
OutWriter & ow ) const

Member Data Documentation

◆ annotations

QList<QmlObject> QQmlJS::Dom::MethodParameter::annotations

Definition at line 740 of file qqmldomelements_p.h.

◆ comments

RegionComments QQmlJS::Dom::MethodParameter::comments

Definition at line 741 of file qqmldomelements_p.h.

◆ defaultValue

std::shared_ptr<ScriptExpression> QQmlJS::Dom::MethodParameter::defaultValue

Definition at line 733 of file qqmldomelements_p.h.

◆ isList

bool QQmlJS::Dom::MethodParameter::isList = false

Definition at line 731 of file qqmldomelements_p.h.

◆ isPointer

bool QQmlJS::Dom::MethodParameter::isPointer = false

Definition at line 729 of file qqmldomelements_p.h.

◆ isReadonly

bool QQmlJS::Dom::MethodParameter::isReadonly = false

Definition at line 730 of file qqmldomelements_p.h.

◆ isRestElement

bool QQmlJS::Dom::MethodParameter::isRestElement = false

Definition at line 732 of file qqmldomelements_p.h.

◆ kindValue

constexpr DomType QQmlJS::Dom::MethodParameter::kindValue = DomType::MethodParameter
staticconstexpr

Definition at line 720 of file qqmldomelements_p.h.

◆ name

QString QQmlJS::Dom::MethodParameter::name

◆ typeName

QString QQmlJS::Dom::MethodParameter::typeName

Definition at line 728 of file qqmldomelements_p.h.

◆ value

std::shared_ptr<ScriptExpression> QQmlJS::Dom::MethodParameter::value

Contains the scriptElement representing this argument, inclusive default value, deconstruction, etc.

Definition at line 739 of file qqmldomelements_p.h.


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