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

Method _parseElements

packages/alphatab/src/importer/GpifParser.ts:736–744  ·  view source on GitHub ↗
(track: Track, node: XmlNode, isInstrumentSet: boolean)

Source from the content-addressed store, hash-verified

734 }
735 }
736 private _parseElements(track: Track, node: XmlNode, isInstrumentSet: boolean) {
737 for (const c of node.childElements()) {
738 switch (c.localName) {
739 case 'Element':
740 this._parseElement(track, c, isInstrumentSet);
741 break;
742 }
743 }
744 }
745
746 private _parseElement(track: Track, node: XmlNode, isInstrumentSet: boolean) {
747 const name = node.findChildElement('Name')?.innerText ?? '';

Callers 2

_parseNotationPatchMethod · 0.95
_parseInstrumentSetMethod · 0.95

Calls 2

_parseElementMethod · 0.95
childElementsMethod · 0.80

Tested by

no test coverage detected