MCPcopy Create free account
hub / github.com/google/gapid / xml

Method xml

core/os/android/binaryxml/xml_attribute.go:35–43  ·  view source on GitHub ↗
(ctx *xmlContext)

Source from the content-addressed store, hash-verified

33}
34
35func (l xmlAttributeList) xml(ctx *xmlContext) string {
36 b := bytes.Buffer{}
37 for _, a := range l {
38 b.WriteRune('\n')
39 b.WriteString(strings.Repeat(ctx.tab, ctx.indent+2))
40 b.WriteString(a.xml(ctx))
41 }
42 return b.String()
43}
44
45type xmlAttribute struct {
46 namespace stringPoolRef

Callers

nothing calls this directly

Calls 4

WriteStringMethod · 0.80
xmlMethod · 0.65
StringMethod · 0.65
WriteRuneMethod · 0.45

Tested by

no test coverage detected