Rename template.go to format.go, a table's tokens to cellTemplates, drawAt.alt to pinned and ftoken's brace-body kind to 't', and drop the done item

This commit is contained in:
2026-09-25 17:28:35 +02:00
committed by Lillem4n
parent 191186ec94
commit 005f4d7adc
11 changed files with 44 additions and 49 deletions
+1 -1
View File
@@ -63,7 +63,7 @@ func contained(n node) []namedNode {
case *table:
return append([]namedNode{{node: n.format}}, named(n.fields)...)
case *column:
if len(n.t.tokens) == 0 {
if len(n.t.cellTemplates) == 0 {
return nil
}
var out []namedNode