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

Method OverloadDecls

common/decls/decls.go:310–315  ·  view source on GitHub ↗

OverloadDecls returns the overload declarations in the order in which they were declared.

()

Source from the content-addressed store, hash-verified

308
309// OverloadDecls returns the overload declarations in the order in which they were declared.
310func (f *FunctionDecl) OverloadDecls() []*OverloadDecl {
311 if f == nil {
312 return nil
313 }
314 return f.overloadDecls
315}
316
317// HasSingletonBinding indicates whether the function has a singleton binding definition.
318func (f *FunctionDecl) HasSingletonBinding() bool {

Callers 12

TestNilFunctionFunction · 0.95
DocumentationMethod · 0.95
setFunctionMethod · 0.80
resolveOverloadMethod · 0.80
ToConfigMethod · 0.80
TestAsyncBindingFunction · 0.80
AddFunctionDeclsMethod · 0.80
assertFuncEqualsFunction · 0.80

Calls

no outgoing calls

Tested by 7

TestNilFunctionFunction · 0.76
TestAsyncBindingFunction · 0.64
assertFuncEqualsFunction · 0.64