Give head, index, bound and draw one meaning each, name familyRoot, and type the token kinds

This commit is contained in:
2026-09-28 11:36:04 +02:00
committed by Lillem4n
parent cb064362d1
commit affbb9ac6f
14 changed files with 149 additions and 145 deletions
+2 -2
View File
@@ -21,7 +21,7 @@ type renderScope struct {
}
func eagerHoldSet() holdSet {
return holdSet{unnamed: hold{variant: map[string]node{}, value: map[string]draw{}}}
return holdSet{unnamed: hold{variant: map[string]node{}, value: map[string]readValue{}}}
}
// renderOnce renders n as one render, over a hold set of its own.
@@ -67,7 +67,7 @@ func (sc renderScope) hold() *hold {
if sc.set.named == nil {
sc.set.named = map[string]*hold{}
}
d = &hold{variant: map[string]node{}, value: map[string]draw{}}
d = &hold{variant: map[string]node{}, value: map[string]readValue{}}
sc.set.named[strings.Clone(sc.group)] = d
}
return d