Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QQmlJS::Dom::MethodParameter Class Reference

#include <qqmldomelements_p.h>

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

Public Types

enum class  TypeAnnotationStyle { Prefix , Suffix }
 

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
 
TypeAnnotationStyle typeAnnotationStyle = TypeAnnotationStyle::Suffix
 

Static Public Attributes

static constexpr DomType kindValue = DomType::MethodParameter
 

Detailed Description

Definition at line 717 of file qqmldomelements_p.h.

Member Enumeration Documentation

◆ TypeAnnotationStyle

Enumerator
Prefix 
Suffix 

Definition at line 721 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 743 of file qqmldomelements_p.h.

◆ comments

RegionComments QQmlJS::Dom::MethodParameter::comments

Definition at line 744 of file qqmldomelements_p.h.

◆ defaultValue

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

Definition at line 736 of file qqmldomelements_p.h.

◆ isList

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

Definition at line 734 of file qqmldomelements_p.h.

◆ isPointer

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

Definition at line 732 of file qqmldomelements_p.h.

◆ isReadonly

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

Definition at line 733 of file qqmldomelements_p.h.

◆ isRestElement

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

Definition at line 735 of file qqmldomelements_p.h.

◆ kindValue

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

Definition at line 720 of file qqmldomelements_p.h.

◆ name

QString QQmlJS::Dom::MethodParameter::name

◆ typeAnnotationStyle

TypeAnnotationStyle QQmlJS::Dom::MethodParameter::typeAnnotationStyle = TypeAnnotationStyle::Suffix

Definition at line 745 of file qqmldomelements_p.h.

◆ typeName

QString QQmlJS::Dom::MethodParameter::typeName

Definition at line 731 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 742 of file qqmldomelements_p.h.


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