diff options
author | Andrei Golubev <andrei.golubev@qt.io> | 2022-05-05 17:08:25 +0200 |
---|---|---|
committer | Andrei Golubev <andrei.golubev@qt.io> | 2022-05-09 16:50:07 +0200 |
commit | 11d2767f09560c54f1b846e897f74f34b04f04ad (patch) | |
tree | 8e31e91a7b9d0efe8a4099164c8a4c9b6c37b157 /src/qml/doc/snippets/qtjavascript/integratingjswithcpp/exampleqjsengine.cpp | |
parent | 938bd97077e9dbb3a46855355effb41a71b2fb55 (diff) | |
download | qtdeclarative-11d2767f09560c54f1b846e897f74f34b04f04ad.tar.gz |
Move searchBaseAndExtensionTypes into QQmlJSUtils
We use it in QQmlJS{TypeResolver, Scope} now and the logic is less and
less trivial over time. To avoid accidental inconsitencies, move the
function to a common location
On top of this, adjust the logic so that we could work with 1-or-2
argument callables (2 arguments are sometimes needed in the resolver)
Change-Id: I27531837ca99cf5d8bcae626d885978903db4b0a
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'src/qml/doc/snippets/qtjavascript/integratingjswithcpp/exampleqjsengine.cpp')
0 files changed, 0 insertions, 0 deletions