Answer prose round 1: name the parent after .., mark the step down as the one exception to the shared draw, and plainer errors
This commit is contained in:
@@ -5,7 +5,7 @@ import "strings"
|
||||
// drawMemo is what a hold, a draw group or a named pick has drawn: the variant each level was
|
||||
// drawn as, so every path under it reads one variant; the value each read produced, by its path,
|
||||
// so the same read written twice reads one value; the frames a read opens for the name
|
||||
// scopes around where it lands (enter); and the rows drawn below each step up stepped down from.
|
||||
// scopes around where it lands (enter); and the rows drawn by each step down after a "..", by level.
|
||||
type drawMemo struct {
|
||||
variant map[string]node
|
||||
value map[string]readValue
|
||||
@@ -13,8 +13,8 @@ type drawMemo struct {
|
||||
steppedDown map[string]*pinSet
|
||||
}
|
||||
|
||||
// stepDownPins is the pins a path steps down into after stepping up to t, at the level at: kept
|
||||
// in m where there is one, so every path stepping down there reads one draw.
|
||||
// stepDownPins is the pins a path steps down into after stepping up to t: kept in m where there
|
||||
// is one, so every path stepping down there reads one draw.
|
||||
func (m *drawMemo) stepDownPins(pins *pinSet, t *table, levels []string, at int) *pinSet {
|
||||
if m == nil {
|
||||
return pins.above(t)
|
||||
|
||||
Reference in New Issue
Block a user