mirror of
https://github.com/golang/go
synced 2024-10-04 09:31:22 -06:00
f3ffd93a61
- renamed Program -> SourceFile - added Package node representing the AST for an entire package - added filter function to create a source file mimicking the interface of an entire package parser: - parser entry to parse entire packages - unified naming of parser entry points - factored out entry points into new file (interface.go) gofmt: - extended to accept single .go files, and package paths: gofmt file.go // formatting of a single file gofmt -x file.go // interface of a single file gofmt -x ./MyPackage // interface of a local package gofmt -x math // interface of a $GOROOT relative package Various adjustments in dependent files, documentation. R=rsc DELTA=634 (369 added, 153 deleted, 112 changed) OCL=31743 CL=31748 |
||
---|---|---|
.. | ||
5a | ||
5c | ||
5g | ||
5l | ||
6a | ||
6c | ||
6g | ||
6l | ||
8a | ||
8c | ||
8g | ||
8l | ||
ar | ||
cc | ||
cov | ||
ebnflint | ||
gc | ||
gobuild | ||
godefs | ||
godoc | ||
gofmt | ||
gotest | ||
ld | ||
nm | ||
prof | ||
clean.bash | ||
make.bash |