xamarin / binding-tools-for-swift

MIT License
157 stars 21 forks source link

[reflection] consider removing XML parsing #802

Open stephen-hawley opened 9 months ago

stephen-hawley commented 9 months ago

When parsing in .swiftinterface files we generate XML which we turn around and parse into the *Declaration classes. We can eliminate the XML parsing by generating the *Declaration classes directly. Generating the XML reflection is still an option which we should support, but that can be done by dumping out all of the classes using ModuleDeclaration as the root.