qtdeclarative/tests/auto/qml/qjsengine
Ulf Hermann b50d01891b Parser: Preserve keywordiness of "static" across nested classes
"static" is a keyword in the context of JS classes, no matter how deeply
nested. Therefore, keep track of the nesting level.

Switching the keywordiness of "static" off during method definition
parsing makes no sense as the standard doesn't mention such a thing.
Method bodies are strict code where you cannot use "static" as
identifier. Methods and properties can be called "static" no matter if
static is a keyword or not.

Pick-to: 6.4
Fixes: QTBUG-96631
Change-Id: Ia09e52fe2ae72721fe1c8a9b95899a31095db988
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
2022-08-30 18:53:01 +02:00
..
script/com
translations
CMakeLists.txt CMake: Don't use PUBLIC_LIBRARIES for tests and test helpers 2022-07-28 14:58:42 +02:00
dummy_imports.qml Rename android_dummy_imports.qml to dummy_imports.qml 2022-03-05 15:23:48 +00:00
exporterror1.mjs
idtranslatable-unicode.js
idtranslatable.js
importerror1.mjs
modulewithlexicals.mjs
testmodule.mjs
testregister.mjs Add QJSEngine::registerModule 2021-05-01 17:26:00 -04:00
testregister2.mjs Add QJSEngine::registerModule 2021-05-01 17:26:00 -04:00
testregister3.mjs Add QJSEngine::registerModule 2021-05-01 17:26:00 -04:00
translatable-unicode.js
translatable.js
translatable2.js
tst_qjsengine.cpp Parser: Preserve keywordiness of "static" across nested classes 2022-08-30 18:53:01 +02:00