Source symbols: extensions/typescript-language-features/src/tsServer/server.ts
Deterministic, value-free symbol metadata extracted from public source. Implementations and literal values are not copied into this page.
- Revision: main@0b8aecc9797195d109bf60817ebc6b174eb252e1 · 2026-07-20T15:21:55Z
- Declarations: 47
- Referenced calls: 67
Declared symbols
ExecutionTarget— exported enum at line 25TypeScriptServerExitEvent— exported interface at line 30TsServerLog— exported type at line 35ITypeScriptServer— exported interface at line 39; referenceskill,executeImpl,disposeTsServerDelegate— exported interface at line 57; referencesonFatalErrorenum— exported const at line 61TsServerProcessFactory— exported interface at line 68; referencesforkTsServerProcess— exported interface at line 80; referenceswrite,onData,onExit,onError,killSingleTsServer— exported class at line 90; referencesRequestQueue,constructor,super,onData,dispatchMessage,onExit,fire,destroy,onError,_register,tsServerLog,write,dispose,clear,kill,dispatchResponse,fetch,traceRequestCompleted,onSuccess,traceEventevent— const at line 162; referencesfetch,traceRequestCompleted,onSuccess,fire,traceEventseq— const at line 164; referencesfetch,traceRequestCompleted,onSuccesscallback— const at line 165; referencesfetch,traceRequestCompleted,onSuccessseq— const at line 188; referencespeek,logTraceEvent,stringifycallback— const at line 189; referencespeek,logTraceEvent,stringifycallback— const at line 204; referencesfetchCallback,onSuccess,Cancelled,dispatchResponse,logTraceEvent,stringify,traceResponse,onError,createcallback— const at line 210; referencesfetchCallbackrequest— const at line 229; referencescreateRequest,getQueueingTyperequestInfo— const at line 230; referencesgetQueueingTyperesult— let at line 236; referencesnow,add,isWebAndHasSharedArrayBuffers,addData,onCancellationRequested,tryCancelRequest,logTelemetryitem— const at line 239; referencesnowcancelViaSAB— const at line 257; referencesisWebAndHasSharedArrayBuffers,addData,onCancellationRequested,tryCancelRequesttraceId— const at line 287; referencesgetQueuedCommands,getPendingCommands,logTraceEvent,stringifyqueueLength— const at line 289pendingResponses— const at line 290data— const at line 291result— const at line 311; referencesfor,peek,pushcallback— const at line 313; referencespeekitem— const at line 327; referencesdequeue,sendRequestserverRequest— const at line 335; referencestraceRequest,addcallback— const at line 348; referencesfetchCallback,onError,fetch,deletecallback— const at line 354; referencesfetchExecuteInfo— interface at line 381RequestRouter— class at line 389; referencesconstructor,execute,has,CancellationTokenSource,onCancellationRequested,some,cancel,for,executeImpl,push,find,onFatalError,Errored,canRun,ErrorrequestStates— const at line 415; referencesCancellationTokenSource,onCancellationRequested,some,canceltoken— let at line 418; referencesCancellationTokenSource,onCancellationRequested,some,cancelsource— const at line 420; referencesCancellationTokenSource,onCancellationRequested,some,cancelallRequests— const at line 433; referencesfor,executeImpl,push,find,onFatalError,Errored,someserver— const at line 436; referencesexecuteImplrequest— const at line 438; referencesexecuteImplerroredRequest— const at line 444; referencesfind,onFatalErrorGetErrRoutingTsServer— exported class at line 474; referencesconstructor,super,RequestRouter,includes,_register,onEvent,has,fire,onError,onExit,kill,tsServerLog,executeImpl,executeSyntaxRoutingTsServer— exported class at line 547; referencesconstructor,super,RequestRouter,has,_register,onEvent,fire,onExit,kill,onError,projectLoading,tsServerLog,executeImpl,executeenum— exported const at line 688Unresolved— exported const at line 690Resolved— exported const at line 692Errored— exported class at line 694; referencesconstructorState— exported type at line 702
Imported modules
@vscode/sync-api-common/lib/common/messageCancellationvscode../commands/tsserverRequests../configuration/configuration../logging/telemetry../logging/tracer../tsServer/callbackMap../tsServer/requestQueue../tsServer/serverError../typescriptService../utils/dispose../utils/platform./cancellation./nodeManager./protocol/protocol./protocol/protocol.const./versionManager./versionProvider
File-level call references
kill— line 46executeImpl— line 52dispose— line 54onFatalError— line 58fork— line 69write— line 81onData— line 83onExit— line 84onError— line 85RequestQueue— line 91constructor— line 95super— line 105dispatchMessage— line 108fire— line 112destroy— line 113_register— line 122tsServerLog— line 131clear— line 140dispatchResponse— line 152fetch— line 165traceRequestCompleted— line 167onSuccess— line 168traceEvent— line 174Error— line 180sendNextRequests— line 183tryCancelRequest— line 187peek— line 189logTraceEvent— line 191stringify— line 191tryDeletePendingRequest— line 194logTrace— line 195tryCancelOngoingRequest— line 198fetchCallback— line 204Cancelled— line 205traceResponse— line 217create— line 224createRequest— line 229getQueueingType— line 234now— line 243add— line 254isWebAndHasSharedArrayBuffers— line 257addData— line 258onCancellationRequested— line 261logTelemetry— line 278enqueue— line 286getQueuedCommands— line 297getPendingCommands— line 300for— line 312push— line 317dequeue— line 327sendRequest— line 329traceRequest— line 336delete— line 359trace— line 364Set— line 367has— line 373execute— line 407CancellationTokenSource— line 420some— line 422cancel— line 428find— line 444Errored— line 451canRun— line 465RequestRouter— line 496includes— line 498onEvent— line 503projectLoading— line 664
Source: extensions/typescript-language-features/src/tsServer/server.ts