UNPKG

@nodesecure/js-x-ray

Version:
15 lines 725 B
import type { ESTree } from "meriyah"; import { type DefaultOptions } from "../types.ts"; export interface ConcatBinaryExpressionOptions extends DefaultOptions { /** * When set to true, the function will throw an error if it encounters * a node type that is not supported (i.e., not a Literal, BinaryExpr, ArrayExpr or Identifier). * * @default false * @example * "foo" + fn() + "bar" // <- will throw an error if `stopOnUnsupportedNode` is true */ stopOnUnsupportedNode?: boolean; } export declare function concatBinaryExpression(node: ESTree.BinaryExpression, options?: ConcatBinaryExpressionOptions): IterableIterator<string>; //# sourceMappingURL=concatBinaryExpression.d.ts.map