Home Reference Source Repository
import {ExportNamedDeclaration} from 'esast/src/ast.js'
public class | source

ExportNamedDeclaration

Extends:

Node → ExportNamedDeclaration

Exports multiple values as in export { a, b as c }. If source !== null, re-exports from that module as in export { ... } from "source".

Constructor Summary

Public Constructor
public

constructor(declaration: *, specifiers: *, source: *)

Member Summary

Public Members
public
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(declaration: *, specifiers: *, source: *) source

Params:

NameTypeAttributeDescription
declaration *
specifiers *
source *

Public Members

public declaration: Declaration source

public source: Literal<string> source

public specifiers: Array<ExportSpecifier> source