• Robert Griesemer's avatar
    go/parser: resolve identifiers properly · 1b2c3e66
    Robert Griesemer authored
    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.
    
    R=rsc, rog
    CC=golang-dev
    https://golang.org/cl/4271061
    1b2c3e66
Name
Last commit
Last update
..
ast Loading commit data...
doc Loading commit data...
parser Loading commit data...
printer Loading commit data...
scanner Loading commit data...
token Loading commit data...
typechecker Loading commit data...