Open avodonosov opened 1 year ago
As a workaround I iterate over class-nodes in index, add all their slot-nodes to the index directly, and also adding instances of accessor-node, reader-node and writer -node, for which I defined 3 my own classes. All this code is here:
It may be thought-through better; for example, maybe instead of accessor-node add a pair of reader-node and writer node. Also, for writer-node, in case if user defined it as :writer (setf my-writer)
we could make node-name just my-writer and set setf-p
to true - similar to what docparser does for setf functions, as I understand. Also, maybe those 3 classes should inherit from method-node, or maybe generic-function-node.
But for my case I simply need two readers documented, so currently what I have is enough.
Example, using docparser itself: