1
0
mirror of https://github.com/golang/go synced 2024-11-18 22:04:43 -07:00
go/godoc
Alan Donovan f0ff511183 go/loader: make (*Config).Load() robust against I/O, scanner and parser errors.
Before, Load() would just fail.  Now, it gathers all frontend
errors (not just the first go/types error) in PackageInfo.Errors.

There are still cases where Load() can fail hard, e.g. errors in x_test.go
files.  That case is trickier to fix and remains a TODO item.

Also, make godoc display all scanner/parser/type errors in the source view.

LGTM=gri
R=gri
CC=golang-codereviews
https://golang.org/cl/108940043
2014-06-13 11:32:46 -04:00
..
analysis go/loader: make (*Config).Load() robust against I/O, scanner and parser errors. 2014-06-13 11:32:46 -04:00
redirect go.tools/godoc/redirect: remove race detector blog post redirect 2014-02-11 09:26:17 +11:00
static go.tools/godoc/static: fix import path doc typo 2014-05-05 17:42:00 -07:00
util
vfs godoc: limit concurrency to local disk filesystem 2013-12-16 11:25:50 -08:00
cmdline_test.go go.tools/godoc: ignore //line comments in source code 2014-04-03 13:12:54 -07:00
cmdline.go godoc: Remove bogus messages referring to "/target". 2014-02-26 13:21:44 -05:00
corpus.go go.tools/godoc: server mode: add support for type and pointer analysis. 2014-03-14 18:58:22 -04:00
dirtrees.go godoc: add a Corpus hook to summarize a package 2013-10-30 11:34:32 -07:00
format.go
godoc_test.go go.tools/godoc: sanitize function signatures for object index 2014-04-07 12:54:28 -07:00
godoc.go go.tools/godoc: sanitize function signatures for object index 2014-04-07 12:54:28 -07:00
index_test.go godoc: Update identifier indexing tests. 2014-01-06 14:53:03 -05:00
index.go go.tools/godoc: fix index reading and writing 2014-06-13 16:49:32 +10:00
linkify.go
meta.go
page.go godoc: set expvar for http.ResponseWriter errors. 2014-01-29 10:53:45 -05:00
parser.go go.tools/godoc: ignore //line comments in source code 2014-04-03 13:12:54 -07:00
pres.go go.tools/godoc: server mode: add support for type and pointer analysis. 2014-03-14 18:58:22 -04:00
search.go godoc: Fix dereference of nil *SearchResult. 2014-02-20 11:26:05 -05:00
server_test.go godoc: set expvar for http.ResponseWriter errors. 2014-01-29 10:53:45 -05:00
server.go godoc: documentation of -analysis features. 2014-04-16 16:35:08 -04:00
snippet.go
spec.go
spot.go godoc: add search results that point to documentation instead of source. 2013-11-21 11:55:42 -05:00
tab.go
template.go