solidity icon indicating copy to clipboard operation
solidity copied to clipboard

[AST] Consider expanding the use of NatSpec documentation to all declarations.

Open christianparpart opened this issue 4 years ago • 23 comments

The motivation behind is, to be able to display additional information about a declaration, not just its type signature.

This might also help documentation.

The relevant AST nodes I'd at least expand to are:

  • [x] struct definitions
  • [x] enum definitions
  • [ ] enum value definitions
  • [ ] UDVTs
  • [ ] ASTJSON tests for custom errors
  • [ ] modules
  • [ ] constant variable definitions

christianparpart avatar Nov 17 '21 15:11 christianparpart