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
Exports
-
setType, Tree, newMetrics, setChildren, visitLeaf, getEndPos, innerNodeStructureHash, getChildren, setLength, getType, newTreeType, pairs, setMetadata, addChild, hash, fastExponentiation, newTreeMetrics, leafHash, $, setParent, setPos, getParents, getLength, hasSameType, getChild, getTreesBetweenPositions, positionInParent, newTree, isIsoStructuralTo, startInnerNode, hash, isRoot, setMetrics, setLabel, innerNodeHash, newFakeTree, getPos, insertChild, treeRepr, searchSubtree, hashFactor, getLabel, getRoot, getDescendants, TreeMetricComputer, hasSameTypeAndLabel, items, endInnerNode, leafStructureHash, ==, hasLabel, getMetadata, Type, getParent, deepCopy, isLeaf, newFakeTree, setNodeRef, TreeImpl, high, getMetrics, toString, isIsomorphicTo, TreeMetrics, updateMetrics, getChildPosition, setParentAndUpdateChildren, preOrder, getMetadata, breadthFirst, postOrder