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

Function createNoteHover

packages/lsp/src/server/hover.ts:113–122  ·  view source on GitHub ↗
(note: alphaTab.importer.alphaTex.AlphaTexNoteNode, offset: number)

Source from the content-addressed store, hash-verified

111}
112
113function createNoteHover(note: alphaTab.importer.alphaTex.AlphaTexNoteNode, offset: number): Hover | null {
114 if (note?.noteEffects) {
115 const hover = createPropertiesHover(note.noteEffects, [noteProperties, beatProperties], offset);
116 if (hover != null) {
117 return hover;
118 }
119 }
120
121 return null;
122}
123
124function createPropertiesHover(
125 properties: alphaTab.importer.alphaTex.AlphaTexPropertiesNode,

Callers 1

createBeatHoverFunction · 0.85

Calls 1

createPropertiesHoverFunction · 0.85

Tested by

no test coverage detected