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

Method HasLateBinding

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

HasLateBinding returns true if the function has late bindings. A function cannot mix late bindings with other bindings.

()

Source from the content-addressed store, hash-verified

313
314// HasLateBinding returns true if the function has late bindings. A function cannot mix late bindings with other bindings.
315func (f *FunctionDecl) HasLateBinding() bool {
316 if f == nil {
317 return false
318 }
319 for _, oID := range f.overloadOrdinals {
320 if f.overloads[oID].HasLateBinding() {
321 return true
322 }
323 }
324 return false
325}
326
327// Bindings produces a set of function bindings, if any are defined.
328func (f *FunctionDecl) Bindings() ([]*functions.Overload, error) {

Callers 4

isLateBoundFunctionCallFunction · 0.45
AddOverloadMethod · 0.45
BindingsMethod · 0.45

Calls

no outgoing calls

Tested by 1