<!--- Provide a summary in the title above. Be concise and specific! --> <!-- If you are here for reasons other than reporting a defect or suggesting an improvement, please post to the mailing-list instead: http://groups.google.com/group/esprima. Do not forget to explore the extensive documentation: http://esprima.org/doc/. Please report one problem at a time! Refrain from filing a bulk report at once since it will make it difficult to follow-up and we may have to close the issue. --> ### Steps to reproduce <!--- When reporting a defect, specify the scenario that reproduces the problem --> ```js esprima.parse('export * as someIdentifier from "someModule";') ``` ### Expected output <!--- When reporting a defect, write what should happen, e.g. a particular AST output --> <!--- When suggesting an improvement, describe how it should work --> A syntax tree. ### Actual output <!--- When reporting a defect, write what actually happens instead of the expected behavior --> <!--- When suggesting an improvement, explain the difference from current behavior --> >> Error: Line 1: Unexpected token as ### Relevant references <!--- Optionally, include as many relevant references, e.g. the ECMAScript specification. --> 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
Steps to reproduce
Expected output
A syntax tree.
Actual output
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: tc39/ecma262#1174