The different contexts of gmock are used to keep track of the parsed and generated types. To improve the code some improvements should be made:
- generate all type inside context (not inside the
ToTokens trait)
- check if the names of the members of the context matches the place where it is used (remove/rename unneeded/confusing members)