js-ast-parser
Version:
把javascript代码字符串解析为AST对象
12 lines (11 loc) • 325 B
TypeScript
import { Block } from "../../Block";
import { AstNode } from "../AstNode";
import { Statement } from "./Statement";
export declare class SwitchCaseStatement extends Statement {
type: string;
code: any;
consequent: Block;
test: AstNode;
isDefault: boolean;
constructor(currentToken: any);
}