go/ast.CommClause.Case (field)
6 uses
go/ast (current package)
ast.go#L721: Case token.Pos // position of "case" or "default" keyword
ast.go#L772: func (s *CommClause) Pos() token.Pos { return s.Case }
go/parser
parser.go#L2112: return &ast.CommClause{Case: pos, Comm: comm, Colon: colon, Body: body}
golang.org/x/pkgsite/internal/godoc
encode_ast.gen.go#L771: if x.Case != 0 {
encode_ast.gen.go#L773: e.EncodeInt(int64(x.Case))
encode_ast.gen.go#L808: x.Case = 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. |