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

Method _write

packages/alphatab/src/xml/XmlWriter.ts:127–133  ·  view source on GitHub ↗
(s: string)

Source from the content-addressed store, hash-verified

125 }
126
127 private _write(s: string) {
128 if (this._isStartOfLine) {
129 this._result.push(this._currentIndention);
130 }
131 this._result.push(s);
132 this._isStartOfLine = false;
133 }
134
135 private _writeLine(s: string | null = null) {
136 if (s) {

Callers 2

writeNodeMethod · 0.95
_writeLineMethod · 0.95

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected