esprima icon indicating copy to clipboard operation
esprima copied to clipboard

ES2020 export ns from

Open ljqx opened this issue 5 years ago • 0 comments

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

ljqx avatar Dec 07 '20 06:12 ljqx