UNPKG

js-ast-parser

Version:
20 lines (19 loc) 797 B
import { AstNode } from "../AstNode"; import { IdentifierLiteralExpression } from "../expression/IdentifierLiteralExpression"; import { StringLiteralExpression } from "../expression/StringLiteralExpression"; import { Statement } from "./Statement"; import { VariableDeclarationStatement } from "./VariableDeclarationStatement"; export declare type ExportSpecifier = { exported: IdentifierLiteralExpression; local: IdentifierLiteralExpression; }; export declare class ExportDeclarationStatement extends Statement { type: string; code: any; declaration: VariableDeclarationStatement; exported: AstNode; local: IdentifierLiteralExpression; specifiers: Array<ExportSpecifier>; from: StringLiteralExpression; constructor(currentToken: any); }