esprima
esprima copied to clipboard
ES2020 export ns from
Steps to reproduce
esprima.parse('export * as someIdentifier from "someModule";')
Expected output
A syntax tree.
Actual output
Error: Line 1: Unexpected token as
Relevant references
Spec: https://github.com/tc39/proposal-export-ns-from ESTree: https://github.com/estree/estree/blob/master/es2020.md#exportalldeclaration ECMA 262 PR: https://github.com/tc39/ecma262/pull/1174