(p value.Pointer, printAddress bool, s textNode)
| 92 | } |
| 93 | } |
| 94 | func wrapTrunkReference(p value.Pointer, printAddress bool, s textNode) textNode { |
| 95 | var prefix string |
| 96 | if printAddress { |
| 97 | prefix = formatPointer(p, true) |
| 98 | } |
| 99 | return &textWrap{Prefix: prefix, Value: s, Metadata: trunkReference{p}} |
| 100 | } |
| 101 | func makeLeafReference(p value.Pointer, printAddress bool) textNode { |
| 102 | out := &textWrap{Prefix: "(", Value: textEllipsis, Suffix: ")"} |
| 103 | var prefix string |
no test coverage detected