Name the path walks and steps by what each does: drawCallerPath, callerPathSteps, compiledPath, provePath, compileStep, childNamed, table.columnOrLinked, table.followStep and pathPos.fromRow

This commit is contained in:
2026-10-07 02:12:46 +02:00
committed by Lillem4n
parent 9aec575dca
commit 822c8c0a5d
12 changed files with 70 additions and 70 deletions
+2 -2
View File
@@ -67,7 +67,7 @@ var nodeSwitchSkips = map[string][]string{
"columnItems": {"folder", "table", "tableRow"},
"prove": {"folder"},
"render": {"folder"},
"stepInto": {"choice", "table", "tableRow"},
"childNamed": {"choice", "table", "tableRow"},
}
func TestNodeSwitchesHandleEveryKind(t *testing.T) {
@@ -116,7 +116,7 @@ func TestNodeSwitchesHandleEveryKind(t *testing.T) {
render(engine(1).drawState, n, renderEnv{frames: &frames, row: renderedRow{tbl, 0}})
},
"renderEdges": func(n node) { renderEdges(n) },
"stepInto": func(n node) { _, _ = stepInto(n, "x") },
"childNamed": func(n node) { _, _ = childNamed(n, "x") },
} {
mustPanic(t, name+" on an unhandled node", func() { call(&unhandledNode{}) })
for _, kind := range kinds {