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

Function formatSignature

common/decls/decls.go:1081–1089  ·  view source on GitHub ↗
(fnName string, o *OverloadDecl)

Source from the content-addressed store, hash-verified

1079}
1080
1081func formatSignature(fnName string, o *OverloadDecl) string {
1082 if opName, isOperator := operators.FindReverse(fnName); isOperator {
1083 if opName == "" {
1084 opName = fnName
1085 }
1086 return formatOperator(opName, o)
1087 }
1088 return formatCall(fnName, o)
1089}
1090
1091func formatOperator(opName string, o *OverloadDecl) string {
1092 args := o.ArgTypes()

Callers 1

DocumentationMethod · 0.85

Calls 3

FindReverseFunction · 0.92
formatOperatorFunction · 0.85
formatCallFunction · 0.85

Tested by

no test coverage detected