Searched defs:labelScope (Results 1 – 3 of 3) sorted by relevance
47 type labelScope struct { struct48 errh ErrorHandler49 labels map[string]*label // all label declarations inside the function; allocated lazily64 func (ls *labelScope) err(pos Pos, format string, args ...interface{}) {71 func (ls *labelScope) declare(b *block, s *LabeledStmt) *label {89 func (ls *labelScope) gotoTarget(b *block, name string) *LabeledStmt {106 func (ls *labelScope) enclosingTarget(b *block, name string) *LabeledStmt {131 …ckBranches(parent *block, ctxt targets, lstmt *LabeledStmt, start Pos, body []Stmt) []*BranchStmt {
71 labelScope *ast.Scope // label scope for current function member
62 labelScope *ast.Scope // label scope for current function member