Home
last modified time | relevance | path

Searched refs:createSession (Results 1 – 25 of 60) sorted by relevance

123

/third_party/typescript/src/testRunner/unittests/tsserver/
DwatchEnvironment.ts29 const session = createSession(host, { logger: createLoggerWithInMemoryLogs(host) });
83 const session = createSession(host, { logger: createLoggerWithInMemoryLogs(host) });
117 const session = createSession(host, { logger: createLoggerWithInMemoryLogs(host) });
176 const session = createSession(host, { logger });
190 const session = createSession(host, { logger });
211 const session = createSession(host, { logger });
232 const session = createSession(host, { logger });
257 const session = createSession(host, { logger });
274 const session = createSession(host, { logger });
291 const session = createSession(host, { logger });
[all …]
DcompileOnSave.ts99 const session = createSession(host, { typingsInstaller });
124 const session = createSession(host, { typingsInstaller });
171 const session = createSession(host, { typingsInstaller });
187 const session = createSession(host, { typingsInstaller });
201 const session = createSession(host, { typingsInstaller });
237 const session = createSession(host, { typingsInstaller });
254 const session = createSession(host, { typingsInstaller });
280 const session = createSession(host, { typingsInstaller });
298 const session = createSession(host, { typingsInstaller });
320 const session = createSession(host, { typingsInstaller });
[all …]
DskipLibCheck.ts21 const session = createSession(host);
57 const session = createSession(host);
93 const session = createSession(host);
133 const session = createSession(host);
161 const session = createSession(host);
188 const session = createSession(host);
217 const session = createSession(host);
DprojectReferenceCompileOnSave.ts43 … const session = createSession(host, { logger: createLoggerWithInMemoryLogs(host) });
67 … const session = createSession(host, { logger: createLoggerWithInMemoryLogs(host) });
91 … const session = createSession(host, { logger: createLoggerWithInMemoryLogs(host) });
121 … const session = createSession(host, { logger: createLoggerWithInMemoryLogs(host) });
151 … const session = createSession(host, { logger: createLoggerWithInMemoryLogs(host) });
192 … const session = createSession(host, { logger: createLoggerWithInMemoryLogs(host) });
233 … const session = createSession(host, { logger: createLoggerWithInMemoryLogs(host) });
263 … const session = createSession(host, { logger: createLoggerWithInMemoryLogs(host) });
293 … const session = createSession(host, { logger: createLoggerWithInMemoryLogs(host) });
334 … const session = createSession(host, { logger: createLoggerWithInMemoryLogs(host) });
[all …]
DprojectErrors.ts38 const session = createSession(host);
91 const session = createSession(host);
235 …const session = createSession(host, { canUseEvents: true, logger: createLoggerWithInMemoryLogs(hos…
283 …const session = createSession(host, { canUseEvents: true, logger: createLoggerWithInMemoryLogs(hos…
304 …const session = createSession(host, { canUseEvents: true, logger: createLoggerWithInMemoryLogs(hos…
332 …const session = createSession(host, { useInferredProjectPerProjectRoot: true, canUseEvents: true, …
370 …const session = createSession(host, { canUseEvents: true, logger: createLoggerWithInMemoryLogs(hos…
433 …const session = createSession(host, { canUseEvents: true, logger: createLoggerWithInMemoryLogs(hos…
450 …const session = createSession(host, { canUseEvents: true, logger: createLoggerWithInMemoryLogs(hos…
468 …const session = createSession(host, { canUseEvents: true, logger: createLoggerWithInMemoryLogs(hos…
[all …]
DnavTo.ts21 const session = createSession(host);
64 const session = createSession(host, { logger: createLoggerWithInMemoryLogs(host) });
110 const session = createSession(host, { logger: createLoggerWithInMemoryLogs(host) });
128 const session = createSession(host);
Drefactors.ts9 const session = createSession(host);
67 const session = createSession(createServerHost([aTs, tsconfig]));
123 const session = createSession(createServerHost([aTs, tsconfig]));
DforceConsistentCasingInFileNames.ts34 const session = createSession(host);
62 …const session = createSession(host, { canUseEvents: true, logger: createLoggerWithInMemoryLogs(hos…
111 …const session = createSession(host, { canUseEvents: true, logger: createLoggerWithInMemoryLogs(hos…
DpartialSemanticServer.ts29 const session = createSession(host, {
98 const session = createSession(host, {
163 const session = createSession(host, {
207 …const session = createSession(host, { serverMode: LanguageServiceMode.PartialSemantic, useSingleIn…
DprojectReferences.ts29 const session = createSession(host, { logger: createLoggerWithInMemoryLogs(host) });
60 const session = createSession(host, { logger: createLoggerWithInMemoryLogs(host) });
77 const session = createSession(host, { logger: createLoggerWithInMemoryLogs(host) });
167 const session = createSession(host, { logger: createLoggerWithInMemoryLogs(host) });
344 …const session = createSession(host, { canUseEvents: true, logger: createLoggerWithInMemoryLogs(hos…
495 …const session = createSession(host, { canUseEvents: true, logger: createLoggerWithInMemoryLogs(hos…
565 const session = createSession(host, { logger: createLoggerWithInMemoryLogs(host) });
685 const session = createSession(host, { logger: createLoggerWithInMemoryLogs(host) });
759 … const session = createSession(host, { logger: createLoggerWithInMemoryLogs(host) });
877 const session = createSession(host, { logger: createLoggerWithInMemoryLogs(host) });
[all …]
DmetadataInResponse.ts136 const session = createSession(host);
146 const session = createSession(host);
167 const session = createSession(host);
Drename.ts7 const session = createSession(createServerHost([aTs, bTs]));
75 const session = createSession(host);
181 const session = createSession(createServerHost([aTs, bTs]));
218 const session = createSession(host);
DresolutionCache.ts81 const session = createSession(host, { logger: createLoggerWithInMemoryLogs(host) });
111 …const session = createSession(host, { canUseEvents: true, logger: createLoggerWithInMemoryLogs(hos…
143 …const session = createSession(host, { canUseEvents: true, logger: createLoggerWithInMemoryLogs(hos…
162 …const session = createSession(host, { canUseEvents: true, logger: createLoggerWithInMemoryLogs(hos…
188 …const session = createSession(host, { canUseEvents: true, suppressDiagnosticEvents: true, logger: …
229 const session = createSession(host, { logger: createLoggerWithInMemoryLogs(host) });
272 const session = createSession(host, { logger: createLoggerWithInMemoryLogs(host) });
DgetEditsForFileRename.ts57 const session = createSession(host);
86 const session = createSession(host);
DcancellationToken.ts32 const session = createSession(host, { cancellationToken });
72 const session = createSession(host, {
219 const session = createSession(host, {
DjsdocTag.ts22 const session = createSession(createServerHost([file, config]));
287 const session = createSession(createServerHost([linkInParamTag, config]));
539 const session = createSession(createServerHost([linkInParamJSDoc, config]));
786 const session = createSession(host);
Dprojects.ts10 const session = createSession(host, { logger: createLoggerWithInMemoryLogs(host) });
673 const session = createSession(host);
740 let session = createSession(host);
762 session = createSession(host);
781 session = createSession(host);
800 session = createSession(host);
819 session = createSession(host);
1008 const session = createSession(host, { logger: createLoggerWithInMemoryLogs(host) });
1077 const session = createSession(host, { logger: createLoggerWithInMemoryLogs(host) });
1138 const session = createSession(host);
[all …]
DprojectReferencesSourcemap.ts194 …function setupWith(createSession: CreateSessionFn, openFiles: readonly File[], onHostCreate: OnHos…
195 const result = createSession(onHostCreate);
200 … function setupWithMainTs(createSession: CreateSessionFn, onHostCreate: OnHostCreate | undefined) {
201 return setupWith(createSession, [mainTs, randomFile], onHostCreate);
204 …function setupWithDependencyTs(createSession: CreateSessionFn, onHostCreate: OnHostCreate | undefi…
205 return setupWith(createSession, [dependencyTs, randomFile], onHostCreate);
208 …function setupWithMainTsAndDependencyTs(createSession: CreateSessionFn, onHostCreate: OnHostCreate…
209 return setupWith(createSession, [mainTs, dependencyTs, randomFile], onHostCreate);
219 const session = createSession(host, { logger: createLoggerWithInMemoryLogs(host) });
226 const session = createSession(host, { logger: createLoggerWithInMemoryLogs(host) });
[all …]
Dcompletions.ts17 const session = createSession(createServerHost([aTs, bTs, tsconfig]));
184 const session = createSession(createServerHost([aTs, bTs, tsconfig]));
382 const session = createSession(host, {
Dplugins.ts82 const session = createSession(host);
134 const session = createSession(host, { logger: createLoggerWithInMemoryLogs(host) });
DsyntacticServer.ts29 …const session = createSession(host, { syntaxOnly: true, useSingleInferredProject: true, logger: cr…
142 … const session = createSession(host, { syntaxOnly: true, useSingleInferredProject: true });
Dreload.ts13 const session = createSession(host);
60 const session = createSession(host);
DsymLinks.ts43 const session = createSession(host, { logger: createLoggerWithInMemoryLogs(host) });
109 …const session = createSession(host, { canUseEvents: true, logger: createLoggerWithInMemoryLogs(hos…
/third_party/typescript/src/testRunner/unittests/tsserver/events/
DprojectLoading.ts15 function verifyProjectLoadingStartAndFinish(createSession: (host: TestServerHost) => {
24 … const { session, getNumberOfEvents, clearEvents, verifyProjectLoadEvents } = createSession(host);
158 function createSession(lazyConfiguredProjectsFromExternalProject: boolean) { function
177 … const { verifyEvent } = createSession(/*lazyConfiguredProjectsFromExternalProject*/ false);
182 …const { verifyEvent, getNumberOfEvents, session } = createSession(/*lazyConfiguredProjectsFromExte…
190 …const { verifyEvent, getNumberOfEvents, service } = createSession(/*lazyConfiguredProjectsFromExte…
DprojectUpdatedInBackground.ts31 …function verifyProjectsUpdatedInBackgroundEvent(scenario: string, createSession: (host: TestServer…
51 … const { verifyProjectsUpdatedInBackgroundEventHandler, verifyInitialOpen } = createSession(host);
94 … const { verifyInitialOpen, verifyProjectsUpdatedInBackgroundEventHandler } = createSession(host);
182 … session, verifyProjectsUpdatedInBackgroundEventHandler, verifyInitialOpen } = createSession(host);
440 … verifyInitialOpen, verifyProjectsUpdatedInBackgroundEventHandler } = createSession(host, createLo…

123