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

Function print

packages/transpiler/src/AstPrinterBase.ts:21–29  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

19 }
20
21 public print() {
22 fs.mkdirSync(path.dirname(this._sourceFile.fileName), { recursive: true });
23 try {
24 this._source = '';
25 this.writeSourceFile(this._sourceFile);
26 } finally {
27 fs.writeFileSync(this._sourceFile.fileName, this._source);
28 }
29 }
30
31 protected abstract writeSourceFile(sourceFile: cs.SourceFile): void;
32

Callers 3

_printPlatformInfoMethod · 0.85
_printPlatformInfoMethod · 0.85
_printPlatformInfoMethod · 0.85

Calls 1

writeSourceFileMethod · 0.45

Tested by

no test coverage detected