|
Steps towards tracking scopes for identifiers.
- Identifiers refer now to the language entity (Object)
that they denote. At the moment this is at best an
approximation.
- Initial data structures for language entities (Objects)
and expression types (Type) independent of the actual
type notations.
- Initial support for declaring and looking up identifiers.
- Updated various dependent files and added support functions.
- Extensively tested to avoid breakage. This is an AST change.
Total comments: 8
Total comments: 6
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+247 lines, -249 lines) |
Patch |
 |
M |
src/cmd/cgo/ast.go
|
View
|
1
2
3
4
5
6
7
8
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
src/cmd/cgo/gcc.go
|
View
|
1
2
3
4
5
6
7
8
|
5 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
 |
M |
src/cmd/cgo/main.go
|
View
|
1
2
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
src/cmd/cgo/out.go
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
src/cmd/godoc/godoc.go
|
View
|
1
2
3
4
5
6
7
8
|
3 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
src/cmd/godoc/index.go
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
src/cmd/godoc/snippet.go
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
src/cmd/gofmt/gofmt.go
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
src/cmd/gofmt/rewrite.go
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
src/pkg/exp/eval/expr.go
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
src/pkg/exp/eval/stmt.go
|
View
|
1
2
3
4
5
6
7
8
|
8 chunks |
+16 lines, -16 lines |
0 comments
|
Download
|
 |
M |
src/pkg/exp/eval/type.go
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
src/pkg/exp/eval/typec.go
|
View
|
1
2
3
4
5
6
7
8
|
5 chunks |
+8 lines, -8 lines |
0 comments
|
Download
|
 |
M |
src/pkg/exp/parser/interface.go
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
src/pkg/exp/parser/parser.go
|
View
|
|
11 chunks |
+7 lines, -56 lines |
0 comments
|
Download
|
 |
M |
src/pkg/go/ast/ast.go
|
View
|
1
2
3
4
5
6
7
8
|
4 chunks |
+25 lines, -7 lines |
0 comments
|
Download
|
 |
M |
src/pkg/go/ast/filter.go
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
src/pkg/go/ast/scope.go
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+55 lines, -66 lines |
0 comments
|
Download
|
 |
M |
src/pkg/go/doc/doc.go
|
View
|
1
2
3
4
5
6
7
8
|
8 chunks |
+10 lines, -10 lines |
0 comments
|
Download
|
 |
M |
src/pkg/go/parser/interface.go
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
src/pkg/go/parser/parser.go
|
View
|
1
2
3
4
5
6
7
8
|
25 chunks |
+86 lines, -50 lines |
0 comments
|
Download
|
 |
M |
src/pkg/go/printer/nodes.go
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
src/pkg/go/printer/printer.go
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 16
|