go/ast.CallExpr.Ellipsis (field)
9 uses
go/ast (current package)
ast.go#L367: Ellipsis token.Pos // position of "..." (token.NoPos if there is no "...")
go/parser
parser.go#L1284: return &ast.CallExpr{Fun: fun, Lparen: lparen, Args: list, Ellipsis: ellipsis, Rparen: rparen}
go/printer
nodes.go#L892: if x.Ellipsis.IsValid() {
nodes.go#L893: p.exprList(x.Lparen, x.Args, depth, 0, x.Ellipsis, false)
nodes.go#L894: p.print(x.Ellipsis, token.ELLIPSIS)
nodes.go#L895: if x.Rparen.IsValid() && p.lineFor(x.Ellipsis) < p.lineFor(x.Rparen) {
golang.org/x/pkgsite/internal/godoc
encode_ast.gen.go#L576: if x.Ellipsis != 0 {
encode_ast.gen.go#L578: e.EncodeInt(int64(x.Ellipsis))
encode_ast.gen.go#L611: x.Ellipsis = token.Pos(d.DecodeInt())
 |
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. |