ExportSpecifier
Extends:
Node → ModuleSpecifier → ExportSpecifier
A non-default export. Used in an ExportNamedDeclaration.
For export { a } from "source"
, just pass one argument local will = exported.
For export { a as b }
, make exported b
and local a
.
Constructor Summary
Public Constructor | ||
public |
constructor(exported: *, local: *) |
Member Summary
Public Members | ||
public |
|
|
public |
|
Inherited Summary
From class Node | ||
public get |
type: * For compatibility with other AST representations,
all Node instances have a 'type' property that is the name of that type.
|
|
public |
toJSON(): * Convert to JSON.
|
|
public |
toString(): * |
Public Constructors
public constructor(exported: *, local: *) source
Params:
Name | Type | Attribute | Description |
exported | * | ||
local | * |