Rename pinnedRow, table.category, checkRenders, fieldAlternation and referenceFence to what they are

This commit is contained in:
2026-09-29 04:20:28 +02:00
committed by Lillem4n
parent 4d35ead2a4
commit 29f3821a21
14 changed files with 42 additions and 42 deletions
+2 -2
View File
@@ -90,7 +90,7 @@ func (p *valueProof) prove(n node) proven {
case *tableColumn:
v = p.proveCells(n)
case *tableRow:
v = unproven(fmt.Sprintf("%q renders a row of %s, which is composed text", n.t.formatTemplate.format, n.t.category))
v = unproven(fmt.Sprintf("%q renders a row of %s, which is composed text", n.t.formatTemplate.format, n.t.segment))
default:
v = unproven(`it reads a null, which renders "" outside its own column`)
}
@@ -157,7 +157,7 @@ func (p *valueProof) proveTemplate(t *template) proven {
o := t.compiled.ops[0]
body, name, args := o.body, o.fn, o.args
switch _, isTransform := transforms[name]; {
case o.kind == fieldAlternation:
case o.kind == nameRead:
var leaves []node
for _, a := range o.arms {
leaves = append(leaves, pathLeaves(t.head(a.key), a.tail)...)