src/hmisc/extra/treediff/treediff_main

  Source   Edit

Types

Diff = ref object
  src*: Tree
  dst*: Tree
  mappings*: MappingStore
  editScript*: EditScript
  Source   Edit

Procs

proc diff(src, dst: Tree; matcher: Matcher; generator: EditScriptGenerator): Diff {....raises: [
    ImplementBaseError, NilArgumentError, KeyError, Exception, ValueError],
    tags: [RootEffect].}
  Source   Edit
proc heightPriority(tree: Tree): int {....raises: [], tags: [].}
  Source   Edit
proc newDiff(src: Tree; dst: Tree; mappings: MappingStore;
             editScript: EditScript): Diff {....raises: [], tags: [].}
  Source   Edit
proc treeFromRefAst[N: ref object](node: N; isToken: proc (n: N): bool;
                                   getLabel: proc (n: N): string): Tree
  Source   Edit