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

Method assignment

compiler/sfmt/ast.go:54–60  ·  view source on GitHub ↗
(a ast.Assignment)

Source from the content-addressed store, hash-verified

52}
53
54func (c *canon) assignment(a ast.Assignment) {
55 if a.LHS != nil {
56 c.expr(a.LHS, "")
57 c.write(":=")
58 }
59 c.expr(a.RHS, "")
60}
61
62func (c *canon) exprs(exprs []ast.Expr) {
63 for k, e := range exprs {

Callers 1

assignmentsMethod · 0.95

Calls 2

exprMethod · 0.95
writeMethod · 0.45

Tested by

no test coverage detected