Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for FileEnd (0.15 sec)

  1. src/go/types/version.go

    	assert(pos.IsValid())
    	// Eval and CheckExpr tests may not have any source files.
    	if len(check.files) == 0 {
    		return nil
    	}
    	for _, file := range check.files {
    		if file.FileStart <= pos && pos < file.FileEnd {
    			return file
    		}
    	}
    	panic(check.sprintf("file not found for pos = %d (%s)", int(pos), check.fset.Position(pos)))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 14 23:12:40 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  2. src/go/ast/example_test.go

    	//     44  .  .  .  .  .  }
    	//     45  .  .  .  .  }
    	//     46  .  .  .  .  Rbrace: 5:1
    	//     47  .  .  .  }
    	//     48  .  .  }
    	//     49  .  }
    	//     50  .  FileStart: 1:1
    	//     51  .  FileEnd: 5:3
    	//     52  .  Scope: *ast.Scope {
    	//     53  .  .  Objects: map[string]*ast.Object (len = 1) {
    	//     54  .  .  .  "main": *(obj @ 11)
    	//     55  .  .  }
    	//     56  .  }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 21:44:50 UTC 2024
    - 6.1K bytes
    - Viewed (0)
Back to top