Reviewers: rossberg,

Description:
Teach ModuleDescriptor about basic local exports

Add() becomes AddLocalExport, which takes an export_name and a local_name.
New parsing tests exercise this.

Also start generating exports for default exports (though this doesn't yet
handle anonymous default exports).

BUG=v8:1569
LOG=n

Please review this at https://codereview.chromium.org/934323004/

Base URL: https://chromium.googlesource.com/v8/v8.git@master

Affected files (+89, -133 lines):
  M src/ast-value-factory.h
  M src/messages.js
  M src/modules.h
  M src/modules.cc
  M src/parser.h
  M src/parser.cc
  M src/scopeinfo.cc
  M test/cctest/cctest.status
  M test/cctest/test-parsing.cc


--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to