Access docstring within a macro


Is there any way to access the docstring accompanying a macro at call place? It would be something like this:

macro MyMacro(arg)
# Do something with my docs
# It does not mean that I want to append the outer doc to some inner object using Main.@__doc__

"I want to access this docstring"
@MyMacro argument

I have seen this topic, which is closely related, but no response was given:


1 Like