Skip to content
This repository has been archived by the owner on Jan 13, 2022. It is now read-only.

Commit

Permalink
ES6 Module Syntax Sign-Off
Browse files Browse the repository at this point in the history
* revision of ES6 import final grammar
* revision of ES6 export final grammar
* introduces `Syntax.ImportNamespaceSpecifier` for `import * as foo from "foo"`
* introduces `Syntax.ImportDefaultSpecifier` for `import foo from "foo";`
* introduces `ModuleSpecifier`
* left-hand side of comma in ImportDeclaration must be identifier
* right-hand side of comma in ImportDeclaration can be NameSpaceImport or NamedImports
* removes `kind=default` and `kind=named` from `ImportDeclaration` in favor of
  `Syntax.ImportDefaultSpecifier` form
* Removes `module {}` syntax
* moves all module tests into harmonymodulestest.js

https://code.google.com/p/esprima/issues/detail?id=597
  • Loading branch information
caridy authored and ariya committed Oct 8, 2014
1 parent e6e83f0 commit 0137f56
Show file tree
Hide file tree
Showing 6 changed files with 2,689 additions and 2,106 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
coverage
node_modules
Loading

0 comments on commit 0137f56

Please sign in to comment.