function shouldAddParensIfNotBreak(node) {
  if (!shouldAddParensIfNotBreakCache.has(node)) {
    shouldAddParensIfNotBreakCache.set(
      node,
      node.type === "ConditionalExpression" &&
        !startsWithNoLookaheadToken(
          node,
          (node) => node.type === "ObjectExpression",
        ),
    );
  }
  return shouldAddParensIfNotBreakCache.get(node);
}
@import AstPath from "../../common/ast-path.js"
@import {Doc} from "../../document/builders.js"