pulumi/pkg
joeduffy 6ea444fd7c Replace tree-walk-style type binding with token map lookups
Now that we have introduced a full blown token map -- new as of just
a few changes ago -- we can start using it for all of our symbol binding.
This also addresses some order-dependent issues, like intra-module
references looking up symbols that have been registered in the token map
but not necessarily stored in the relevant parent symbols just yet.

Plus, frankly, it's much simpler and uses a hashmap lookup instead of
a fairly complex recursive tree walk.

I've kept the tree walk case, however, to improve diagnostics upon
failure.  This allows us to tell developers, for example, that the reason
a binding failed was due to a missing package.
2017-01-26 16:49:38 -08:00
..
compiler Replace tree-walk-style type binding with token map lookups 2017-01-26 16:49:38 -08:00
config Begin overhauling semantic phases 2017-01-18 12:18:37 -08:00
diag Implement diag.Diagable on MuIL AST nodes 2017-01-17 18:01:11 -08:00
encoding Begin overhauling semantic phases 2017-01-18 12:18:37 -08:00
graph Begin overhauling semantic phases 2017-01-18 12:18:37 -08:00
pack Replace tree-walk-style type binding with token map lookups 2017-01-26 16:49:38 -08:00
tokens Replace tree-walk-style type binding with token map lookups 2017-01-26 16:49:38 -08:00
util Revive some compiler tests 2017-01-26 15:30:08 -08:00
workspace Clean up package URL logic 2017-01-20 11:46:36 -08:00