INNER CODE UNIT · TypeScript

transformFile

dotnet-websharper/core · src/compiler/WebSharper.TypeScriptParser/app.ts:506

function transformFile(x: ts.SourceFile): TSFile {
  console.log("Found file: ", x.fileName)
  return {
    Name: x.fileName,
    Statements: x.statements.map(transformStatement).filter(x => x != null)
  }
}

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…