swiftlang/swift-syntax

Enhancements to Macro Examples

Opened this issue · 3 comments

Description

  • Add unit tests @Matejkob #2163
  • Make implementations of all macros consistent
  • 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
  • Add an example of Extension Macro @Matejkob #2305

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

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

@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!