Bug 485686

Summary: Doxyqml: restore handling of array-typed attributes
Product: [I don't know] kde Reporter: Olaf Mandel <o.mandel>
Component: generalAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Other   
Latest Commit: Version Fixed In:

Description Olaf Mandel 2024-04-17 16:24:41 UTC
This is about the Doxyqml tool (https://invent.kde.org/sdk/doxyqml).

SUMMARY

Since commit 5328ede, parsing stops at array-typed class attributes, e.g.:

```qml
Item {
    transitions: [ ]

    /**
     * This is missing from the output
     */
    property int after
}
```

STEPS TO REPRODUCE
1. Run doxyqml over a file that assigns an array to one of the base-classes properties
2. Note that the output is missing everything from this attribute till the end of the class

OBSERVED RESULT

```c++
class NameOfInputFile : public QtQuick.Item {
var transitions;
};
```

EXPECTED RESULT

```c++
class NameOfInputFile : public QtQuick.Item {
var transitions;
public:
/**
 * This is missing from the output
 */
Q_PROPERTY(int after READ dummyGetter_after_ignore)
};
```

SOFTWARE/OS VERSIONS

Linux, Python 3.10

ADDITIONAL INFORMATION
Comment 1 Olaf Mandel 2024-04-17 16:50:35 UTC
https://invent.kde.org/sdk/doxyqml/-/merge_requests/22 was merged