(fileName: string)
| 420 | } |
| 421 | |
| 422 | async dumpSymbolsWithComments(fileName: string): Promise<DumpedSymbolsWithComments> { |
| 423 | const openedFile = this.getOpenedFile(fileName); |
| 424 | |
| 425 | const references: AST.TypeReference[] = []; |
| 426 | |
| 427 | const astReferences: AST.TypeReferences = { |
| 428 | typeChecker: openedFile.workspaceProject.typeChecker, |
| 429 | references: references, |
| 430 | }; |
| 431 | |
| 432 | const dumpedSymbols = dumpRootNodes(openedFile.sourceFile, astReferences); |
| 433 | |
| 434 | return { |
| 435 | dumpedSymbols, |
| 436 | references, |
| 437 | }; |
| 438 | } |
| 439 | |
| 440 | async getInterfaceAST(fileName: string, position: number): Promise<DumpedInterface> { |
| 441 | const openedFile = this.getOpenedFile(fileName); |
nothing calls this directly
no test coverage detected