This is an automated email from the ASF dual-hosted git repository.
matthiasblaesing pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans.git
from 38b5a05fd9 Merge pull request #7453 from jhorvath/oci-vault-deps
add 517d2696a9 JS Parser: Support top-level await for modules
add b1b7b01de3 Register mjs as javascript extension and treat such files
as modules
new 7a5462f840 Merge pull request #7417 from
matthiasblaesing/top_level_await
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
webcommon/javascript2.editor/licenseinfo.xml | 2 +-
.../modules/javascript2/editor/JsLanguage.java | 2 +-
.../javascript2/editor/parser/JsErrorManager.java | 14 ++---
.../editor/parser/SanitizingParser.java | 13 ++++-
...invalid_expression_await.js => export_await.js} | 0
...on_await.js.ast.xml => export_await.js.ast.xml} | 32 ++++++------
.../unit/data/testfiles/parser/topLevelAwait.js | 22 ++++++++
.../topLevelAwait.js.ast.xml} | 59 ++++++++++------------
.../testfiles/parser/topLevelAwait.js.semantic | 22 ++++++++
.../javascript2/editor/JsSemanticAnalyzerTest.java | 4 ++
.../modules/javascript2/editor/parser/AstTest.java | 8 ++-
.../src/com/oracle/js/parser/ECMAErrors.java | 2 +-
.../src/com/oracle/js/parser/Parser.java | 15 +++++-
.../unit/src/com/oracle/js/parser/ParserTest.java | 14 +++++
14 files changed, 144 insertions(+), 65 deletions(-)
rename
webcommon/javascript2.editor/test/unit/data/testfiles/ecmascript6/parser/ES6/identifier/{invalid_expression_await.js
=> export_await.js} (100%)
copy
webcommon/javascript2.editor/test/unit/data/testfiles/ecmascript6/parser/ES6/identifier/{invalid_expression_await.js.ast.xml
=> export_await.js.ast.xml} (72%)
create mode 100644
webcommon/javascript2.editor/test/unit/data/testfiles/parser/topLevelAwait.js
rename
webcommon/javascript2.editor/test/unit/data/testfiles/{ecmascript6/parser/ES6/identifier/invalid_expression_await.js.ast.xml
=> parser/topLevelAwait.js.ast.xml} (51%)
create mode 100644
webcommon/javascript2.editor/test/unit/data/testfiles/parser/topLevelAwait.js.semantic
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists