qtdeclarative/tools
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
..
fdegen Update license headers and add new licenses 2014-08-25 11:28:46 +02:00
qml qml: obey QT_NO_REGULAREXPRESSION define 2014-11-11 11:11:41 +01:00
qmleasing Update license headers and add new licenses 2014-08-25 11:28:46 +02:00
qmlimportscanner Clean up JS .import/.pragma directive scanning 2015-01-08 22:08:19 +01:00
qmljs Remove most of the places where getPointer() is used 2014-12-20 07:39:55 +01:00
qmllint Update license headers and add new licenses 2014-08-25 11:28:46 +02:00
qmlmin Clean up JS .import/.pragma directive scanning 2015-01-08 22:08:19 +01:00
qmlplugindump Fix build on MinGW 2014-12-28 18:46:59 +01:00
qmlprofiler Update license headers and add new licenses 2014-08-25 11:28:46 +02:00
qmlscene Add -P argument to qmlscene to specify plugins search path 2014-12-17 20:54:36 +01:00
qmltestrunner Update license headers and add new licenses 2014-08-25 11:28:46 +02:00
tools.pro Remove QML bundle code 2014-12-12 06:13:47 +01:00