Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
2263
func
TokenToString(token ast.Kind) string {
2264
return
tokenToText[token]
2265
}
2266
2267
func
StringToToken(s string) ast.Kind {
2268
kind, ok := textToToken[s]
Callers
15
getInlayHintLabelParts
Method · 0.92
definitionToReferencedSymbolDefinitionInfo
Method · 0.92
getAllReferencesForKeyword
Function · 0.92
getCompletionData
Method · 0.92
completions.go
File · 0.92
getContextualKeywords
Function · 0.92
getTypeHelpItem
Function · 0.92
itemInfoForTypeParameters
Method · 0.92
itemInfoForParameters
Method · 0.92
findPrecedingMatchingToken
Function · 0.92
InsertNodeInListAfter
Method · 0.92
writeTokenText
Method · 0.92
Calls
no outgoing calls
Tested by
no test coverage detected