1
0
mirror of https://github.com/golang/go synced 2024-11-26 13:38:20 -07:00
The Go programming language
Go to file
Robert Griesemer f3ffd93a61 ast:
- 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
2009-07-16 17:11:18 -07:00
doc capital_letter was never used 2009-07-10 18:21:07 -07:00
include
lib/godoc no longer necessary; directory not empty anymore 2009-07-09 16:44:20 -07:00
misc/xcode xcode config files, self-describing 2009-05-20 16:09:34 -07:00
pkg
src ast: 2009-07-16 17:11:18 -07:00
test step toward no function prototypes. 2009-07-13 23:38:39 -07:00
usr Fix handling of non-waitable zombie threads. Now they are not 2009-07-16 09:48:37 -07:00