go/ast.LabeledStmt.Label (field)
10 uses
go/ast (current package)
ast.go#L616: Label *Ident
ast.go#L758: func (s *LabeledStmt) Pos() token.Pos { return s.Label.Pos() }
scope.go#L121: if d.Label.Name == name {
scope.go#L122: return d.Label.Pos()
walk.go#L192: Walk(v, n.Label)
go/parser
parser.go#L1716: stmt := &ast.LabeledStmt{Label: label, Colon: colon, Stmt: p.parseStmt()}
go/printer
nodes.go#L1251: p.expr(s.Label)
golang.org/x/pkgsite/internal/godoc
encode_ast.gen.go#L2265: if x.Label != nil {
encode_ast.gen.go#L2267: encode_ast_Ident(e, x.Label)
encode_ast.gen.go#L2298: 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. |