MCPcopy Create free account
hub / github.com/aws/smithy-go / WrapNodeDecoder

Function WrapNodeDecoder

encoding/xml/xml_decoder.go:18–23  ·  view source on GitHub ↗

WrapNodeDecoder returns an initialized XMLNodeDecoder

(decoder *xml.Decoder, startEl xml.StartElement)

Source from the content-addressed store, hash-verified

16
17// WrapNodeDecoder returns an initialized XMLNodeDecoder
18func WrapNodeDecoder(decoder *xml.Decoder, startEl xml.StartElement) NodeDecoder {
19 return NodeDecoder{
20 Decoder: decoder,
21 StartEl: startEl,
22 }
23}
24
25// Token on a Node Decoder returns a xml StartElement. It returns a boolean that indicates the
26// a token is the node decoder's end node token; and an error which indicates any error

Callers 3

TestXMLNodeDecoder_TokenFunction · 0.85
TestXMLNodeDecoder_ValueFunction · 0.85

Calls

no outgoing calls

Tested by 3

TestXMLNodeDecoder_TokenFunction · 0.68
TestXMLNodeDecoder_ValueFunction · 0.68