Module grammar
# David Herman (15 years ago)
Thanks-- missed one when manually doing s/ImportPath/ImportBinding/g. Fixed.
Thanks,
Thanks-- missed one when manually doing s/ImportPath/ImportBinding/g. Fixed.
Thanks,
Dave
On Jul 1, 2011, at 9:55 AM, Kam Kasravi wrote:
> Should this
>
> ImportDeclaration(load) ::= "import" ImportBinding(load) ("," ImportBinding(load))* ";"
> ImportPath(load) ::= ImportSpecifierSet "from" ModuleExpression(load)
> ImportSpecifierSet ::= "*"
> | IdentifierName
> | "{" (ImportSpecifier ("," ImportSpecifier)*)? ","? "}"
> ImportSpecifier ::= IdentifierName (":" Identifier)?
> Be this?
>
> ImportDeclaration(load) ::= "import" ImportBinding(load) ("," ImportBinding(load))* ";"
> ImportBinding(load) ::= ImportSpecifierSet "from" ModuleExpression(load)
> ImportSpecifierSet ::= "*"
> | IdentifierName
> | "{" (ImportSpecifier ("," ImportSpecifier)*)? ","? "}"
> ImportSpecifier ::= IdentifierName (":" Identifier)?
>
> _______________________________________________
> es-discuss mailing list
> es-discuss at mozilla.org
> https://mail.mozilla.org/listinfo/es-discuss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20110701/061155e1/attachment.html>
Should this
ImportDeclaration(load) ::= "import" ImportBinding(load) ("," ImportBinding(load))* ";" ImportPath(load) ::= ImportSpecifierSet "from" ModuleExpression(load) ImportSpecifierSet ::= "" | IdentifierName | "{" (ImportSpecifier ("," ImportSpecifier))? ","? "}" ImportSpecifier ::= IdentifierName (":" Identifier)? Be this?
ImportDeclaration(load) ::= "import" ImportBinding(load) ("," ImportBinding(load))* ";" ImportBinding(load) ::= ImportSpecifierSet "from" ModuleExpression(load) ImportSpecifierSet ::= "" | IdentifierName | "{" (ImportSpecifier ("," ImportSpecifier))? ","? "}" ImportSpecifier ::= IdentifierName (":" Identifier)?
Should this ImportDeclaration(load) ::= "import" ImportBinding(load) ("," ImportBinding(load))* ";" ImportPath(load) ::= ImportSpecifierSet "from" ModuleExpression(load) ImportSpecifierSet ::= "*" | IdentifierName | "{" (ImportSpecifier ("," ImportSpecifier)*)? ","? "}" ImportSpecifier ::= IdentifierName (":" Identifier)? Be this? ImportDeclaration(load) ::= "import" ImportBinding(load) ("," ImportBinding(load))* ";" ImportBinding(load) ::= ImportSpecifierSet "from" ModuleExpression(load) ImportSpecifierSet ::= "*" | IdentifierName | "{" (ImportSpecifier ("," ImportSpecifier)*)? ","? "}" ImportSpecifier ::= IdentifierName (":" Identifier)? -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20110701/7ace4d7f/attachment.html>