Factor out module generation.
Move registration code into TModuleGenerator.
Implement header writers.
#include umbrella, not each header separately. Might need Linkdef.h
Also pass Linkdef.h; build sources for pragma parser.
Linkdef files are not passed; fix include, PCM file name.
Silence warning about unused var; will need to add new parameter to RegisterModule().
Reflect new file name.
Fix -D parsing / writing to match what TCling expects.
Do not rely on the declcontext order.
Put the describing headers next to the PCM, delete them afterwards.
Remove unused enum.
Refactor creation of PCM utility headers.
HandleNewDecl() only calls UpdateListOfMethods() for changed TClasses.

So always recreate the list of methods (of a changed TClass as determined by HandleNewDecl()).
Thus no need to check NMethod() because the content of TClingClassInfo and TClass will be identical as the updates are always happening, unconditionally.
Don't cache the value of NMethods().
Remove unused NMethods (var, function, cache)
Added simple tutorial for the TTreeReader(Value)
Removed unused include
Changed for loop to while loop, as the counter was not used
Remove use of global context