Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/microsoft/typescript-go
/ tokenIsIdentifierOrKeyword
Function
tokenIsIdentifierOrKeyword
internal/scanner/utilities.go:13–15 ·
view source on GitHub ↗
(token ast.Kind)
Source
from the content-addressed store, hash-verified
11
)
12
13
func
tokenIsIdentifierOrKeyword(token ast.Kind) bool {
14
return
token >= ast.KindIdentifier
15
}
16
17
func
IdentifierToKeywordKind(node *ast.Identifier) ast.Kind {
18
return
textToKeyword[node.Text]
Callers
1
ScanJsxIdentifier
Method · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected