MCPcopy Index your code
hub / github.com/microsoft/typescript-go / TokenToString

Function TokenToString

internal/scanner/scanner.go:2263–2265  ·  view source on GitHub ↗
(token ast.Kind)

Source from the content-addressed store, hash-verified

2261}()
2262
2263func TokenToString(token ast.Kind) string {
2264 return tokenToText[token]
2265}
2266
2267func StringToToken(s string) ast.Kind {
2268 kind, ok := textToToken[s]

Callers 15

getCompletionDataMethod · 0.92
completions.goFile · 0.92
getContextualKeywordsFunction · 0.92
getTypeHelpItemFunction · 0.92
itemInfoForParametersMethod · 0.92
InsertNodeInListAfterMethod · 0.92
writeTokenTextMethod · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected