Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for hasFuncLiteral (0.1 sec)

  1. src/cmd/cover/cover.go

    		return s.Lbrace
    	case *ast.IfStmt:
    		found, pos := hasFuncLiteral(s.Init)
    		if found {
    			return pos
    		}
    		found, pos = hasFuncLiteral(s.Cond)
    		if found {
    			return pos
    		}
    		return s.Body.Lbrace
    	case *ast.ForStmt:
    		found, pos := hasFuncLiteral(s.Init)
    		if found {
    			return pos
    		}
    		found, pos = hasFuncLiteral(s.Cond)
    		if found {
    			return pos
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 34.5K bytes
    - Viewed (0)
Back to top