UNPKG

@syntest/analysis-javascript

Version:

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

19 lines 606 B
import * as t from "@babel/types"; import { TargetFactory as CoreTargetFactory } from "@syntest/analysis"; import { Factory } from "../Factory"; import { Target } from "./Target"; /** * TargetFactory for Javascript. * * @author Dimitri Stallenberg */ export declare class TargetFactory extends Factory implements CoreTargetFactory<t.Node> { /** * Generate function map for specified target. * * @param filePath The filePath of the target * @param AST The AST of the target */ extract(filePath: string, AST: t.Node): Target; } //# sourceMappingURL=TargetFactory.d.ts.map