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

Method _parseBars

packages/alphatab/src/importer/GpifParser.ts:1577–1585  ·  view source on GitHub ↗
(node: XmlNode)

Source from the content-addressed store, hash-verified

1575 // <Bars>...</Bars>
1576 //
1577 private _parseBars(node: XmlNode): void {
1578 for (const c of node.childElements()) {
1579 switch (c.localName) {
1580 case 'Bar':
1581 this._parseBar(c);
1582 break;
1583 }
1584 }
1585 }
1586
1587 private _parseBar(node: XmlNode): void {
1588 const bar: Bar = new Bar();

Callers 1

_parseDomMethod · 0.95

Calls 2

_parseBarMethod · 0.95
childElementsMethod · 0.80

Tested by

no test coverage detected