MCPcopy Index your code
hub / github.com/nodejs/node / createBaseSignatureDeclaration

Function createBaseSignatureDeclaration

test/fixtures/snapshot/typescript.js:22824–22834  ·  view source on GitHub ↗
(kind, decorators, modifiers, name, typeParameters, parameters, type)

Source from the content-addressed store, hash-verified

22822 return node;
22823 }
22824 function createBaseSignatureDeclaration(kind, decorators, modifiers, name, typeParameters, parameters, type) {
22825 var node = createBaseGenericNamedDeclaration(kind, decorators, modifiers, name, typeParameters);
22826 node.parameters = createNodeArray(parameters);
22827 node.type = type;
22828 node.transformFlags |=
22829 propagateChildrenFlags(node.parameters) |
22830 propagateChildFlags(node.type);
22831 if (type)
22832 node.transformFlags |= 1 /* TransformFlags.ContainsTypeScript */;
22833 return node;
22834 }
22835 function updateBaseSignatureDeclaration(updated, original) {
22836 // copy children used only for error reporting
22837 if (original.typeArguments)

Callers 8

createMethodSignatureFunction · 0.85
createCallSignatureFunction · 0.85
createConstructSignatureFunction · 0.85
createIndexSignatureFunction · 0.85
createFunctionTypeNodeFunction · 0.85
createJSDocFunctionTypeFunction · 0.85

Calls 4

createNodeArrayFunction · 0.85
propagateChildrenFlagsFunction · 0.85
propagateChildFlagsFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…