MCPcopy Create free account

hub / github.com/Swatinem/rollup-plugin-dts / functions

Functions179 in github.com/Swatinem/rollup-plugin-dts

↓ 14 callersMethodtest
(name: string, fn: (bless: boolean) => any)
tests/utils.ts:40
↓ 11 callersFunctionwithStartEnd
(esNode: T, nodeOrRange: ts.Node | Range)
src/transform/astHelpers.ts:235
↓ 10 callersFunctioncreateIdentifier
(node: ts.Identifier | ts.StringLiteral)
src/transform/astHelpers.ts:40
↓ 7 callersMethodconvertTypeNode
(node?: ts.TypeNode)
src/transform/DeclarationScope.ts:232
↓ 7 callersMethodcreateDeclaration
(node: ts.Node, id?: ts.Identifier)
src/transform/Transformer.ts:44
↓ 7 callersMethodpushReference
(id: ESTree.Expression)
src/transform/DeclarationScope.ts:75
↓ 6 callersMethodpushIdentifierReference
(id: ts.Identifier | ts.StringLiteral)
src/transform/DeclarationScope.ts:102
↓ 5 callersFunctionparse
(fileName: string, code: string)
src/helpers.ts:19
↓ 5 callersMethodpopScope
(n = 1)
src/transform/DeclarationScope.ts:65
↓ 4 callersMethodconvertParametersAndType
(node: ts.SignatureDeclarationBase)
src/transform/DeclarationScope.ts:165
↓ 4 callersMethodconvertTypeParameters
(params?: ts.NodeArray<ts.TypeParameterDeclaration>)
src/transform/DeclarationScope.ts:219
↓ 4 callersFunctionexists
(path: string)
tests/utils.ts:4
↓ 4 callersMethodpushStatement
(node: ESTree.Statement | ESTree.ModuleDeclaration)
src/transform/Transformer.ts:40
↓ 3 callersMethodconvertEntityName
(node: ts.EntityName)
src/transform/DeclarationScope.ts:106
↓ 3 callersFunctionconvertExpression
(node: ts.Expression)
src/transform/astHelpers.ts:119
↓ 3 callersMethodconvertMembers
(members: ts.NodeArray<ts.TypeElement | ts.ClassElement>)
src/transform/DeclarationScope.ts:193
↓ 3 callersFunctionforEachFixture
(fixtures: string, cb: (name: string, dir: string) => void)
tests/utils.ts:14
↓ 3 callersFunctiongetChunkImportSpecifier
(fromChunkFileName: string, toChunkFileName: string)
src/transform/sharedChunkPortability.ts:410
↓ 3 callersFunctiongetCompilerOptions
( input: string, overrideOptions: ts.CompilerOptions, overrideConfigPath?: string, enableDeclarationMa
src/program.ts:55
↓ 3 callersFunctiongetModule
( { entries, programs, resolvedOptions }: DtsPluginContext, fileName: string, code: string, )
src/index.ts:31
↓ 3 callersFunctionnormalizePath
Normalize paths for comparison (handle Windows backslashes)
src/transform/ModuleDeclarationFixer.ts:26
↓ 3 callersMethodpushScope
()
src/transform/DeclarationScope.ts:62
↓ 3 callersMethodpushTypeVariable
(id: ts.Identifier)
src/transform/DeclarationScope.ts:70
↓ 3 callersFunctionuniqName
(hint: string)
src/transform/preprocess.ts:568
↓ 3 callersFunctionwatchFiles
(module: ResolvedModule)
src/index.ts:141
↓ 2 callersFunctionclean
(code: string = "")
tests/downstream-helpers.ts:22
↓ 2 callersMethodconvertComputedPropertyName
(node: { name?: ts.PropertyName })
src/transform/DeclarationScope.ts:148
↓ 2 callersMethodconvertHeritageClauses
(node: ts.InterfaceDeclaration | ts.ClassDeclaration)
src/transform/DeclarationScope.ts:175
↓ 2 callersMethodconvertPropertyAccess
(node: ts.PropertyAccessExpression)
src/transform/DeclarationScope.ts:122
↓ 2 callersMethodconvertTypeArguments
(node: ts.NodeWithTypeArguments)
src/transform/DeclarationScope.ts:184
↓ 2 callersFunctioncreateBundle
(options: Options, rollupOptions: RollupOptions)
tests/fixture-helpers.ts:67
↓ 2 callersFunctioncreateTypeOnlyName
(name: string)
src/transform/TypeOnlyFixer.ts:294
↓ 2 callersFunctionfixModifiers
(code: MagicString, node: ts.Node)
src/transform/preprocess.ts:620
↓ 2 callersFunctiongetDeclarationId
(path: string)
src/helpers.ts:15
↓ 2 callersFunctiongetHostExportRoutes
(analysis: ChunkAnalysis, moduleSpecifier: string, importedName: string)
src/transform/sharedChunkPortability.ts:314
↓ 2 callersFunctiongetNodeIndent
(node: ts.Node)
src/transform/TypeOnlyFixer.ts:277
↓ 2 callersFunctiongetSafeName
(fileId: string)
src/transform/preprocess.ts:686
↓ 2 callersFunctionhydrateSourcemap
( sparseMappings: string, inputMap: InputSourceMap, outputCode: string, )
src/transform/sourcemap.ts:32
↓ 2 callersFunctionisFixtureSupported
(meta: Meta)
tests/fixture-helpers.ts:43
↓ 2 callersMethodisTypeOnly
(name: string)
src/transform/TypeOnlyFixer.ts:267
↓ 2 callersFunctionisUrl
(p: string)
src/transform/index.ts:222
↓ 2 callersFunctionlink
(target: string, linkPath: string)
tests/shim.ts:44
↓ 2 callersFunctionloadFixtureMeta
(dir: string)
tests/fixture-helpers.ts:25
↓ 2 callersFunctionlogCache
(...args: unknown[])
src/program.ts:33
↓ 2 callersFunctionmain
()
tests/index.ts:10
↓ 2 callersFunctionmatchesModifier
(node: ts.Node, flags: ts.ModifierFlags)
src/transform/astHelpers.ts:241
↓ 2 callersFunctionnewlineAt
(node: ts.Node, idx: number)
src/transform/preprocess.ts:699
↓ 2 callersFunctionnormalizeChunkPath
(fileName: string)
src/transform/sharedChunkPortability.ts:433
↓ 2 callersFunctionpreProcess
({ sourceFile, isEntry, isJSON }: PreProcessInput)
src/transform/preprocess.ts:58
↓ 2 callersFunctiontrimExtension
(path: string)
src/helpers.ts:11
↓ 2 callersFunctionwithInput
(dir: string, { input }: InputOptions)
tests/fixture-helpers.ts:101
↓ 1 callersFunctionaddHostExportRoute
( hostRoutesByModule: Map<string, Map<string, HostExportRoute[]>>, moduleSpecifier: string, importedName
src/transform/sharedChunkPortability.ts:330
↓ 1 callersMethodanalyze
(nodes: Iterable<ts.Node>)
src/transform/TypeOnlyFixer.ts:172
↓ 1 callersFunctionanalyzeChunk
( chunk: Pick<OutputChunk, "code" | "exports" | "fileName">, chunkGraph: Map<string, ChunkGraphInfo>, )
src/transform/sharedChunkPortability.ts:148
↓ 1 callersFunctionapplyChunkEdits
(chunk: Pick<OutputChunk, "code" | "fileName" | "map">, code: MagicString)
src/transform/sharedChunkPortability.ts:368
↓ 1 callersFunctionassertDownstream
( dir: string, output: RollupOutput["output"], downstream: DownstreamCase[], bless: boolean, )
tests/downstream-helpers.ts:106
↓ 1 callersFunctionassertExpectedResult
(file: string, code: string, bless: boolean)
tests/preprocess.ts:27
↓ 1 callersFunctionassertTestcase
(dir: string, meta: Meta, bless: boolean)
tests/testcases.ts:49
↓ 1 callersFunctionassertTestcase
(dir: string, bless: boolean)
tests/preprocess.ts:16
↓ 1 callersMethodaugmentationApplies
* Check that every augmented name is exported from the target chunk under its * original name. Augmentation matches by exported name, so a name the
src/transform/ModuleDeclarationFixer.ts:202
↓ 1 callersFunctionbuildImportStatement
( statement: ImportStatementInfo, specifiers: ImportSpecifierInfo[], moduleSpecifier: string, quote: "
src/transform/sharedChunkPortability.ts:347
↓ 1 callersFunctionbundleMultipleWithSourcemap
( inputs: Record<string, string>, outputDir: string, )
tests/sourcemap.ts:25
↓ 1 callersFunctionbundleWithAssets
( inputs: Record<string, string>, outputDir: string, )
tests/sourcemap.ts:44
↓ 1 callersFunctionbundleWithSourcemap
(inputPath: string)
tests/sourcemap.ts:10
↓ 1 callersFunctioncacheConfig
* Caches the config for every path between two given paths. * * It starts from the first path and walks up the directory tree until it reaches the s
src/program.ts:40
↓ 1 callersFunctioncheckInlineImport
(node: ts.Node)
src/transform/preprocess.ts:536
↓ 1 callersFunctionclean
(code: string = "")
tests/testcases.ts:40
↓ 1 callersFunctioncompareStrings
(left: string, right: string)
src/transform/sharedChunkPortability.ts:320
↓ 1 callersFunctionconvert
({ sourceFile }: ConvertInput)
src/transform/Transformer.ts:17
↓ 1 callersMethodconvertClassOrInterfaceDeclaration
(node: ts.ClassDeclaration | ts.InterfaceDeclaration)
src/transform/Transformer.ts:154
↓ 1 callersMethodconvertEnumDeclaration
(node: ts.EnumDeclaration)
src/transform/Transformer.ts:139
↓ 1 callersMethodconvertExportDeclaration
(node: ts.ExportDeclaration | ts.ExportAssignment)
src/transform/Transformer.ts:230
↓ 1 callersMethodconvertExportSpecifier
(node: ts.ExportSpecifier)
src/transform/Transformer.ts:370
↓ 1 callersMethodconvertFunctionDeclaration
(node: ts.FunctionDeclaration)
src/transform/Transformer.ts:144
↓ 1 callersMethodconvertImportDeclaration
(node: ts.ImportDeclaration | ts.ImportEqualsDeclaration)
src/transform/Transformer.ts:294
↓ 1 callersMethodconvertNamedImportBindings
(node: ts.NamedImportBindings)
src/transform/Transformer.ts:350
↓ 1 callersMethodconvertNamespace
(node: ts.ModuleDeclaration, relaxedModuleBlock = false)
src/transform/DeclarationScope.ts:336
↓ 1 callersMethodconvertNamespaceDeclaration
(node: ts.ModuleDeclaration)
src/transform/Transformer.ts:121
↓ 1 callersMethodconvertStatement
(node: ts.Node)
src/transform/Transformer.ts:76
↓ 1 callersMethodconvertTypeAliasDeclaration
(node: ts.TypeAliasDeclaration)
src/transform/Transformer.ts:167
↓ 1 callersMethodconvertVariableStatement
(node: ts.VariableStatement)
src/transform/Transformer.ts:187
↓ 1 callersFunctioncreateDeclaration
(id: ts.Identifier, range: Range)
src/transform/astHelpers.ts:101
↓ 1 callersFunctioncreateFixture
(tempRoot: string)
tests/shim.ts:49
↓ 1 callersFunctioncreateIIFE
(range: Range)
src/transform/astHelpers.ts:54
↓ 1 callersFunctioncreateNamespaceImport
(fileId: string)
src/transform/preprocess.ts:559
↓ 1 callersFunctioncreateProgram
( fileName: string, overrideOptions: ts.CompilerOptions, tsconfig?: string, enableDeclarationMap?: boo
src/program.ts:118
↓ 1 callersFunctioncreateProgram
(node: ts.SourceFile)
src/transform/astHelpers.ts:10
↓ 1 callersFunctioncreatePrograms
( input: Array<string>, overrideOptions: ts.CompilerOptions, tsconfig?: string, enableDeclarationMap?:
src/program.ts:132
↓ 1 callersFunctioncreateReference
(id: ESTree.Expression)
src/transform/astHelpers.ts:25
↓ 1 callersFunctioncreateReturn
()
src/transform/astHelpers.ts:83
↓ 1 callersFunctioncreateTypeOnlyReExportName
(name: string)
src/transform/TypeOnlyFixer.ts:297
↓ 1 callersFunctiondecodeResolvedModule
Decode a resolved module marker comment from text. Returns the absolute path, or null if not found.
src/transform/ModuleDeclarationFixer.ts:16
↓ 1 callersFunctionduplicateExports
(code: MagicString, module: ts.ModuleDeclaration)
src/transform/preprocess.ts:656
↓ 1 callersFunctionencodeResolvedModule
(absolutePath: string)
src/transform/ModuleDeclarationFixer.ts:11
↓ 1 callersMethodfindNamespaces
()
src/transform/NamespaceFixer.ts:38
↓ 1 callersMethodfindReferenceCount
(node: ts.Node)
src/transform/languageService.ts:36
↓ 1 callersMethodfindTargetChunk
* Find the output chunk containing the module at an absolute path. * Returns null when the module is not part of any output chunk.
src/transform/ModuleDeclarationFixer.ts:169
↓ 1 callersMethodfix
()
src/transform/TypeOnlyFixer.ts:30
↓ 1 callersMethodfix
()
src/transform/ModuleDeclarationFixer.ts:112
↓ 1 callersMethodfix
()
src/transform/NamespaceFixer.ts:187
next →1–100 of 179, ranked by callers