MCPcopy Create free account
hub / github.com/araddon/qlbridge / getFunction

Method getFunction

expr/parse.go:776–786  ·  view source on GitHub ↗

get Function from Global function registry.

(name string)

Source from the content-addressed store, hash-verified

774
775// get Function from Global function registry.
776func (t *tree) getFunction(name string) (fn Func, ok bool) {
777 if t.fr != nil {
778 if fn, ok = t.fr.FuncGet(name); ok {
779 return
780 }
781 }
782 if fn, ok = funcReg.FuncGet(strings.ToLower(name)); ok {
783 return
784 }
785 return
786}
787
788// ArrayNode parses multi-argument array nodes aka: IN (a,b,c).
789func (t *tree) ArrayNode(depth int) Node {

Callers 1

FuncMethod · 0.95

Calls 1

FuncGetMethod · 0.65

Tested by

no test coverage detected