MCPcopy Create free account

hub / github.com/timocov/dts-bundle-generator / functions

Functions206 in github.com/timocov/dts-bundle-generator

↓ 19 callersFunctiongetDeclarationsForSymbol
(symbol: ts.Symbol)
src/helpers/typescript.ts:128
↓ 13 callersFunctiongetActualSymbol
(symbol: ts.Symbol, typeChecker: ts.TypeChecker)
src/helpers/typescript.ts:50
↓ 12 callersFunctioncheckSchemaMatch
(value: unknown, schema: SchemeDescriptor<T>, errors: string[])
src/config-file/check-schema-match.ts:24
↓ 11 callersFunctionformatErrors
(errors: string[])
tests/unittests/check-schema-match.spec.ts:29
↓ 9 callersFunctiongetNodeName
(node: ts.Node)
src/helpers/typescript.ts:31
↓ 9 callersMethodgetSymbol
(node: ts.Node)
src/types-usage-evaluator.ts:295
↓ 9 callersFunctionisNodeNamedDeclaration
(node: ts.Node)
src/helpers/typescript.ts:22
↓ 9 callersFunctionnormalLog
(message: string)
src/logger.ts:12
↓ 8 callersMethodaddTopLevelIdentifier
* Adds (or "registers") a top-level {@link identifier} (which takes a top-level scope name to use).
src/collisions-resolver.ts:45
↓ 8 callersMethodaddUsages
(childSymbol: ts.Symbol, parentSymbol: ts.Symbol)
src/types-usage-evaluator.ts:278
↓ 8 callersFunctiongetLibraryName
(fileName: string)
src/helpers/node-modules.ts:4
↓ 8 callersFunctiongetNodeSymbol
(node: ts.Node, typeChecker: ts.TypeChecker)
src/helpers/typescript.ts:538
↓ 8 callersFunctionisReferencedModuleImportable
(statement: ts.ExportDeclaration | ts.ImportDeclaration)
src/bundle-generator.ts:348
↓ 8 callersFunctionverboseLog
(message: string)
src/logger.ts:8
↓ 7 callersFunctiongetImportExportReferencedSymbol
(importExportSpecifier: ts.ExportSpecifier | ts.ImportSpecifier, typeChecker: ts.TypeChecker)
src/helpers/typescript.ts:651
↓ 7 callersFunctiongetNodeOwnSymbol
(node: ts.Node, typeChecker: ts.TypeChecker)
src/helpers/typescript.ts:529
↓ 7 callersFunctiongetTypesLibraryName
(path: string)
src/helpers/node-modules.ts:18
↓ 6 callersFunctiongetAbsolutePath
(fileName: string, cwd?: string)
src/helpers/get-absolute-path.ts:6
↓ 6 callersFunctiongetDeclarationNameSymbol
(name: NodeName, typeChecker: ts.TypeChecker)
src/helpers/typescript.ts:58
↓ 6 callersFunctiongetReferencedModuleInfo
(moduleDecl: NodeWithReferencedModule, criteria: ModuleCriteria, typeChecker: ts.TypeChecker)
src/module-info.ts:58
↓ 6 callersFunctionisLibraryAllowed
(libraryName: string, allowedArray?: string[])
src/module-info.ts:147
↓ 6 callersFunctionwarnLog
(message: string)
src/logger.ts:16
↓ 5 callersMethodgetActualSymbol
(symbol: ts.Symbol)
src/types-usage-evaluator.ts:303
↓ 5 callersFunctiongetModuleLikeModuleInfo
(moduleLike: ts.SourceFile | ts.ModuleDeclaration, criteria: ModuleCriteria, typeChecker: ts.TypeChecker)
src/module-info.ts:71
↓ 4 callersMethodaddUsagesForNamespacedModule
(namespaceNode: ts.NamespaceImport | ts.NamespaceExport, moduleSpecifier: ts.StringLiteral, includeExports: bo
src/types-usage-evaluator.ts:194
↓ 4 callersFunctioncheckDiagnosticsErrors
(diagnostics: readonly ts.Diagnostic[], failMessage: string)
src/helpers/check-diagnostics-errors.ts:18
↓ 4 callersFunctionfixPath
(path: string)
src/helpers/fix-path.ts:1
↓ 4 callersFunctiongetFileModuleInfo
(fileName: string, criteria: ModuleCriteria)
src/module-info.ts:54
↓ 4 callersFunctiongetImportModuleName
(imp: ts.ImportEqualsDeclaration | ts.ImportDeclaration | ts.ExportDeclaration)
src/helpers/typescript.ts:619
↓ 4 callersMethodgetNodeOwnSymbol
(node: ts.Node)
src/types-usage-evaluator.ts:299
↓ 4 callersFunctionisNodeUsed
(node: ts.Node)
src/bundle-generator.ts:869
↓ 4 callersFunctionlogMessage
(message: string, level: LogLevel = LogLevel.Verbose)
src/logger.ts:35
↓ 4 callersMethodnamesForSymbol
* Returns a set of all already registered names for a given {@link symbol}.
src/collisions-resolver.ts:62
↓ 4 callersMethodresolveReferencedIdentifier
* Resolves given {@link referencedIdentifier} to a name. * It assumes that a symbol for this identifier has been registered before by calling {@link
src/collisions-resolver.ts:73
↓ 3 callersFunctionaddNsImport
(importItem: ModuleImportsSet, preferredLocalName: ts.Identifier)
src/bundle-generator.ts:674
↓ 3 callersFunctioncheckProgramDiagnosticsErrors
(program: ts.Program)
src/helpers/check-diagnostics-errors.ts:10
↓ 3 callersFunctioncreateNamespaceForExports
(exports: ts.SymbolTable, namespaceSymbol: ts.Symbol)
src/bundle-generator.ts:1003
↓ 3 callersFunctionerrorLog
(message: string)
src/logger.ts:20
↓ 3 callersFunctiongetClosestSourceFileLikeNode
(node: ts.Node)
src/helpers/typescript.ts:567
↓ 3 callersFunctiongetExportsForName
( exportedSymbols: readonly SourceFileExport[], typeChecker: ts.TypeChecker, name: NodeName )
src/helpers/typescript.ts:291
↓ 3 callersFunctiongetImportItem
(importModuleSpecifier: string)
src/bundle-generator.ts:642
↓ 3 callersFunctiongetInlinedSymbolsUsingSymbol
(symbol: ts.Symbol, predicate: (usedInSymbol: ts.Symbol) => boolean)
src/bundle-generator.ts:816
↓ 3 callersFunctiongetModifiers
(node: ts.Node)
src/helpers/typescript.ts:508
↓ 3 callersFunctiongetSymbolExportStarDeclarations
(symbol: ts.Symbol)
src/helpers/typescript.ts:660
↓ 3 callersMethodgetSymbolsUsingSymbol
(symbol: ts.Symbol)
src/types-usage-evaluator.ts:30
↓ 3 callersFunctionisGlobalScopeAugmentation
* @see https://github.com/Microsoft/TypeScript/blob/f7c4fefeb62416c311077a699cc15beb211c25c9/src/compiler/utilities.ts#L626-L628
src/helpers/typescript.ts:100
↓ 3 callersMethodresolveIdentifierName
(identifier: ts.Identifier | ts.QualifiedName | ts.PropertyAccessEntityNameExpression)
src/generate-output.ts:36
↓ 3 callersFunctionresolveReferencedModule
(node: NodeWithReferencedModule, typeChecker: ts.TypeChecker)
src/helpers/typescript.ts:585
↓ 3 callersFunctionsplitTransientSymbol
(symbol: ts.Symbol, typeChecker: ts.TypeChecker)
src/helpers/typescript.ts:67
↓ 3 callersFunctionupdateImportsForStatement
(statement: ts.Statement | ts.SourceFile | ts.ExportSpecifier)
src/bundle-generator.ts:613
↓ 2 callersFunctionaddNamedImport
(importItem: ModuleImportsSet, preferredLocalName: ts.Identifier, importedIdentifier: ts.Identifier)
src/bundle-generator.ts:663
↓ 2 callersFunctionaddSymbolToNamespaceExports
(namespaceExports: Map<string, string>, symbol: ts.Symbol)
src/bundle-generator.ts:1004
↓ 2 callersFunctionaddTypesReference
(library: string)
src/bundle-generator.ts:590
↓ 2 callersFunctionareDeclarationSame
(left: ts.NamedDeclaration, right: ts.NamedDeclaration)
src/bundle-generator.ts:990
↓ 2 callersFunctionchangeExtensionToDts
(fileName: string)
src/compile-dts.ts:130
↓ 2 callersFunctionforEachImportOfStatement
(statement: ts.DeclarationStatement | ts.SourceFile, callback: (imp: ImportOfStatement, referencedModuleInfo:
src/bundle-generator.ts:733
↓ 2 callersFunctionforEachNodeThatShouldBeImported
(statement: ts.Statement | ts.SourceFile | ts.ExportSpecifier, callback: (st: ts.DeclarationStatement) => void
src/bundle-generator.ts:597
↓ 2 callersFunctiongenerateDtsBundle
(entries: readonly EntryPointConfig[], options: CompilationOptions = {})
src/bundle-generator.ts:142
↓ 2 callersFunctiongetClosestModuleLikeNode
(node: ts.Node)
src/helpers/typescript.ts:557
↓ 2 callersFunctiongetCompilerOptions
(inputFileNames: readonly string[], preferredConfigPath?: string)
src/get-compiler-options.ts:19
↓ 2 callersFunctiongetDeclarationsForExportedValues
(exp: ts.ExportAssignment | ts.ExportDeclaration, typeChecker: ts.TypeChecker)
src/helpers/typescript.ts:669
↓ 2 callersFunctiongetExportedSymbolsUsingSymbol
(nodeSymbol: ts.Symbol)
src/bundle-generator.ts:970
↓ 2 callersMethodgetNodeScope
* Returns a node's scope where it is located in terms of namespaces/modules. * E.g. A scope for `Opt` in `declare module foo { type Opt = number; }`
src/collisions-resolver.ts:203
↓ 2 callersFunctionhandleNamespacedImportOrExport
(namespacedImportOrExport: ts.ExportDeclaration | ts.ImportDeclaration, namespaceExports: Map<string, string>,
src/bundle-generator.ts:1019
↓ 2 callersFunctionisDeclareModule
(node: ts.Node)
src/helpers/typescript.ts:115
↓ 2 callersFunctionisExportedWithLocalName
(namedDeclaration: ts.NamedDeclaration, exportedName: string)
src/bundle-generator.ts:1275
↓ 2 callersFunctionisSymbolUsedByInlinedSymbols
(symbol: ts.Symbol, predicate: (usedInSymbol: ts.Symbol) => boolean, visitedSymbols: Set<ts.Symbol> = new Set(
src/bundle-generator.ts:830
↓ 2 callersMethodisSymbolUsedBySymbol
(symbol: ts.Symbol, by: ts.Symbol)
src/types-usage-evaluator.ts:26
↓ 2 callersFunctionprepareString
(str: string)
tests/e2e/test-cases/run-test-case.ts:18
↓ 2 callersFunctionrecreateEntityName
(node: ts.EntityName, helpers: OutputHelpers)
src/generate-output.ts:164
↓ 2 callersFunctionrenamedExportValue
(exportedName: string, localName: string)
src/generate-output.ts:134
↓ 2 callersFunctionrenamedImportValue
(importedName: string, localName: string)
src/generate-output.ts:138
↓ 2 callersFunctionresolveGlobalName
(typeChecker: ts.TypeChecker, name: string)
src/helpers/typescript.ts:684
↓ 2 callersFunctionresolveModuleFileName
(currentFileName: string, moduleName: string)
src/module-info.ts:81
↓ 2 callersMethodsetUsageCacheValue
(fromSymbol: ts.Symbol, toSymbol: ts.Symbol, value: boolean)
src/types-usage-evaluator.ts:67
↓ 2 callersFunctionshouldSymbolBeImported
(nodeSymbol: ts.Symbol)
src/bundle-generator.ts:924
↓ 2 callersFunctionupdateResultForAnyModule
(statements: readonly ts.Statement[], currentModule: ModuleInfo)
src/bundle-generator.ts:201
↓ 2 callersFunctionupdateResultForExternalExport
(exportAssignment: ts.ExportAssignment | ts.ExportDeclaration)
src/bundle-generator.ts:206
↓ 2 callersFunctionupdateResultImpl
(statementsToProcess: readonly ts.Statement[])
src/bundle-generator.ts:251
↓ 1 callersFunctionaddDefaultImport
(importItem: ModuleImportsSet, preferredLocalName: ts.Identifier)
src/bundle-generator.ts:680
↓ 1 callersMethodaddExportsToSymbol
(exports: ts.SymbolTable | undefined, parentSymbol: ts.Symbol, visitedSymbols: Set<ts.Symbol> = new Set())
src/types-usage-evaluator.ts:213
↓ 1 callersFunctionaddImport
(statement: ts.DeclarationStatement | ts.SourceFile)
src/bundle-generator.ts:684
↓ 1 callersFunctionaddReExport
(importItem: ModuleImportsSet, moduleExportedName: string, reExportedName: string)
src/bundle-generator.ts:669
↓ 1 callersFunctionaddRequireImport
(importItem: ModuleImportsSet, preferredLocalName: ts.Identifier)
src/bundle-generator.ts:659
↓ 1 callersMethodaddUsagesForExportAssignment
(exportAssignment: ts.ExportAssignment)
src/types-usage-evaluator.ts:167
↓ 1 callersFunctioncheckSchemaMatchRecursively
(value: unknown, schema: SchemeDescriptor<T> | [SchemeDescriptor<T>], prefix: string, errors: string[])
src/config-file/check-schema-match.ts:34
↓ 1 callersFunctioncompileDts
(rootFiles: readonly string[], preferredConfigPath?: string, followSymlinks: boolean = true)
src/compile-dts.ts:32
↓ 1 callersMethodcomputeUsages
(files: ts.SourceFile[])
src/types-usage-evaluator.ts:79
↓ 1 callersMethodcomputeUsagesRecursively
(parent: ts.Node, parentSymbol: ts.Symbol)
src/types-usage-evaluator.ts:239
↓ 1 callersFunctioncreateCachingCompilerHost
(compilerOptions: ts.CompilerOptions)
src/compile-dts.ts:110
↓ 1 callersFunctionenableNormalLog
()
src/logger.ts:31
↓ 1 callersFunctionenableVerbose
()
src/logger.ts:26
↓ 1 callersFunctionfindConfig
(inputFiles: readonly string[])
src/get-compiler-options.ts:45
↓ 1 callersFunctionfindExportingExportStarExportFromImportableModule
* This function returns an export-star object that exports given {@link nodeSymbol} symbol. * If an exporting export declaration object is not fro
src/bundle-generator.ts:407
↓ 1 callersFunctionfindInputFile
(testCaseDir: string)
tests/e2e/test-cases/run-test-case.ts:22
↓ 1 callersFunctionfindResultRecursively
(referencedModuleSym: ts.Symbol, exportedNodeSym: ts.Symbol, visitedSymbols: Set<ts.Symbol>)
src/bundle-generator.ts:408
↓ 1 callersFunctionfindTestCaseFolders
()
tests/e2e/test-cases-validation.spec.ts:11
↓ 1 callersFunctionfunc
({ prop }: InterfaceName = { prop: 1, prop2: 1 })
tests/e2e/test-cases/primitive-generation/input.ts:3
↓ 1 callersFunctiongenerateImports
(libraryName: string, imports: ModuleImportsSet)
src/generate-output.ts:318
↓ 1 callersFunctiongenerateOutFileName
(inputFilePath: string)
src/bin/dts-bundle-generator.ts:173
next →1–100 of 206, ranked by callers