summaryrefslogtreecommitdiff
path: root/src/pkg/go/printer/nodes.go
AgeCommit message (Collapse)AuthorFilesLines
2009-11-05gofmt the last outstanding files in src/pkgRobert Griesemer1-0/+9
- added a list of issues to printer/nodes.go R=rsc http://go/go-review/1024002
2009-11-05gofmt'ed parts of goRobert Griesemer1-33/+37
R=rsc http://go/go-review/1023001
2009-11-052nd attempt: no noIndent for string listsRobert Griesemer1-1/+2
- slightly better output in general - extra indentation where we could do without (however that seems better for now that not having the indentation where it is needed) - no information is lost, so a future better approach can fix these places up again R=rsc http://go/go-review/1017050
2009-11-04- add a blank before the opening { for multi-line compositesRobert Griesemer1-2/+15
(request by r) - feature temporarily disabled R=rsc CC=r http://go/go-review/1018052
2009-11-04- always format blocks with closing } on a new line, even if emptyRobert Griesemer1-24/+35
- at the moment this also affects single-line function declarations because we have disabled them at the moment (but not single-line function literals) R=rsc http://go/go-review/1016040
2009-11-04- respect source line breaks in grouped declarationsRobert Griesemer1-17/+17
- made ast.Spec nodes implement Node interface - added extra test cases R=rsc http://go/go-review/1016038
2009-11-03- don't loose extra line breaks in struct/interface declarationsRobert Griesemer1-11/+17
- start new sections if a field/method declaration spans multiple lines; this avoids tabs from the previous line affecting the next field/method R=rsc http://go/go-review/1017015
2009-11-02split printer.go into two files; it has become too large:Robert Griesemer1-0/+1083
- nodes.go implements ast node formatting - printer.go implements the core printing functionality and public interface No code changes except for updating the import clauses and adding a top-level comment to nodes.go. R=rsc http://go/go-review/1016026