Open e28eta opened 3 weeks ago
Neat project! I think it's possible to look up the containingClassName, either now or soon: https://forums.swift.org/t/macros-accessing-the-parent-context-of-a-syntax-node-passed-to-a-macro/64443/26
containingClassName
It'd be a small improvement in usability, I think.
That looks really nice and easy to use. Will take a look at it and might open a PR if/when its possible. Thanks for your help!
Neat project! I think it's possible to look up the
containingClassName
, either now or soon: https://forums.swift.org/t/macros-accessing-the-parent-context-of-a-syntax-node-passed-to-a-macro/64443/26It'd be a small improvement in usability, I think.