Clean up CodeGenerator
by moving compilation-global data and logic to Context
#1190
Open
mzabaluev wants to merge 4 commits intotokio-rs:masterfrom mzabaluev:codegen-context
+355-199