Skip to content

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

@christianparpart

Description

@christianparpart

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:

  • struct definition
  • enum definition
  • enum value defintion
  • UDVTs
  • ASTJSON tests for custom errors

Metadata

Metadata

Assignees

Labels

medium effortDefault level of effortmedium impactDefault level of impactmust have eventuallySomething we consider essential but not enough to prevent us from releasing Solidity 1.0 without it.natspec

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions