You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
procthing() =## This doc comment will get dumpeddiscardtypeFoo=enum## Top-level description for Foo
bar ## Field comment
baz ## Another field comment
qux
Appropriate documentation comments will get generated for both the procedure and the enum, however when we use dumpTree:
StmtListProcDefIdent"thing"EmptyEmptyFormalParamsEmptyEmptyEmptyStmtListCommentStmt"This doc comment will get dumped"DiscardStmtEmptyTypeSectionTypeDefIdent"Foo"EmptyEnumTyEmptyIdent"bar"Ident"baz"Ident"qux"
There appears to be no available way for a macro (if there is, it is undocumented and doesn't work with dumpTree) to be able to generate doc comments for enums, either in terms of the top-level description of the enum or comments on each of the enumerator values.
Adding doc comment support to enum nodes will give users fuller controller over the generated documentation that comes out of code produced by a marco.
The text was updated successfully, but these errors were encountered:
Potentially related to #12353.
Appropriate documentation comments will get generated for both the procedure and the enum, however when we use
dumpTree
:There appears to be no available way for a macro (if there is, it is undocumented and doesn't work with
dumpTree
) to be able to generate doc comments for enums, either in terms of the top-level description of the enum or comments on each of the enumerator values.Adding doc comment support to enum nodes will give users fuller controller over the generated documentation that comes out of code produced by a marco.
The text was updated successfully, but these errors were encountered: