qtdeclarative/tools
Lars Knoll 70251c5ee7 Bring JS grammar in line with ES7 spec
This basically updates all grammar rules in the
qqmljs.g file to be in line with the ES7 specification.

Some special handling for the lookahead rules appearing
in the spec was needed and is implemented through empty
lookahead rules in the grammar, that might push an
additional token into the token stream.

Renamed some classes in the AST to be in line with
the names used in ES7, and removed some other ones
(SourceElements) that are no longer used.

The ES7 grammar rules contain lots of variations of
the base rules (with In/Return/Yield/Default suffixes).
With the exception of the In and Default rules, these
are implemented through state tracking in the parser
and lexer.

Change-Id: I4017d97cd050ed816c1dad11833e882cba30801a
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
2018-04-25 17:50:12 +00:00
..
qml Merge remote-tracking branch 'origin/5.11' into dev 2018-02-27 08:43:10 +01:00
qmlcachegen Disentangle some includes by moving QQmlJS::Directives into qqmljsengine_p.h 2018-04-25 14:19:23 +00:00
qmleasing use nullptr consistently (clang-tidy) 2018-02-26 07:13:18 +00:00
qmlimportscanner use nullptr consistently (clang-tidy) 2018-02-26 07:13:18 +00:00
qmljs Merge remote-tracking branch 'origin/5.10' into dev 2018-02-02 15:59:32 +01:00
qmllint Adjust QMAKE_TARGET_PRODUCT, QMAKE_TARGET_DESCRIPTION 2017-07-28 10:57:06 +00:00
qmlmin Bring JS grammar in line with ES7 spec 2018-04-25 17:50:12 +00:00
qmlplugindump use nullptr consistently (clang-tidy) 2018-02-26 07:13:18 +00:00
qmlprofiler QQmlDebugClient: Make stateChanged a signal 2018-03-20 16:46:04 +00:00
qmlscene init variables where they are declared when possible (clang-tidy) 2018-02-26 13:08:30 +00:00
qmltestrunner Adjust QMAKE_TARGET_PRODUCT, QMAKE_TARGET_DESCRIPTION 2017-07-28 10:57:06 +00:00
qmltime use nullptr consistently (clang-tidy) 2018-02-26 07:13:18 +00:00
tools.pro Add a feature for qmldevtools 2018-02-09 12:02:21 +00:00