Some checks failed
Run mypy_primer on push / Run mypy_primer on push (push) Has been cancelled
Validation / Typecheck (push) Has been cancelled
Validation / Style (push) Has been cancelled
Validation / Test macos-latest (push) Has been cancelled
Validation / Test ubuntu-latest (push) Has been cancelled
Validation / Test windows-latest (push) Has been cancelled
Validation / Build (push) Has been cancelled
Validation / Required (push) Has been cancelled
44 KiB
44 KiB
Shared Runtime Infrastructure
Feature path: Shared Runtime Infrastructure
Implementation summary
- Files: 63
- Symbols: 775
Primary files
These are the main implementation files attached to this semantic node.
| File | Summary |
|---|---|
| packages/pyright/packages/pyright-internal/src/analyzer/sentinel.ts | Produces a PEP 661 Sentinel class instance type for sentinel declarations during type evaluation |
| packages/pyright/packages/pyright-internal/src/analyzer/tracePrinter.ts | Converts AST nodes, declarations, symbols, and types into concise string representations |
| packages/pyright/packages/pyright-internal/src/backgroundAnalysis.ts | Provides classes to spawn and coordinate Pyright background analysis workers and runners |
| packages/pyright/packages/pyright-internal/src/backgroundAnalysisBase.ts | Runs the analyzer in a background worker and manages program views, diagnostics, and result serialization |
| packages/pyright/packages/pyright-internal/src/backgroundThreadBase.ts | Provides background thread classes and helpers for message serialization, logging, and cancellation |
| packages/pyright/packages/pyright-internal/src/common/asyncInitialization.ts | Initializes runtime dependencies for Pyright, including TOML support and production source-map support |
| packages/pyright/packages/pyright-internal/src/common/cancellationUtils.ts | Cancellation utilities: combining tokens, file-based tokens, throttling, timeouts, and cancellation-aware racing |
| packages/pyright/packages/pyright-internal/src/common/caseSensitivityDetector.ts | Determines whether a given URI should be treated as case-sensitive |
| packages/pyright/packages/pyright-internal/src/common/charCodes.ts | Defines Char enum mapping descriptive names to numeric character codes for ASCII and select Unicode spaces |
| packages/pyright/packages/pyright-internal/src/common/chokidarFileWatcherProvider.ts | Chokidar-based FileWatcherProvider that watches filesystem paths and emits file events |
| packages/pyright/packages/pyright-internal/src/common/collectionUtils.ts | Provides utility helpers for arrays and maps, including searching, sorting, transforming, and mutating collections |
| packages/pyright/packages/pyright-internal/src/common/console.ts | Provides a logging abstraction with levels, multiple console implementations, chaining, cloning, and disposable support |
| packages/pyright/packages/pyright-internal/src/common/core.ts | Utility helpers and type guards for core operations like comparisons, type checks, cloning, and promise detection |
| packages/pyright/packages/pyright-internal/src/common/crypto.ts | Generates cryptographically secure random hex strings using Node or Web Crypto, failing if unavailable |
| packages/pyright/packages/pyright-internal/src/common/debug.ts | Assertion and debugging utilities: assertions, error/enum formatting, function name and serializable-error helpers |
| packages/pyright/packages/pyright-internal/src/common/deferred.ts | Provides Deferred promise utilities with resolve/reject/completion state and helpers to create from promises |
| packages/pyright/packages/pyright-internal/src/common/docRange.ts | Represents a document's URI together with a text range inside that document |
| packages/pyright/packages/pyright-internal/src/common/docStringService.ts | Provides an interface and Pyright implementation to convert docstrings and extract parameter and attribute docs |
| packages/pyright/packages/pyright-internal/src/common/editAction.ts | Defines interfaces and helpers for text and file edit actions and file create/delete/rename operations |
| packages/pyright/packages/pyright-internal/src/common/envVarUtils.ts | Expands VS Code-style path variables and resolves the result to a Uri using workspace roots and environment variables |
| packages/pyright/packages/pyright-internal/src/common/extensibility.ts | Defines interfaces for program views, mutators, symbol providers, and other language service extensibility APIs |
| packages/pyright/packages/pyright-internal/src/common/extensions.ts | Adds a Promise.ignoreErrors extension that logs and ignores promise rejections |
| packages/pyright/packages/pyright-internal/src/common/fileBasedCancellationUtils.ts | File-based cancellation utilities and a provider for creating filesystem-backed cancellation tokens |
| packages/pyright/packages/pyright-internal/src/common/fileSystem.ts | File system provider interfaces and a virtual Dirent class for pluggable real or virtual file systems |
| packages/pyright/packages/pyright-internal/src/common/fileWatcher.ts | File watcher types, null implementations, and a helper to filter ignored filesystem watch events |
| packages/pyright/packages/pyright-internal/src/common/fullAccessHost.ts | Host for executing Python interpreters and external processes to get search paths, versions, and run code |
| packages/pyright/packages/pyright-internal/src/common/host.ts | Provides host environment abstractions: Host interface, HostKind, script/process types, and NoAccessHost implementation |
| packages/pyright/packages/pyright-internal/src/common/languageInfoUtils.ts | Provides utilities to dump and format token syntax and type information for debugging and MCP tools |
| packages/pyright/packages/pyright-internal/src/common/languageServerInterface.ts | Language server interfaces and types for settings, window/command services, workspace and background analysis |
| packages/pyright/packages/pyright-internal/src/common/logTracker.ts | Tracks nested logging blocks, measures durations and parsing stats, and emits conditional formatted console logs |
| packages/pyright/packages/pyright-internal/src/common/lspUtils.ts | Helper utilities for LSP: convert LSPAny, map declarations to SymbolKind, and detect null progress reporters |
| packages/pyright/packages/pyright-internal/src/common/memUtils.ts | Exports helpers for V8 heap statistics and total/free system memory |
| packages/pyright/packages/pyright-internal/src/common/pathConsts.ts | Exports string constants for common Python filesystem paths and filenames |
| packages/pyright/packages/pyright-internal/src/common/pathUtils.ts | Utilities for manipulating, normalizing, and matching filesystem paths, filenames, and wildcard file specs |
| packages/pyright/packages/pyright-internal/src/common/positionUtils.ts | Converts between file offsets and line/column positions, ranges, and line end locations |
| packages/pyright/packages/pyright-internal/src/common/processUtils.ts | Terminates processes and their child process trees across platforms |
| packages/pyright/packages/pyright-internal/src/common/progressReporter.ts | Provides an interface and a tracker that manages and delegates progress reporting for a language server client |
| packages/pyright/packages/pyright-internal/src/common/pythonVersion.ts | Defines PythonVersion type with parsing, stringifying, comparison helpers and predefined Python 3.x version constants |
| packages/pyright/packages/pyright-internal/src/common/realFileSystem.ts | Provides real filesystem access, temp file handling, ZIP/egg archive support, and file watching integration for Pyright |
| packages/pyright/packages/pyright-internal/src/common/serviceKeys.ts | Provides ServiceKey and GroupServiceKey constants for registering core analyzer and language-server services |
| packages/pyright/packages/pyright-internal/src/common/serviceProvider.ts | Registry for singleton and group services with add, remove, get, clone, and dispose operations |
| packages/pyright/packages/pyright-internal/src/common/serviceProviderExtensions.ts | ServiceProvider extensions offering accessors and a default SourceFileFactory for common services |
| packages/pyright/packages/pyright-internal/src/common/streamUtils.ts | Provides helpers to read all stdin as a Buffer or as a string |
| packages/pyright/packages/pyright-internal/src/common/stringUtils.ts | Utility functions for string comparison, hashing, searching, counting, truncation, and escaping |
| packages/pyright/packages/pyright-internal/src/common/textEditTracker.ts | Tracks and manages per-file text edits, merging overlapping edits and recording node removals |
| packages/pyright/packages/pyright-internal/src/common/textRange.ts | Defines types and utilities for text ranges, positions, and document ranges |
| packages/pyright/packages/pyright-internal/src/common/textRangeCollection.ts | Maintains an ordered collection of text ranges and provides fast index and lookup utilities |
| packages/pyright/packages/pyright-internal/src/common/timing.ts | Duration and timing utilities that record, aggregate, and print operation runtimes |
| packages/pyright/packages/pyright-internal/src/common/tomlUtils.ts | Provides TOML parsing utilities to convert TOML strings into JavaScript primitive objects |
| packages/pyright/packages/pyright-internal/src/common/uri/baseUri.ts | Defines an abstract BaseUri class representing URIs and providing common path and extension utilities |
| packages/pyright/packages/pyright-internal/src/common/uri/constantUri.ts | Immutable marker URI type with no filesystem semantics and identity-based equality |
| packages/pyright/packages/pyright-internal/src/common/uri/emptyUri.ts | Defines a singleton EmptyUri class representing an empty URI value |
| packages/pyright/packages/pyright-internal/src/common/uri/fileUri.ts | Represents file-schemed URIs for filesystem paths and provides path, query, fragment, and resolution utilities |
| packages/pyright/packages/pyright-internal/src/common/uri/memoization.ts | Provides decorators to memoize property getters, no-arg instance methods, and static methods with LRU caching |
| packages/pyright/packages/pyright-internal/src/common/uri/uri.ts | Manages URI creation, parsing, normalization, and helpers for file, web, constant, and empty URI types |
| packages/pyright/packages/pyright-internal/src/common/uri/uriInterface.ts | Uri interface for representing and manipulating URIs, including path, fragment, query, and extension helpers |
| packages/pyright/packages/pyright-internal/src/common/uri/uriMap.ts | Map keyed by Uri for storing and iterating Uri-to-value mappings |
| packages/pyright/packages/pyright-internal/src/common/uri/uriUtils.ts | Utilities for URI and filesystem operations, including wildcard file specs, directory entries, and path helpers |
| packages/pyright/packages/pyright-internal/src/common/uri/webUri.ts | Implements a WebUri class representing non-file URIs and exposing path, query, fragment, and manipulation methods |
| packages/pyright/packages/pyright-internal/src/common/workspaceEditUtils.ts | Converts Pyright file edit actions to LSP WorkspaceEdit objects and applies edits to an EditableProgram |
| packages/pyright/packages/pyright-internal/src/pprof/profiler.ts | Starts and stops Datadog pprof CPU profiling and saves encoded profiles to disk |
| packages/pyright/packages/pyright-internal/src/readonlyAugmentedFileSystem.ts | Provides a read-only augmented FileSystem that overlays mapped directories onto a backing FileSystem |
| packages/pyright/packages/pyright-internal/src/types.ts | Exports types describing language server client capabilities and initialization options |
Symbol preview (40 of 775)
Dependencies
Imported by:
packages/pyright/packages/pyright-internal/src/analyzer/analysis.tspackages/pyright/packages/pyright-internal/src/analyzer/analyzerFileInfo.tspackages/pyright/packages/pyright-internal/src/analyzer/backgroundAnalysisProgram.tspackages/pyright/packages/pyright-internal/src/analyzer/binder.tspackages/pyright/packages/pyright-internal/src/analyzer/cacheManager.tspackages/pyright/packages/pyright-internal/src/analyzer/cellChainIndex.tspackages/pyright/packages/pyright-internal/src/analyzer/checker.tspackages/pyright/packages/pyright-internal/src/analyzer/circularDependency.tspackages/pyright/packages/pyright-internal/src/analyzer/codeFlowEngine.tspackages/pyright/packages/pyright-internal/src/analyzer/codeFlowTypes.tspackages/pyright/packages/pyright-internal/src/analyzer/codeFlowUtils.tspackages/pyright/packages/pyright-internal/src/analyzer/commentUtils.tspackages/pyright/packages/pyright-internal/src/analyzer/constraintSolution.tspackages/pyright/packages/pyright-internal/src/analyzer/constraintTracker.tspackages/pyright/packages/pyright-internal/src/analyzer/constructorTransform.tspackages/pyright/packages/pyright-internal/src/analyzer/constructors.tspackages/pyright/packages/pyright-internal/src/analyzer/dataClasses.tspackages/pyright/packages/pyright-internal/src/analyzer/declaration.tspackages/pyright/packages/pyright-internal/src/analyzer/declarationUtils.tspackages/pyright/packages/pyright-internal/src/analyzer/decorators.tspackages/pyright/packages/pyright-internal/src/analyzer/deprecatedSymbols.tspackages/pyright/packages/pyright-internal/src/analyzer/enums.tspackages/pyright/packages/pyright-internal/src/analyzer/importResolver.tspackages/pyright/packages/pyright-internal/src/analyzer/importResolverFileSystem.tspackages/pyright/packages/pyright-internal/src/analyzer/importResolverTypes.tspackages/pyright/packages/pyright-internal/src/analyzer/importResult.tspackages/pyright/packages/pyright-internal/src/analyzer/importStatementUtils.tspackages/pyright/packages/pyright-internal/src/analyzer/namedTuples.tspackages/pyright/packages/pyright-internal/src/analyzer/operations.tspackages/pyright/packages/pyright-internal/src/analyzer/packageTypeReport.tspackages/pyright/packages/pyright-internal/src/analyzer/packageTypeVerifier.tspackages/pyright/packages/pyright-internal/src/analyzer/parameterUtils.tspackages/pyright/packages/pyright-internal/src/analyzer/parentDirectoryCache.tspackages/pyright/packages/pyright-internal/src/analyzer/parseTreeUtils.tspackages/pyright/packages/pyright-internal/src/analyzer/parseTreeWalker.tspackages/pyright/packages/pyright-internal/src/analyzer/patternMatching.tspackages/pyright/packages/pyright-internal/src/analyzer/program.tspackages/pyright/packages/pyright-internal/src/analyzer/programTypes.tspackages/pyright/packages/pyright-internal/src/analyzer/protocols.tspackages/pyright/packages/pyright-internal/src/analyzer/pyTypedUtils.tspackages/pyright/packages/pyright-internal/src/analyzer/pythonPathUtils.tspackages/pyright/packages/pyright-internal/src/analyzer/scope.tspackages/pyright/packages/pyright-internal/src/analyzer/service.tspackages/pyright/packages/pyright-internal/src/analyzer/serviceUtils.tspackages/pyright/packages/pyright-internal/src/analyzer/sourceEnumerator.tspackages/pyright/packages/pyright-internal/src/analyzer/sourceFile.tspackages/pyright/packages/pyright-internal/src/analyzer/sourceFileInfo.tspackages/pyright/packages/pyright-internal/src/analyzer/sourceFileInfoUtils.tspackages/pyright/packages/pyright-internal/src/analyzer/sourceMapper.tspackages/pyright/packages/pyright-internal/src/analyzer/sourceMapperUtils.tspackages/pyright/packages/pyright-internal/src/analyzer/staticExpressions.tspackages/pyright/packages/pyright-internal/src/analyzer/testWalker.tspackages/pyright/packages/pyright-internal/src/analyzer/typeCacheUtils.tspackages/pyright/packages/pyright-internal/src/analyzer/typeDocStringUtils.tspackages/pyright/packages/pyright-internal/src/analyzer/typeEvaluator.tspackages/pyright/packages/pyright-internal/src/analyzer/typeEvaluatorTypes.tspackages/pyright/packages/pyright-internal/src/analyzer/typeEvaluatorWithTracker.tspackages/pyright/packages/pyright-internal/src/analyzer/typeGuards.tspackages/pyright/packages/pyright-internal/src/analyzer/typePrinter.tspackages/pyright/packages/pyright-internal/src/analyzer/typeStubWriter.tspackages/pyright/packages/pyright-internal/src/analyzer/typeUtils.tspackages/pyright/packages/pyright-internal/src/analyzer/typeWalker.tspackages/pyright/packages/pyright-internal/src/analyzer/typedDicts.tspackages/pyright/packages/pyright-internal/src/analyzer/types.tspackages/pyright/packages/pyright-internal/src/analyzer/typeshedInfoProvider.tspackages/pyright/packages/pyright-internal/src/commands/commandController.tspackages/pyright/packages/pyright-internal/src/commands/createTypeStub.tspackages/pyright/packages/pyright-internal/src/commands/dumpFileDebugInfoCommand.tspackages/pyright/packages/pyright-internal/src/commands/quickActionCommand.tspackages/pyright/packages/pyright-internal/src/commands/restartServer.tspackages/pyright/packages/pyright-internal/src/common/commandLineOptions.tspackages/pyright/packages/pyright-internal/src/common/commandUtils.tspackages/pyright/packages/pyright-internal/src/common/configOptions.tspackages/pyright/packages/pyright-internal/src/common/diagnostic.tspackages/pyright/packages/pyright-internal/src/common/diagnosticSink.tspackages/pyright/packages/pyright-internal/src/languageServerBase.tspackages/pyright/packages/pyright-internal/src/languageService/analyzerServiceExecutor.tspackages/pyright/packages/pyright-internal/src/languageService/autoImporter.tspackages/pyright/packages/pyright-internal/src/languageService/callHierarchyProvider.tspackages/pyright/packages/pyright-internal/src/languageService/codeActionProvider.tspackages/pyright/packages/pyright-internal/src/languageService/completionProvider.tspackages/pyright/packages/pyright-internal/src/languageService/completionProviderUtils.tspackages/pyright/packages/pyright-internal/src/languageService/definitionProvider.tspackages/pyright/packages/pyright-internal/src/languageService/documentHighlightProvider.tspackages/pyright/packages/pyright-internal/src/languageService/documentSymbolCollector.tspackages/pyright/packages/pyright-internal/src/languageService/documentSymbolProvider.tspackages/pyright/packages/pyright-internal/src/languageService/dynamicFeature.tspackages/pyright/packages/pyright-internal/src/languageService/fileWatcherDynamicFeature.tspackages/pyright/packages/pyright-internal/src/languageService/hoverProvider.tspackages/pyright/packages/pyright-internal/src/languageService/importSorter.tspackages/pyright/packages/pyright-internal/src/languageService/navigationUtils.tspackages/pyright/packages/pyright-internal/src/languageService/pullDiagnosticsDynamicFeature.tspackages/pyright/packages/pyright-internal/src/languageService/quickActions.tspackages/pyright/packages/pyright-internal/src/languageService/referencesProvider.tspackages/pyright/packages/pyright-internal/src/languageService/renameProvider.tspackages/pyright/packages/pyright-internal/src/languageService/signatureHelpProvider.tspackages/pyright/packages/pyright-internal/src/languageService/symbolIndexer.tspackages/pyright/packages/pyright-internal/src/languageService/tooltipUtils.tspackages/pyright/packages/pyright-internal/src/languageService/workspaceSymbolProvider.tspackages/pyright/packages/pyright-internal/src/localization/localize.tspackages/pyright/packages/pyright-internal/src/nodeMain.tspackages/pyright/packages/pyright-internal/src/nodeServer.tspackages/pyright/packages/pyright-internal/src/parser/characterStream.tspackages/pyright/packages/pyright-internal/src/parser/characters.tspackages/pyright/packages/pyright-internal/src/parser/parseNodes.tspackages/pyright/packages/pyright-internal/src/parser/parser.tspackages/pyright/packages/pyright-internal/src/parser/stringTokenUtils.tspackages/pyright/packages/pyright-internal/src/parser/tokenizer.tspackages/pyright/packages/pyright-internal/src/parser/tokenizerTypes.tspackages/pyright/packages/pyright-internal/src/partialStubService.tspackages/pyright/packages/pyright-internal/src/pyright.tspackages/pyright/packages/pyright-internal/src/pyrightFileSystem.tspackages/pyright/packages/pyright-internal/src/server.tspackages/pyright/packages/pyright-internal/src/workspaceFactory.ts
Imports:
packages/pyright/packages/pyright-internal/src/analyzer/analysis.tspackages/pyright/packages/pyright-internal/src/analyzer/analyzerFileInfo.tspackages/pyright/packages/pyright-internal/src/analyzer/analyzerNodeInfo.tspackages/pyright/packages/pyright-internal/src/analyzer/backgroundAnalysisProgram.tspackages/pyright/packages/pyright-internal/src/analyzer/cacheManager.tspackages/pyright/packages/pyright-internal/src/analyzer/declaration.tspackages/pyright/packages/pyright-internal/src/analyzer/docStringConversion.tspackages/pyright/packages/pyright-internal/src/analyzer/docStringUtils.tspackages/pyright/packages/pyright-internal/src/analyzer/importLogger.tspackages/pyright/packages/pyright-internal/src/analyzer/importResolver.tspackages/pyright/packages/pyright-internal/src/analyzer/importResolverTypes.tspackages/pyright/packages/pyright-internal/src/analyzer/importStatementUtils.tspackages/pyright/packages/pyright-internal/src/analyzer/parseTreeUtils.tspackages/pyright/packages/pyright-internal/src/analyzer/parseTreeWalker.tspackages/pyright/packages/pyright-internal/src/analyzer/program.tspackages/pyright/packages/pyright-internal/src/analyzer/programTypes.tspackages/pyright/packages/pyright-internal/src/analyzer/pythonPathUtils.tspackages/pyright/packages/pyright-internal/src/analyzer/service.tspackages/pyright/packages/pyright-internal/src/analyzer/sourceFile.tspackages/pyright/packages/pyright-internal/src/analyzer/sourceMapper.tspackages/pyright/packages/pyright-internal/src/analyzer/symbol.tspackages/pyright/packages/pyright-internal/src/analyzer/typeEvaluatorTypes.tspackages/pyright/packages/pyright-internal/src/analyzer/typeStubWriter.tspackages/pyright/packages/pyright-internal/src/analyzer/typeUtils.tspackages/pyright/packages/pyright-internal/src/analyzer/types.tspackages/pyright/packages/pyright-internal/src/common/commandLineOptions.tspackages/pyright/packages/pyright-internal/src/common/configOptions.tspackages/pyright/packages/pyright-internal/src/common/diagnostic.tspackages/pyright/packages/pyright-internal/src/common/diagnosticRules.tspackages/pyright/packages/pyright-internal/src/common/diagnosticSink.tspackages/pyright/packages/pyright-internal/src/localization/localize.tspackages/pyright/packages/pyright-internal/src/parser/parseNodes.tspackages/pyright/packages/pyright-internal/src/parser/parser.tspackages/pyright/packages/pyright-internal/src/parser/tokenizer.tspackages/pyright/packages/pyright-internal/src/parser/tokenizerTypes.tspackages/pyright/packages/pyright-internal/src/partialStubService.tspackages/pyright/packages/pyright-internal/src/workspaceFactory.ts