MCPcopy Create free account
hub / github.com/CoderLine/alphaTab / createParameterInfo

Function createParameterInfo

packages/lsp/src/server/signatureHelp.ts:181–187  ·  view source on GitHub ↗
(signature: SignatureInformation, doc: ParameterDefinition)

Source from the content-addressed store, hash-verified

179}
180
181function createParameterInfo(signature: SignatureInformation, doc: ParameterDefinition) {
182 const start = signature.label.length;
183 signature.label += parameterToSyntax(doc, false);
184
185 const end = signature.label.length;
186 signature.parameters!.push(ParameterInformation.create([start, end], doc.longDescription ?? doc.shortDescription));
187}
188
189function signatureDefinitionToHelp(
190 label: string,

Callers 1

Calls 3

parameterToSyntaxFunction · 0.90
pushMethod · 0.45
createMethod · 0.45

Tested by

no test coverage detected