MCPcopy Create free account
hub / github.com/microsoft/SandDance / nextRight

Function nextRight

docs/app/js/sanddance-app.js:138220–138223  ·  view source on GitHub ↗
(v)

Source from the content-addressed store, hash-verified

138218}
138219// This function works analogously to nextLeft.
138220function nextRight(v) {
138221 var children = v.children;
138222 return children ? children[children.length - 1] : v.t;
138223}
138224// Shifts the current subtree rooted at w+. This is done by increasing
138225// prelim(w+) and mod(w+) by shift.
138226function moveSubtree(wm, wp, shift) {

Callers 1

apportionFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected