GeezerVison is showing github.com — doc: alphabetize vm Module class properties · nodejs/node@3e82263
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: doc/api/vm.md +6-6Lines changed: 6 additions & 6 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -532,6 +532,12 @@ This method cannot be called while the module is being evaluated |
532 | 532 | Corresponds to the [Evaluate() concrete method][] field of [Cyclic Module |
533 | 533 | Record][]s in the ECMAScript specification. |
534 | 534 |
|
| 535 | +### `module.identifier` |
| 536 | + |
| 537 | +* {string} |
| 538 | + |
| 539 | +The identifier of the current module, as set in the constructor. |
| 540 | + |
535 | 541 | ### `module.link(linker)` |
536 | 542 |
|
537 | 543 | * `linker` {Function} |
@@ -616,12 +622,6 @@ Other than `'errored'`, this status string corresponds to the specification's |
616 | 622 | `'evaluated'` in the specification, but with `[[EvaluationError]]` set to a |
617 | 623 | value that is not `undefined`. |
618 | 624 |
|
619 | | -### `module.identifier` |
620 | | - |
621 | | -* {string} |
622 | | - |
623 | | -The identifier of the current module, as set in the constructor. |
624 | | - |
625 | 625 | ## Class: `vm.SourceTextModule` |
626 | 626 | <!-- YAML |
627 | 627 | added: v9.6.0 |
|