UNPKG

js-ast-parser

Version:
17 lines (16 loc) 639 B
import { IdentifierLiteralExpression } from "../expression/IdentifierLiteralExpression"; import { StringLiteralExpression } from "../expression/StringLiteralExpression"; import { Statement } from "./Statement"; export declare type ImportSpecifier = { imported: IdentifierLiteralExpression; local: IdentifierLiteralExpression; }; export declare class ImportStatement extends Statement { type: string; code: any; imported: IdentifierLiteralExpression; local: IdentifierLiteralExpression; specifiers: Array<ImportSpecifier>; from: StringLiteralExpression; constructor(currentToken: any); }