Skip to content

Commit

Permalink
vm: add Synthetic modules
Browse files Browse the repository at this point in the history
- Refactor vm.SourceTextModule (again)
- Add vm.Module abstract superclass
- Add vm.SyntheticModule

Refs: https://heycam.github.io/webidl/#synthetic-module-records

PR-URL: nodejs#29864
Reviewed-By: Guy Bedford <guybedford@gmail.com>
  • Loading branch information
devsnek authored and aduh95 committed Jan 7, 2020
1 parent 7100e23 commit 6db81db
Show file tree
Hide file tree
Showing 19 changed files with 769 additions and 537 deletions.
2 changes: 1 addition & 1 deletion doc/api/errors.md
Expand Up @@ -1976,7 +1976,7 @@ The linker function returned a module for which linking has failed.
<a id="ERR_VM_MODULE_NOT_MODULE"></a>
### ERR_VM_MODULE_NOT_MODULE

The fulfilled value of a linking promise is not a `vm.SourceTextModule` object.
The fulfilled value of a linking promise is not a `vm.Module` object.

<a id="ERR_VM_MODULE_STATUS"></a>
### ERR_VM_MODULE_STATUS
Expand Down

0 comments on commit 6db81db

Please sign in to comment.