Answer prose round 1: readName and readField say one idea a sentence and name what each pick and read is, and the test's message names whose b it checks
This commit is contained in:
@@ -141,11 +141,12 @@ func (sc renderScope) frameOf(scope *nameScope) *pickFrame {
|
||||
return nil
|
||||
}
|
||||
|
||||
// readName reads a from its name's pick in the frame rendering the name's scope. A read entering
|
||||
// another category takes the frames of the name scopes there from the pick's memo (enter), and
|
||||
// renderFrame finds them and opens none, so every read of the pick reads one pick of each name
|
||||
// bound there: {a.street} and {a.postal-code} in data/sv_SE/address.json read one pick of the
|
||||
// name l that data/geo/SE/address.json binds.
|
||||
// readName reads the arm a from the pick of its name, held in the frame of the name's scope.
|
||||
// When the pick renders another category, enter takes that category's frames from the pick's
|
||||
// memo, and renderFrame finds them and opens no new one.
|
||||
// So every read through one pick sees one pick of each name the other category binds:
|
||||
// {a.street} and {a.postal-code} in data/sv_SE/address.json read one pick of the name l
|
||||
// that data/geo/SE/address.json binds.
|
||||
func readName(s *drawstate.State, sc renderScope, a arm) readValue {
|
||||
f := sc.frameOf(a.named.scope)
|
||||
if f == nil {
|
||||
|
||||
Reference in New Issue
Block a user