State the node-kind switch rule on node

This commit is contained in:
2026-09-29 02:35:02 +02:00
committed by Lillem4n
parent f523283463
commit b41ce7679f
2 changed files with 3 additions and 3 deletions
+2 -1
View File
@@ -11,7 +11,8 @@ import (
// node is a compiled element of the namespace tree: a folder, choice, null,
// template, table, column or row. Compiling JSON into these once (see compile)
// means rendering never re-inspects the raw JSON or re-sums weights.
// means rendering never re-inspects the raw JSON or re-sums weights. A new kind goes in
// every switch that panics through internalError on a kind it does not list.
type node interface{ isNode() }
// folder is a namespace of named children, built from a directory of JSON files