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

Function NewFuncNode

expr/node.go:519–521  ·  view source on GitHub ↗

NewFuncNode create new Function Expression Node.

(name string, f Func)

Source from the content-addressed store, hash-verified

517
518// NewFuncNode create new Function Expression Node.
519func NewFuncNode(name string, f Func) *FuncNode {
520 return &FuncNode{Name: name, F: f}
521}
522
523func (m *FuncNode) append(arg Node) {
524 m.Args = append(m.Args, arg)

Callers 3

joinNodesForFromFunction · 0.92
rewriteNodeFunction · 0.92
FuncMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected