encoding/xml.parentStack.stack (field)
11 uses
encoding/xml (current package)
marshal.go#L944: if len(finfo.parents) > len(s.stack) {
marshal.go#L946: if err := s.push(finfo.parents[len(s.stack):]); err != nil {
marshal.go#L999: stack []string
marshal.go#L1007: for ; split < len(parents) && split < len(s.stack); split++ {
marshal.go#L1008: if parents[split] != s.stack[split] {
marshal.go#L1012: for i := len(s.stack) - 1; i >= split; i-- {
marshal.go#L1013: if err := s.p.writeEnd(Name{Local: s.stack[i]}); err != nil {
marshal.go#L1017: s.stack = s.stack[:split]
marshal.go#L1028: s.stack = append(s.stack, parents...)
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |