Descriptiongo/parser: resolve identifiers properly
Correctly distinguish between lhs and rhs identifiers
and resolve/declare them accordingly.
Collect field and method names in respective scopes
(will be available after some minor AST API changes).
Also collect imports since it's useful to have that
list directly w/o having to re-traverse the AST
(will also be available after some minor AST API changes).
No external API changes in this CL.
Patch Set 1 #Patch Set 2 : diff -r 31eae9ad9d23 https://go.googlecode.com/hg/ #Patch Set 3 : diff -r 31eae9ad9d23 https://go.googlecode.com/hg/ #Patch Set 4 : diff -r 31eae9ad9d23 https://go.googlecode.com/hg/ #Patch Set 5 : diff -r 31eae9ad9d23 https://go.googlecode.com/hg/ #
Total comments: 4
Patch Set 6 : diff -r 31d7feb9281b https://go.googlecode.com/hg/ #MessagesTotal messages: 11
|