swift-syntax icon indicating copy to clipboard operation
swift-syntax copied to clipboard

Enhancements to Macro Examples

Open Matejkob opened this issue 1 year ago • 3 comments

Description

  • [x] Add unit tests @Matejkob #2163
  • [ ] Make implementations of all macros consistent
  • [x] Change nodes modification to use variable setters instead of with approach @Matejkob #2278
  • [ ] Add DocC tutorials for Accessor Macros
  • [ ] Add DocC tutorials for Declaration Macros
  • [ ] Add DocC tutorials for Expression Macros
  • [ ] Add DocC tutorials for Extension Macros
  • [ ] Add DocC tutorials for Member Macros
  • [ ] Add DocC tutorials for MemberAttribute Macros
  • [ ] Add DocC tutorials for Peer Macros
  • [ ] Add an example of Accessor Macro
  • [ ] Add an example of Declaration Macro
  • [x] Add an example of Extension Macro @Matejkob #2305

Matejkob avatar Sep 08 '23 07:09 Matejkob

Tracked in Apple’s issue tracker as rdar://115159302

ahoppen avatar Sep 08 '23 07:09 ahoppen

@Matejkob, is the link to https://github.com/apple/swift-syntax/pull/2168 intentional? Help with unit tests is very welcome — I would be happy to learn from you!

natikgadzhi avatar Sep 10 '23 20:09 natikgadzhi

@Matejkob, is the link to #2168 intentional? Help with unit tests is very welcome — I would be happy to learn from you!

Oh, I've added the wrong link. Thanks!

Matejkob avatar Sep 11 '23 08:09 Matejkob