go/ast.CaseClause.Case (field)
6 uses
go/ast (current package)
ast.go#L697: Case token.Pos // position of "case" or "default" keyword
ast.go#L769: func (s *CaseClause) Pos() token.Pos { return s.Case }
go/parser
parser.go#L1970: return &ast.CaseClause{Case: pos, List: list, Colon: colon, Body: body}
golang.org/x/pkgsite/internal/godoc
encode_ast.gen.go#L637: if x.Case != 0 {
encode_ast.gen.go#L639: e.EncodeInt(int64(x.Case))
encode_ast.gen.go#L674: 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. |