(snippetLocation: string)
| 157 | } |
| 158 | |
| 159 | function parseSnippetLocation(snippetLocation: string): [string, string] { |
| 160 | const [snippetName, placeholderName] = snippetLocation.split("."); |
| 161 | if (snippetName == null || placeholderName == null) { |
| 162 | throw new Error("Snippet location missing '.'"); |
| 163 | } |
| 164 | return [snippetName, placeholderName]; |
| 165 | } |
| 166 | |
| 167 | function findMatchingSnippetDefinition( |
| 168 | typedSelection: TypedSelection, |
no outgoing calls
no test coverage detected