UNPKG

@syntest/analysis-javascript

Version:

SynTest CFG JavaScript is a library for generating control flow graphs for the JavaScript language

13 lines 655 B
import { NodePath } from "@babel/core"; import * as t from "@babel/types"; import { AbstractSyntaxTreeVisitor } from "@syntest/ast-visitor-javascript"; import { Export } from "./Export"; export declare class ExportVisitor extends AbstractSyntaxTreeVisitor { private _exports; constructor(filePath: string, syntaxForgiving: boolean); ExportNamedDeclaration: (path: NodePath<t.ExportNamedDeclaration>) => void; ExportDefaultDeclaration: (path: NodePath<t.ExportDefaultDeclaration>) => void; AssignmentExpression: (path: NodePath<t.AssignmentExpression>) => void; get exports(): Export[]; } //# sourceMappingURL=ExportVisitor.d.ts.map