MCPcopy Index your code

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

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

↓ 40 callersMethodtest
(name: string, fn: (bless: boolean) => any)
tests/utils.ts:40
↓ 21 callersFunctionwithStartEnd
(esNode: T, nodeOrRange: ts.Node | Range)
src/transform/astHelpers.ts:235
↓ 20 callersFunctioncreateIdentifier
(node: ts.Identifier | ts.StringLiteral)
src/transform/astHelpers.ts:40
↓ 18 callersFunctionbundleWithSourcemap
(inputPath: string)
tests/sourcemap.ts:10
↓ 10 callersMethodconvertTypeNode
(node?: ts.TypeNode)
src/transform/DeclarationScope.ts:232
↓ 9 callersMethodpushReference
(id: ESTree.Expression)
src/transform/DeclarationScope.ts:75
↓ 9 callersMethodpushStatement
(node: ESTree.Statement | ESTree.ModuleDeclaration)
src/transform/Transformer.ts:40
↓ 9 callersMethodpushTypeVariable
(id: ts.Identifier)
src/transform/DeclarationScope.ts:70
↓ 8 callersMethodcreateDeclaration
(node: ts.Node, id?: ts.Identifier)
src/transform/Transformer.ts:44
↓ 8 callersMethodpopScope
(n = 1)
src/transform/DeclarationScope.ts:65
↓ 7 callersMethodpushIdentifierReference
(id: ts.Identifier | ts.StringLiteral)
src/transform/DeclarationScope.ts:102
↓ 6 callersFunctionlogCache
(...args: unknown[])
src/program.ts:33
↓ 6 callersFunctionuniqName
(hint: string)
src/transform/preprocess.ts:563
↓ 5 callersFunctionconvertExpression
(node: ts.Expression)
src/transform/astHelpers.ts:119
↓ 5 callersMethodconvertTypeParameters
(params?: ts.NodeArray<ts.TypeParameterDeclaration>)
src/transform/DeclarationScope.ts:219
↓ 5 callersFunctionisUrl
(p: string)
src/transform/index.ts:218
↓ 5 callersFunctionmatchesModifier
(node: ts.Node, flags: ts.ModifierFlags)
src/transform/astHelpers.ts:241
↓ 5 callersFunctionparse
(fileName: string, code: string)
src/helpers.ts:19
↓ 4 callersMethodconvertEntityName
(node: ts.EntityName)
src/transform/DeclarationScope.ts:106
↓ 4 callersMethodconvertParametersAndType
(node: ts.SignatureDeclarationBase)
src/transform/DeclarationScope.ts:165
↓ 4 callersFunctioncreateTypeOnlyName
(name: string)
src/transform/TypeOnlyFixer.ts:286
↓ 4 callersMethodisTypeOnly
(name: string)
src/transform/TypeOnlyFixer.ts:267
↓ 4 callersFunctionpushNamedNode
(name: string, range: Range)
src/transform/preprocess.ts:572
↓ 4 callersMethodpushScope
()
src/transform/DeclarationScope.ts:62
↓ 3 callersFunctionclean
(code: string = "")
tests/testcases.ts:97
↓ 3 callersMethodconvertMembers
(members: ts.NodeArray<ts.TypeElement | ts.ClassElement>)
src/transform/DeclarationScope.ts:193
↓ 3 callersMethodconvertTypeArguments
(node: ts.NodeWithTypeArguments)
src/transform/DeclarationScope.ts:184
↓ 3 callersFunctionexists
(path: string)
tests/utils.ts:4
↓ 3 callersFunctionfixModifiers
(code: MagicString, node: ts.Node)
src/transform/preprocess.ts:615
↓ 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 callersFunctiongetNameBinding
(sourceName: string, targetName: string)
src/transform/preprocess.ts:677
↓ 3 callersFunctiongetSafeName
(fileId: string)
src/transform/preprocess.ts:681
↓ 3 callersFunctiongetStart
(node: ts.Node)
src/transform/preprocess.ts:685
↓ 3 callersMethodisUselessImport
(node: ts.Identifier)
src/transform/TypeOnlyFixer.ts:260
↓ 3 callersFunctiontrimExtension
(path: string)
src/helpers.ts:11
↓ 3 callersFunctionwatchFiles
(module: ResolvedModule)
src/index.ts:141
↓ 2 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
↓ 2 callersMethodconvertComputedPropertyName
(node: { name?: ts.PropertyName })
src/transform/DeclarationScope.ts:148
↓ 2 callersMethodconvertHeritageClauses
(node: ts.InterfaceDeclaration | ts.ClassDeclaration)
src/transform/DeclarationScope.ts:175
↓ 2 callersMethodconvertNamespace
(node: ts.ModuleDeclaration, relaxedModuleBlock = false)
src/transform/DeclarationScope.ts:336
↓ 2 callersMethodconvertPropertyAccess
(node: ts.PropertyAccessExpression)
src/transform/DeclarationScope.ts:122
↓ 2 callersFunctioncreateBundle
(options: Options, rollupOptions: RollupOptions)
tests/testcases.ts:69
↓ 2 callersFunctioncreateTypeOnlyReExportName
(name: string)
src/transform/TypeOnlyFixer.ts:289
↓ 2 callersFunctionforEachFixture
(fixtures: string, cb: (name: string, dir: string) => void)
tests/utils.ts:14
↓ 2 callersMethodformatChunkReference
* Format a chunk filename as a relative path from the current chunk.
src/transform/ModuleDeclarationFixer.ts:123
↓ 2 callersFunctiongenerateDts
()
src/index.ts:171
↓ 2 callersFunctiongetDeclarationId
(path: string)
src/helpers.ts:15
↓ 2 callersFunctiongetEnd
(node: ts.Node)
src/transform/preprocess.ts:689
↓ 2 callersFunctiongetNodeIndent
(node: ts.Node)
src/transform/TypeOnlyFixer.ts:277
↓ 2 callersFunctionhydrateSourcemap
( sparseMappings: string, inputMap: InputSourceMap, outputCode: string, )
src/transform/sourcemap.ts:32
↓ 2 callersMethodisReExportTypeOnly
(name: string)
src/transform/TypeOnlyFixer.ts:272
↓ 2 callersFunctionnewlineAt
(node: ts.Node, idx: number)
src/transform/preprocess.ts:694
↓ 2 callersFunctionnormalizePath
Normalize paths for comparison (handle Windows backslashes)
src/transform/ModuleDeclarationFixer.ts:26
↓ 2 callersFunctionpreProcess
({ sourceFile, isEntry, isJSON }: PreProcessInput)
src/transform/preprocess.ts:58
↓ 2 callersFunctionrenderTypeParams
(typeParameters?: ts.NodeArray<ts.TypeParameterDeclaration>)
src/transform/NamespaceFixer.ts:240
↓ 2 callersFunctionupdateSourcemapAsset
( bundle: Record<string, { type: string; source?: string }>, chunkFileName: string, data: SourcemapData,
src/transform/index.ts:404
↓ 2 callersFunctionwriteBlock
(codes: Array<string>)
src/transform/index.ts:388
↓ 1 callersMethodanalyze
(nodes: Iterable<ts.Node>)
src/transform/TypeOnlyFixer.ts:172
↓ 1 callersFunctionassertExpectedResult
(file: string, code: string, bless: boolean)
tests/preprocess.ts:27
↓ 1 callersFunctionassertTestcase
(dir: string, meta: Meta, bless: boolean)
tests/testcases.ts:106
↓ 1 callersFunctionassertTestcase
(dir: string, bless: boolean)
tests/preprocess.ts:16
↓ 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 callersFunctioncheckInlineImport
(node: ts.Node)
src/transform/preprocess.ts:531
↓ 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 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 callersFunctioncreateIIFE
(range: Range)
src/transform/astHelpers.ts:54
↓ 1 callersFunctioncreateNamespaceImport
(fileId: string)
src/transform/preprocess.ts:554
↓ 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 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:651
↓ 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 callersMethodfix
()
src/transform/TypeOnlyFixer.ts:30
↓ 1 callersMethodfix
()
src/transform/ModuleDeclarationFixer.ts:53
↓ 1 callersMethodfix
()
src/transform/NamespaceFixer.ts:187
↓ 1 callersMethodfixTypeOnlyExport
(node: ExportDeclarationWithClause)
src/transform/TypeOnlyFixer.ts:122
↓ 1 callersMethodfixTypeOnlyImport
(node: ImportDeclarationWithClause)
src/transform/TypeOnlyFixer.ts:51
↓ 1 callersFunctionframeNode
(node: ts.Node)
src/transform/errors.ts:30
↓ 1 callersFunctiongetCodeFrame
()
src/transform/errors.ts:5
↓ 1 callersFunctiongetLocation
(node: ts.Node)
src/transform/errors.ts:20
↓ 1 callersMethodgetTargetChunkName
* Get the output chunk name for an absolute module path.
src/transform/ModuleDeclarationFixer.ts:95
↓ 1 callersFunctionhandleDtsFile
()
src/index.ts:152
next →1–100 of 146, ranked by callers