Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for enclosingTarget (0.14 sec)

  1. src/cmd/compile/internal/syntax/branches.go

    }
    
    var invalid = new(LabeledStmt) // singleton to signal invalid enclosing target
    
    // enclosingTarget returns the innermost enclosing labeled statement matching
    // the given name. The result is nil if the label is not defined, and invalid
    // if the label is defined but doesn't label a valid labeled statement.
    func (ls *labelScope) enclosingTarget(b *block, name string) *LabeledStmt {
    	if l := ls.labels[name]; l != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Jun 26 00:21:29 UTC 2022
    - 9.8K bytes
    - Viewed (0)
Back to top