Qt Declarative (Quick 2)
Go to file
Dmitrii Akshintsev 2de3e2930b DocumentSymbol filter out some PropertyDefinitions
Because of the way Dom stores PropertyDefinitions and Bindings,
the following expressions like `property var a: 4;` are stored
inside DOM (QmlObject to be precise) as first: propertyDefinition of `a`,
second as binding `a:4;` Hence leading to "duplicates" in the Outline view.
It was decided that in such cases "representational "priority
should be given to Binding, hence it's necessary
to filter out PropertyDefinition.
This is done using the ColonTokenRegion of PropertyDefinition from the FileLocations

Note: this could have been done later, during the rearrangement of
DocumentSymbol tree, however, to do that during the "first" visit "should be"
more computationally efficient.

Task-number: QTBUG-120002
Change-Id: I8cef8d3205c8559556937f4ccc56924ead0434f3
Reviewed-by: Sami Shalayel <sami.shalayel@qt.io>
2024-09-24 12:52:11 +00:00
LICENSES Weather forecast example: Clean up assets and attribution 2024-02-06 13:44:41 +01:00
cmake Mark RegExpJitTables.h as non-module header 2023-04-03 15:38:57 +02:00
coin Change Axivion analysis result format 2024-06-28 13:40:35 +03:00
dist
examples QMLPreviewer Example: Fix compile error on Android 2024-09-24 02:13:24 +02:00
features
src DocumentSymbol filter out some PropertyDefinitions 2024-09-24 12:52:11 +00:00
tests DocumentSymbol add Detail deriving functionality 2024-09-24 12:52:05 +00:00
tools qmltyperegistrar: Pass namespace to --extract mode 2024-09-24 14:46:51 +02:00
.cmake.conf Port to std::(v)snprinf() and mark the module q(v)snprinf-free 2024-08-06 22:35:55 +00:00
.gitattributes
.gitignore gitignore: Add compile_commands.json and .ccache 2024-05-16 17:25:19 +02:00
.gitmodules
.tag Use tree hash rather than commit hash in .tag file 2022-01-25 23:55:27 +01:00
CMakeLists.txt Fix detection of CMake target ExamplesAssetDownloaderPrivate 2024-07-22 15:00:36 +02:00
README.md
configure.cmake Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-09-07 17:01:30 +02:00
dependencies.yaml Update dependencies on 'dev' in qt/qtdeclarative 2024-09-23 14:27:08 +00:00
licenseRule.json Add a licenseRule.json file for checking of SPDX license identifiers 2024-07-01 16:33:02 +02:00
qt_cmdline.cmake Remove "2" from Qt Quick Controls directories 2022-12-01 10:26:20 +08:00
qtdeclarative.doxy