const go/printer.commaTerm
4 uses
go/printer (current package)
nodes.go#L102: commaTerm exprListMode = 1 << iota // list is optionally terminated by a comma
nodes.go#L296: if mode&commaTerm != 0 && next.IsValid() && p.pos.Line < next.Line {
nodes.go#L899: p.exprList(x.Lparen, x.Args, depth, commaTerm, x.Rparen, false)
nodes.go#L913: p.exprList(x.Lbrace, x.Elts, 1, commaTerm, x.Rbrace, x.Incomplete)
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |