js-ast-parser
Version:
把javascript代码字符串解析为AST对象
12 lines (11 loc) • 386 B
TypeScript
import { Block } from "../../Block";
import { FunctionDeclarationStatement } from "./FunctionDeclarationStatement";
import { Statement } from "./Statement";
export declare class TryCathchStatement extends Statement {
type: string;
code: any;
body: Block;
catchHandler: FunctionDeclarationStatement;
finalizer: Block;
constructor(currentToken: any);
}