(parent: ParentReference, index: number)
| 27 | |
| 28 | class 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 [] |
no outgoing calls
no test coverage detected