MCPcopy Create free account
hub / github.com/brimdata/super / lambda

Method lambda

compiler/sfmt/ast.go:307–313  ·  view source on GitHub ↗
(lambda *ast.LambdaExpr)

Source from the content-addressed store, hash-verified

305}
306
307func (c *canon) lambda(lambda *ast.LambdaExpr) {
308 c.write("(lambda ")
309 c.ids(lambda.Params)
310 c.write(":")
311 c.expr(lambda.Expr, "")
312 c.write(")")
313}
314
315func (c *canon) arrayElems(elems []ast.ArrayElem) {
316 for k, elem := range elems {

Callers 2

funcRefAsCallMethod · 0.95
funcOrExprsMethod · 0.95

Calls 3

idsMethod · 0.95
exprMethod · 0.95
writeMethod · 0.45

Tested by

no test coverage detected