@nodesecure/js-x-ray
Version:
JavaScript AST XRay analysis
21 lines • 632 B
TypeScript
import type { ESTree } from "meriyah";
import { SourceFile } from "../SourceFile.ts";
/**
* @description Search for BinaryExpression AST Node.
*
* @see https://github.com/estree/estree/blob/master/es5.md#binaryexpression
* @example
* 5 + 5 + 10
*/
declare function validateNode(node: ESTree.Node): [boolean, any?];
declare function main(node: ESTree.BinaryExpression, options: {
sourceFile: SourceFile;
}): void;
declare const _default: {
name: string;
validateNode: typeof validateNode;
main: typeof main;
breakOnMatch: boolean;
};
export default _default;
//# sourceMappingURL=isBinaryExpression.d.ts.map