Open Pzixel opened 3 years ago
Exposing return parameters is a good idea.
astNode
is a private
TypeScript variable but you should still be able to access it in your Handlebars templates. Can you try that and let me know if it works?
I'l give it a shot. Thanks for insight, in my actually work
Current version of
solidity-docgen
exposesast.parameters
asargs
but doesn't expose return values. It's important becausenatspec.returns
only shows return args that were documented which isn't always the case.It may be worthwhile to expose
this.astNode
itself so users can always access what they need from solc output.