%PDF- <> %âãÏÓ endobj 2 0 obj <> endobj 3 0 obj <>/ExtGState<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI] >>/Annots[ 28 0 R 29 0 R] /MediaBox[ 0 0 595.5 842.25] /Contents 4 0 R/Group<>/Tabs/S>> endobj ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<> endobj 2 0 obj<>endobj 2 0 obj<>es 3 0 R>> endobj 2 0 obj<> ox[ 0.000000 0.000000 609.600000 935.600000]/Fi endobj 3 0 obj<> endobj 7 1 obj<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI]>>/Subtype/Form>> stream
import * as types from "ast-types"; import { parse } from "./lib/parser"; import { Options } from "./lib/options"; export { /** * Parse a string of code into an augmented syntax tree suitable for * arbitrary modification and reprinting. */ parse, /** * Convenient shorthand for the ast-types package. */ types, }; /** * Traverse and potentially modify an abstract syntax tree using a * convenient visitor syntax: * * recast.visit(ast, { * names: [], * visitIdentifier: function(path) { * var node = path.value; * this.visitor.names.push(node.name); * this.traverse(path); * } * }); */ export { visit } from "ast-types"; /** * Options shared between parsing and printing. */ export { Options } from "./lib/options"; /** * Reprint a modified syntax tree using as much of the original source * code as possible. */ export declare function print(node: types.ASTNode, options?: Options): import("./lib/printer").PrintResultType; /** * Print without attempting to reuse any original source code. */ export declare function prettyPrint(node: types.ASTNode, options?: Options): import("./lib/printer").PrintResultType; /** * Convenient command-line interface (see e.g. example/add-braces). */ export declare function run(transformer: Transformer, options?: RunOptions): void; export interface Transformer { (ast: types.ASTNode, callback: (ast: types.ASTNode) => void): void; } export interface RunOptions extends Options { writeback?(code: string): void; }