UNPKG

@nodesecure/js-x-ray

Version:
21 lines 671 B
import type { ESTree } from "meriyah"; import { SourceFile } from "../SourceFile.ts"; /** * @description Search for ArrayExpression AST Node (Commonly known as JS Arrays) * * @see https://github.com/estree/estree/blob/master/es5.md#arrayexpression * @example * ["foo", "bar", 1] */ declare function validateNode(node: ESTree.Node): [boolean, any?]; declare function main(node: ESTree.ArrayExpression, { sourceFile }: { sourceFile: SourceFile; }): void; declare const _default: { name: string; validateNode: typeof validateNode; main: typeof main; breakOnMatch: boolean; }; export default _default; //# sourceMappingURL=isArrayExpression.d.ts.map