function legacyGetNextNonSpaceNonCommentCharacterIndex(text, node, locEnd) {
  return getNextNonSpaceNonCommentCharacterIndexWithStartIndex(
    text,
    locEnd(node),
  );
}
@template N
@param {string} text
@param {N} node
@param {(node: N) => number} locEnd
@returns {number | false}