go/ast.BranchStmt.Label (field)
11 uses
go/ast (current package)
ast.go#L676: Label *Ident // label name; or nil
ast.go#L801: if s.Label != nil {
ast.go#L802: return s.Label.End()
walk.go#L219: if n.Label != nil {
walk.go#L220: Walk(v, n.Label)
go/parser
parser.go#L1820: return &ast.BranchStmt{TokPos: pos, Tok: tok, Label: label}
go/printer
nodes.go#L1317: if s.Label != nil {
nodes.go#L1319: p.expr(s.Label)
golang.org/x/pkgsite/internal/godoc
encode_ast.gen.go#L511: if x.Label != nil {
encode_ast.gen.go#L513: encode_ast_Ident(e, x.Label)
encode_ast.gen.go#L540: decode_ast_Ident(d, &x.Label)
![]() |
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. |