MCPcopy Create free account
hub / github.com/cel-expr/cel-go / makeMacroKey

Function makeMacroKey

parser/macro.go:175–177  ·  view source on GitHub ↗
(name string, args int, receiverStyle bool)

Source from the content-addressed store, hash-verified

173}
174
175func makeMacroKey(name string, args int, receiverStyle bool) string {
176 return fmt.Sprintf("%s:%d:%v", name, args, receiverStyle)
177}
178
179func makeVarArgMacroKey(name string, receiverStyle bool) string {
180 return fmt.Sprintf("%s:*:%v", name, receiverStyle)

Callers 2

expandMacroMethod · 0.85
MacroKeyMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected