Hello, everybody!
I want to write a script that takes a directory with swift files, finds all classes, structs, and protocols there, and renames them adding a prefix at the beginning of their names.
I can come up with some regex that can find all the identifiers I need and replace them with ones with prefixes. However, I heard that I can use sourcekit to facilitate this task. Can you please point at some tutorial or documentation that can help me with this?