(s string)
| 2265 | } |
| 2266 | |
| 2267 | func StringToToken(s string) ast.Kind { |
| 2268 | kind, ok := textToToken[s] |
| 2269 | if ok { |
| 2270 | return kind |
| 2271 | } |
| 2272 | return ast.KindUnknown |
| 2273 | } |
| 2274 | |
| 2275 | func GetViableKeywordSuggestions() []string { |
| 2276 | result := make([]string, 0, len(textToKeyword)) |
no outgoing calls
no test coverage detected