This is an automated email from the ASF dual-hosted git repository.

matthiasblaesing pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans.git

commit 7a5462f840532f475f595f885cebaed900336d1b
Merge: 38b5a05fd9 b1b7b01de3
Author: Matthias Bläsing <[email protected]>
AuthorDate: Mon Jun 10 19:51:51 2024 +0200

    Merge pull request #7417 from matthiasblaesing/top_level_await
    
    JS Parser: Support top-level await for modules

 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(-)


---------------------------------------------------------------------
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

Reply via email to