MCPcopy Create free account
hub / github.com/SplootCode/splootcode / staticSuggestions

Method staticSuggestions

packages/language-web/types/js/if.ts:29–33  ·  view source on GitHub ↗
(parent: ParentReference, index: number)

Source from the content-addressed store, hash-verified

27
28class Generator implements SuggestionGenerator {
29 staticSuggestions(parent: ParentReference, index: number): SuggestedNode[] {
30 const sampleNode = new IfStatement(null)
31 const suggestedNode = new SuggestedNode(sampleNode, 'if', 'if', true)
32 return [suggestedNode]
33 }
34
35 async dynamicSuggestions(parent: ParentReference, index: number, textInput: string): Promise<SuggestedNode[]> {
36 return []

Callers 2

getStaticSuggestionsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected