prism icon indicating copy to clipboard operation
prism copied to clipboard

Add Doxygen `\memberof` annotations

Open amomchilov opened this issue 1 year ago • 1 comments
trafficstars

Doxygen's \memberof command lets you associate C functions to types, to make them render as if they were actual methods. This is in a similar spirit to \extends, which we use to simulate inheritance from pm_node.

Demo:

image

It's possible to hide the PRISM_EXPORTED_FUNCTION macro spam from these return types, but I'll do that in a separate PR.

amomchilov avatar Aug 30 '24 20:08 amomchilov

@kddnewton Ready for re-review

amomchilov avatar Oct 04 '24 15:10 amomchilov

Superseded by https://github.com/ruby/prism/pull/3641

kddnewton avatar Sep 12 '25 19:09 kddnewton