This change adds a copy of the parseFiles function from go/packages for file parsing. Also fix crash caused by lack of TypeSizes from go/packages.Load when using LoadImports mode. Change-Id: Ie8c3c653679ab81da45905c6839de7e63966d84c Reviewed-on: https://go-review.googlesource.com/c/161670 Run-TryBot: Rebecca Stambler <rstambler@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Cottrell <iancottrell@google.com> |
||
|---|---|---|
| .. | ||
| testdata | ||
| cmd.go | ||
| definition.go | ||
| definition_test.go | ||
| export_test.go | ||
| location.go | ||
| query.go | ||
| serve.go | ||