type go/ast.LabeledStmt
25 uses
go/ast (current package)
ast.go#L636: LabeledStmt struct {
ast.go#L780: func (s *LabeledStmt) Pos() token.Pos { return s.Label.Pos() }
ast.go#L807: func (s *LabeledStmt) End() token.Pos { return s.Stmt.End() }
ast.go#L866: func (*LabeledStmt) stmtNode() {}
scope.go#L131: case *LabeledStmt:
walk.go#L178: case *LabeledStmt:
go/parser
parser.go#L1954: stmt := &ast.LabeledStmt{Label: label, Colon: colon, Stmt: p.parseStmt()}
parser.go#L2442: if _, isLabeledStmt := s.(*ast.LabeledStmt); !isLabeledStmt {
resolver.go#L308: case *ast.LabeledStmt:
go/printer
nodes.go#L1211: lt, _ := t.(*ast.LabeledStmt)
nodes.go#L1360: case *ast.LabeledStmt:
printer.go#L1152: if _, ok := n.(*ast.LabeledStmt); ok {
printer.go#L1164: if _, ok := s.(*ast.LabeledStmt); ok {
go/types
labels.go#L52: lstmt *ast.LabeledStmt // labeled statement to which this block belongs, or nil
labels.go#L53: labels map[string]*ast.LabeledStmt // allocated lazily
labels.go#L58: func (b *block) insert(s *ast.LabeledStmt) {
labels.go#L65: labels = make(map[string]*ast.LabeledStmt)
labels.go#L73: func (b *block) gotoTarget(name string) *ast.LabeledStmt {
labels.go#L84: func (b *block) enclosingTarget(name string) *ast.LabeledStmt {
labels.go#L96: func (check *Checker) blockBranches(all *Scope, parent *block, lstmt *ast.LabeledStmt, list []ast.Stmt) []*ast.BranchStmt {
labels.go#L116: blockBranches := func(lstmt *ast.LabeledStmt, list []ast.Stmt) {
labels.go#L130: case *ast.LabeledStmt:
return.go#L27: case *ast.LabeledStmt:
return.go#L120: case *ast.LabeledStmt:
stmt.go#L434: case *ast.LabeledStmt: