MCPcopy Create free account
hub / github.com/CoderLine/alphaTab / findChildElement

Method findChildElement

packages/alphatab/src/xml/XmlNode.ts:89–96  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

87 }
88
89 public findChildElement(name: string): XmlNode | null {
90 for (const c of this.childNodes) {
91 if (c && c.nodeType === XmlNodeType.Element && c.localName === name) {
92 return c;
93 }
94 }
95 return null;
96 }
97
98 public addElement(name: string): XmlNode {
99 const newNode = new XmlNode();

Callers 15

readFullInstrumentSetFunction · 0.80
_parseElementMethod · 0.80
_parseStaffPropertyMethod · 0.80
_parseTrackPropertyMethod · 0.80
_parseMasterBarMethod · 0.80
_parseBeatXPropertiesMethod · 0.80
_parseBarXPropertiesMethod · 0.80
_parseBeatPropertiesMethod · 0.80

Calls

no outgoing calls

Tested by 1

readFullInstrumentSetFunction · 0.64