go/ast.Ellipsis.Ellipsis (field)
8 uses
go/ast (current package)
ast.go#L288: Ellipsis token.Pos // position of "..."
ast.go#L471: func (x *Ellipsis) Pos() token.Pos { return x.Ellipsis }
ast.go#L508: return x.Ellipsis + 3 // len("...")
go/parser
parser.go#L676: len = &ast.Ellipsis{Ellipsis: p.pos}
parser.go#L807: return &ast.Ellipsis{Ellipsis: pos, Elt: typ}
golang.org/x/pkgsite/internal/godoc
encode_ast.gen.go#L1119: if x.Ellipsis != 0 {
encode_ast.gen.go#L1121: e.EncodeInt(int64(x.Ellipsis))
encode_ast.gen.go#L1148: 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. |