MCPcopy Index your code
hub / github.com/npmx-dev/npmx.dev / createFunctionSymbol

Function createFunctionSymbol

test/unit/server/utils/docs/render.spec.ts:24–41  ·  view source on GitHub ↗
(name: string, jsDoc?: DenoDocNode['jsDoc'])

Source from the content-addressed store, hash-verified

22}
23
24function createFunctionSymbol(name: string, jsDoc?: DenoDocNode['jsDoc']): MergedSymbol {
25 const node: DenoDocNode = {
26 name,
27 kind: 'function',
28 jsDoc,
29 functionDef: {
30 params: [],
31 returnType: { repr: 'void', kind: 'keyword', keyword: 'void' },
32 },
33 }
34
35 return {
36 name,
37 kind: 'function',
38 jsDoc,
39 nodes: [node],
40 }
41}
42
43function createInterfaceSymbol(name: string): MergedSymbol {
44 const node: DenoDocNode = {

Callers 1

render.spec.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected