aboutsummaryrefslogtreecommitdiffstats
path: root/src/qmlcompiler/qqmljsregistercontent.cpp
Commit message (Collapse)AuthorAgeFilesLines
* QmlCompiler: Allow retrieval of descriptive name from invalid typesUlf Hermann2022-04-071-0/+5
| | | | | | | | | Apparently we do that somewhere. It should not just crash. Task-number: QTBUG-102147 Change-Id: Id612e0543d8794aa4f334a899b117142b7a8cd38 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io> (cherry picked from commit 388ccd7b6fdc9474248c1a6bcc67f63d7b017489)
* qmlcompiler: Add a content variant for module prefixesUlf Hermann2021-08-191-0/+13
| | | | | | | | | | | The code generator needs to see the modulePrefix as a separate step in order to generate sensible code. The savedPrefix we had before was not exposed to the code generator. As an added benefit we can also check that we don't refer to singletons as properties of objects this way. Task-number: QTBUG-95822 Change-Id: Ia8992dba340bf0552e7647f0d66b441f1ac1b8c8 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
* qmlcompiler: Port type inference code from qmlcachegenplusMaximilian Goldstein2021-06-301-0/+149
Move the type inference code so qmllint can benefit from the improved type analysis. Change-Id: I00b2fad8334ec19fb33a45b3ceec9d6c49d12e93 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>