MCPcopy Create free account
hub / github.com/denoland/std / onStartElement

Function onStartElement

xml/parse_stream_test.ts:19–21  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

17
18 await parseXmlStream(stream, {
19 onStartElement(name) {
20 elements.push(name);
21 },
22 onText(text) {
23 texts.push(text);
24 },

Callers

nothing calls this directly

Calls 4

getNameMethod · 0.65
getValueMethod · 0.65
pushMethod · 0.45
sliceMethod · 0.45

Tested by

no test coverage detected