js-ast-parser
Version:
把javascript代码字符串解析为AST对象
10 lines (9 loc) • 366 B
TypeScript
import { CallExpression } from "./CallExpression";
import { IdentifierLiteralExpression } from "./IdentifierLiteralExpression";
import { Expression } from "./Expression";
export declare class NewExpressioin extends Expression {
type: string;
code: any;
callee: CallExpression | IdentifierLiteralExpression;
constructor(currentToken: any);
}