type go/ast.LabeledStmt
25 uses
go/ast (current package)
ast.go#L631: LabeledStmt struct {
ast.go#L774: func (s *LabeledStmt) Pos() token.Pos { return s.Label.Pos() }
ast.go#L801: func (s *LabeledStmt) End() token.Pos { return s.Stmt.End() }
ast.go#L861: func (*LabeledStmt) stmtNode() {}
scope.go#L120: case *LabeledStmt:
walk.go#L202: case *LabeledStmt:
go/parser
parser.go#L1936: stmt := &ast.LabeledStmt{Label: label, Colon: colon, Stmt: p.parseStmt()}
parser.go#L2445: if _, isLabeledStmt := s.(*ast.LabeledStmt); !isLabeledStmt {
resolver.go#L304: case *ast.LabeledStmt:
go/printer
nodes.go#L1159: lt, _ := t.(*ast.LabeledStmt)
nodes.go#L1307: case *ast.LabeledStmt:
printer.go#L1139: if _, ok := n.(*ast.LabeledStmt); ok {
printer.go#L1151: if _, ok := s.(*ast.LabeledStmt); ok {
go/types
labels.go#L50: lstmt *ast.LabeledStmt // labeled statement to which this block belongs, or nil
labels.go#L51: labels map[string]*ast.LabeledStmt // allocated lazily
labels.go#L56: func (b *block) insert(s *ast.LabeledStmt) {
labels.go#L63: labels = make(map[string]*ast.LabeledStmt)
labels.go#L71: func (b *block) gotoTarget(name string) *ast.LabeledStmt {
labels.go#L82: func (b *block) enclosingTarget(name string) *ast.LabeledStmt {
labels.go#L94: func (check *Checker) blockBranches(all *Scope, parent *block, lstmt *ast.LabeledStmt, list []ast.Stmt) []*ast.BranchStmt {
labels.go#L121: blockBranches := func(lstmt *ast.LabeledStmt, list []ast.Stmt) {
labels.go#L135: case *ast.LabeledStmt:
return.go#L27: case *ast.LabeledStmt:
return.go#L120: case *ast.LabeledStmt:
stmt.go#L386: case *ast.LabeledStmt: