1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-19 06:55:23 +02:00
cdt/qt/org.eclipse.cdt.qt.core/acorn-qml
Matthew Bastien 2d6e4f4b8a Bug 481850 - QML Error Tolerant Parser
Added the loose plugin to acorn-qml which is error-tolerant in its
parsing approach.  Switched the main parser to automatically use strict
mode and to complain if the ECMA Script version is set to anything
higher than 5.  This simplifies the parsing a little bit and keeps us in
sync with Qt which currently uses ECMA Script 5 in its JavaScript
runtime environment.

Updated the test framework to accommodate the loose parser and be less
'magic' in how it runs the tests.  Added new tests to make sure the
loose parser is, in fact, error tolerant.

Change-Id: I670fc01853198d2261fbf9d8b017d225c4612182
Signed-off-by: Matthew Bastien <mbastien@blackberry.com>
2015-11-12 10:04:21 -05:00
..
bin Bug 481126 - QML Static Analysis based on Tern.js 2015-10-30 17:48:01 -04:00
loose Bug 481850 - QML Error Tolerant Parser 2015-11-12 10:04:21 -05:00
test Bug 481850 - QML Error Tolerant Parser 2015-11-12 10:04:21 -05:00
walk Bug 481850 - QML Error Tolerant Parser 2015-11-12 10:04:21 -05:00
.gitignore Bug 481126 - QML Static Analysis based on Tern.js 2015-10-30 17:48:01 -04:00
index.js Bug 480238 - Clean Up Acorn QML Parser 2015-11-04 09:51:34 -05:00
inject.js Bug 481850 - QML Error Tolerant Parser 2015-11-12 10:04:21 -05:00
package.json Bug 481850 - QML Error Tolerant Parser 2015-11-12 10:04:21 -05:00