qtdeclarative/tests/auto/qml/qqmlecmascript
Simon Hausmann 9d7b27f5bf Clean up JS .import/.pragma directive scanning
There's a scanner in QQmlJS::Lexer::scanDirectives that can parse those, so
let's get rid of extra parser that operates on a string. Instead this way we
can do the scanning all in one shot, avoid detaching a copy of the source code
string and (most importantly) bring the parser closer to the copy in Qt
Creator, which uses the directives approach to extract imports and pragma.

Change-Id: Iff6eb8d91a45d8a70f383f953115692be48259de
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@theqtcompany.com>
2015-01-08 22:08:19 +01:00
..
data Read and write QObject pointer properties in QML without registration. 2014-12-13 01:36:30 +01:00
qqmlecmascript.pro Fix Qt.include with cached compilation units and resources 2014-08-06 09:56:49 +02:00
qqmlecmascript.qrc Fix Qt.include with cached compilation units and resources 2014-08-06 09:56:49 +02:00
testtypes.cpp Remove v8engine pointer from QQmlV4Function 2015-01-08 12:34:25 +01:00
testtypes.h Update license headers and add new licenses 2014-08-25 11:28:46 +02:00
tst_qqmlecmascript.cpp Clean up JS .import/.pragma directive scanning 2015-01-08 22:08:19 +01:00