qtdeclarative/tools
Sami Shalayel 784367ad17 QQmlJSMetaParameter: Encapsulate parameter information
Previously, there were four lists that contained each one entry
for each parameter. There was one list responsible for the names, types,
type names and const-qualifiers but this was quite bothersome to use
(e.g. they not always had the same length).

This commit introduces QQmlJSMetaParameter to
encapsulate all the information required when manipulating parameters.
This reduce the 4 lists to one, making parameters easier to handle
and QQmlJSMetaMethod easier to read.

This is a purely refactoring change, no new functionality was added.

Task-number: QTBUG-107625
Change-Id: Ia41b823c9e6294ee26e828071b802cac6b4058ce
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
2022-12-02 10:39:48 +01:00
..
qml Port from qAsConst() to std::as_const() 2022-10-07 23:38:56 +02:00
qmlcachegen QmlCompiler: Add a separate flag for the "pragma Strict" check 2022-10-20 21:37:57 +02:00
qmldom Port from qAsConst() to std::as_const() 2022-10-07 23:38:56 +02:00
qmleasing Port from qAsConst() to std::as_const() 2022-10-07 23:38:56 +02:00
qmlformat qmlformat: add 'ensure new line between functions' option 2022-11-24 11:30:03 +01:00
qmlimportscanner Port from container::count() and length() to size() - V5 2022-10-13 00:18:35 +02:00
qmljs Port from qAsConst() to std::as_const() 2022-10-07 23:38:56 +02:00
qmljsrootgen Port to new Q_UNREACHABLE_RETURN() 2022-10-20 23:59:33 +02:00
qmllint qmllint: document new behavior of --json 2022-11-28 10:49:23 +01:00
qmlls Port from qAsConst() to std::as_const() 2022-10-07 23:38:56 +02:00
qmlplugindump Port from container::count() and length() to size() - V5 2022-10-13 00:18:35 +02:00
qmlpreview Port from qAsConst() to std::as_const() 2022-10-07 23:38:56 +02:00
qmlprofiler Port from qAsConst() to std::as_const() 2022-10-07 23:38:56 +02:00
qmlscene Port to new Q_UNREACHABLE_RETURN() 2022-10-20 23:59:33 +02:00
qmltc QQmlJSMetaParameter: Encapsulate parameter information 2022-12-02 10:39:48 +01:00
qmltestrunner Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-09-07 17:01:30 +02:00
qmltime Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-09-07 17:01:30 +02:00
qmltyperegistrar Build: install the metatypes inside Qt's own arch-specific data dir 2022-11-24 15:04:03 -08:00
shared Port from qAsConst() to std::as_const() 2022-10-07 23:38:56 +02:00
CMakeLists.txt Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-09-07 17:01:30 +02:00