MCPcopy Index your code
hub / github.com/LissaGreense/GO4SQL / tokenMapper

Function tokenMapper

engine/engine_utils.go:24–33  ·  view source on GitHub ↗
(inputToken token.Type)

Source from the content-addressed store, hash-verified

22}
23
24func tokenMapper(inputToken token.Type) token.Type {
25 switch inputToken {
26 case token.TEXT:
27 return token.IDENT
28 case token.INT:
29 return token.LITERAL
30 default:
31 return inputToken
32 }
33}
34
35func unique(arr []string) *[]string {
36 occurred := map[string]bool{}

Callers 1

insertIntoTableMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected