alex-pinkus / tree-sitter-swift

A tree-sitter grammar for the Swift programming language.
MIT License
142 stars 37 forks source link

Recognize `distributed` as a modifier on actors and functions. #380

Closed patrickt closed 7 months ago

patrickt commented 7 months ago

I elected to specify this as a property_modifier given that it's a property of both actors and functions. I considered creating a whole actor_declaration node but that seemed a little much. Happy to move this around if needs be.

image