jsweet icon indicating copy to clipboard operation
jsweet copied to clipboard

Add Adapters Programmatically

Open itdv opened this issue 1 year ago • 0 comments

Hi Is there a way to add adapters programmatically to transpiler instance? It would be vary convenient to have such an option, which would allow to treat the whole transpiler process via dedicated code for specific porject, rather than having to use plguins + configuration file. I do see the transpiler has setAdatpters function, but a) it gets List<String> rather than List<Class<PrintAdapter>> b) it's doesn't seems to be working at all - adding values doesn't seem to have any effect, and looking in jsweet code, I cannot find where getAdapters is used

itdv avatar Feb 11 '24 23:02 itdv