Home
last modified time | relevance | path

Searched defs:labelScope (Results 1 – 3 of 3) sorted by relevance

/prebuilts/go/linux-x86/src/cmd/compile/internal/syntax/
Dbranches.go47 type labelScope struct { struct
48 errh ErrorHandler
49 labels map[string]*label // all label declarations inside the function; allocated lazily
64 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 {
/prebuilts/go/linux-x86/src/go/parser/
Dresolver.go71 labelScope *ast.Scope // label scope for current function member
/prebuilts/go/linux-x86/src/go/printer/testdata/
Dparser.go62 labelScope *ast.Scope // label scope for current function member