Function findPossibleMergePositions

  • Returns the different paths to the possible merge positions

    Parameters

    • param0: {
          baseXml: ParsedXmlNodes;
          cursorTag?: string;
          element: string;
          typesPaths: Map<string, string[][] | "infinite">;
      }
      • baseXml: ParsedXmlNodes
      • OptionalcursorTag?: string
      • element: string
      • typesPaths: Map<string, string[][] | "infinite">

    Returns {
        path: {
            key: string;
            pos: number;
        }[];
        withCursor: boolean;
    }[]