@@ -718,8 +718,9 @@ export class ProjectService {
718
718
719
719
/**
720
720
* Container of all known scripts
721
+ *
722
+ * @internal
721
723
*/
722
- /** @internal */
723
724
readonly filenameToScriptInfo = new Map < string , ScriptInfo > ( ) ;
724
725
private readonly nodeModulesWatchers = new Map < string , NodeModulesWatcher > ( ) ;
725
726
/**
@@ -733,8 +734,9 @@ export class ProjectService {
733
734
734
735
/**
735
736
* Map to the real path of the infos
737
+ *
738
+ * @internal
736
739
*/
737
- /** @internal */
738
740
readonly realpathToScriptInfos : MultiMap < Path , ScriptInfo > | undefined ;
739
741
/**
740
742
* maps external project file name to list of config files that were the part of this project
@@ -786,8 +788,11 @@ export class ProjectService {
786
788
* In this case the exists could be true/false based on config file is present or not
787
789
* - Or it is present if we have configured project open with config file at that location
788
790
* In this case the exists property is always true
791
+ *
792
+ *
793
+ * @internal
789
794
*/
790
- /** @internal */ readonly configFileExistenceInfoCache = new Map < NormalizedPath , ConfigFileExistenceInfo > ( ) ;
795
+ readonly configFileExistenceInfoCache = new Map < NormalizedPath , ConfigFileExistenceInfo > ( ) ;
791
796
/** @internal */ readonly throttledOperations : ThrottledOperations ;
792
797
793
798
private readonly hostConfiguration : HostConfiguration ;
@@ -1344,8 +1349,9 @@ export class ProjectService {
1344
1349
1345
1350
/**
1346
1351
* This is to watch whenever files are added or removed to the wildcard directories
1352
+ *
1353
+ * @internal
1347
1354
*/
1348
- /** @internal */
1349
1355
private watchWildcardDirectory ( directory : Path , flags : WatchDirectoryFlags , configFileName : NormalizedPath , config : ParsedConfig ) {
1350
1356
return this . watchFactory . watchDirectory (
1351
1357
directory ,
@@ -1774,8 +1780,9 @@ export class ProjectService {
1774
1780
/**
1775
1781
* Close the config file watcher in the cached ConfigFileExistenceInfo
1776
1782
* if there arent any open files that are root of inferred project and there is no parsed config held by any project
1783
+ *
1784
+ * @internal
1777
1785
*/
1778
- /** @internal */
1779
1786
private closeConfigFileWatcherOnReleaseOfOpenFile ( configFileExistenceInfo : ConfigFileExistenceInfo ) {
1780
1787
// Close the config file watcher if there are no more open files that are root of inferred project
1781
1788
// or if there are no projects that need to watch this config file existence info
@@ -1822,8 +1829,9 @@ export class ProjectService {
1822
1829
1823
1830
/**
1824
1831
* This is called by inferred project whenever script info is added as a root
1832
+ *
1833
+ * @internal
1825
1834
*/
1826
- /** @internal */
1827
1835
startWatchingConfigFilesForInferredProjectRoot ( info : ScriptInfo ) {
1828
1836
Debug . assert ( info . isScriptOpen ( ) ) ;
1829
1837
this . forEachConfigFileLocation ( info , ( canonicalConfigFilePath , configFileName ) => {
@@ -1852,8 +1860,9 @@ export class ProjectService {
1852
1860
1853
1861
/**
1854
1862
* This is called by inferred project whenever root script info is removed from it
1863
+ *
1864
+ * @internal
1855
1865
*/
1856
- /** @internal */
1857
1866
stopWatchingConfigFilesForInferredProjectRoot ( info : ScriptInfo ) {
1858
1867
this . forEachConfigFileLocation ( info , canonicalConfigFilePath => {
1859
1868
const configFileExistenceInfo = this . configFileExistenceInfoCache . get ( canonicalConfigFilePath ) ;
@@ -2168,8 +2177,9 @@ export class ProjectService {
2168
2177
2169
2178
/**
2170
2179
* Read the config file of the project, and update the project root file names.
2180
+ *
2181
+ * @internal
2171
2182
*/
2172
- /** @internal */
2173
2183
private loadConfiguredProject ( project : ConfiguredProject , reason : string ) {
2174
2184
tracing ?. push ( tracing . Phase . Session , "loadConfiguredProject" , { configFilePath : project . canonicalConfigFilePath } ) ;
2175
2185
this . sendProjectLoadingStartEvent ( project , reason ) ;
@@ -2434,8 +2444,9 @@ export class ProjectService {
2434
2444
2435
2445
/**
2436
2446
* Reload the file names from config file specs and update the project graph
2447
+ *
2448
+ * @internal
2437
2449
*/
2438
- /** @internal */
2439
2450
reloadFileNamesOfConfiguredProject ( project : ConfiguredProject ) {
2440
2451
const fileNames = this . reloadFileNamesOfParsedConfig ( project . getConfigFilePath ( ) , this . configFileExistenceInfoCache . get ( project . canonicalConfigFilePath ) ! . config ! ) ;
2441
2452
project . updateErrorOnNoInputFiles ( fileNames ) ;
@@ -2466,8 +2477,9 @@ export class ProjectService {
2466
2477
2467
2478
/**
2468
2479
* Read the config file of the project again by clearing the cache and update the project graph
2480
+ *
2481
+ * @internal
2469
2482
*/
2470
- /** @internal */
2471
2483
reloadConfiguredProject ( project : ConfiguredProject , reason : string , isInitialLoad : boolean , clearSemanticCache : boolean ) {
2472
2484
// At this point, there is no reason to not have configFile in the host
2473
2485
const host = project . getCachedDirectoryStructureHost ( ) ;
@@ -2632,8 +2644,9 @@ export class ProjectService {
2632
2644
/**
2633
2645
* Returns the projects that contain script info through SymLink
2634
2646
* Note that this does not return projects in info.containingProjects
2647
+ *
2648
+ * @internal
2635
2649
*/
2636
- /** @internal */
2637
2650
getSymlinkedProjects ( info : ScriptInfo ) : MultiMap < Path , Project > | undefined {
2638
2651
let projects : MultiMap < Path , Project > | undefined ;
2639
2652
if ( this . realpathToScriptInfos ) {
@@ -4149,8 +4162,9 @@ export class ProjectService {
4149
4162
4150
4163
/**
4151
4164
* Waits for any ongoing plugin enablement requests to complete.
4165
+ *
4166
+ * @internal
4152
4167
*/
4153
- /** @internal */
4154
4168
async waitForPendingPlugins ( ) {
4155
4169
while ( this . currentPluginEnablementPromise ) {
4156
4170
await this . currentPluginEnablementPromise ;
@@ -4159,8 +4173,9 @@ export class ProjectService {
4159
4173
4160
4174
/**
4161
4175
* Starts enabling any requested plugins without waiting for the result.
4176
+ *
4177
+ * @internal
4162
4178
*/
4163
- /** @internal */
4164
4179
enableRequestedPlugins ( ) {
4165
4180
if ( this . pendingPluginEnablements ) {
4166
4181
void this . enableRequestedPluginsAsync ( ) ;
0 commit comments