* Gets the names of all files from the program
(state, programOfThisState)
| 119943 | * Gets the names of all files from the program |
| 119944 | */ |
| 119945 | function getAllFileNames(state, programOfThisState) { |
| 119946 | if (!state.allFileNames) { |
| 119947 | var sourceFiles = programOfThisState.getSourceFiles(); |
| 119948 | state.allFileNames = sourceFiles === ts.emptyArray ? ts.emptyArray : sourceFiles.map(function (file) { return file.fileName; }); |
| 119949 | } |
| 119950 | return state.allFileNames; |
| 119951 | } |
| 119952 | /** |
| 119953 | * Gets the files referenced by the the file path |
| 119954 | */ |
no test coverage detected