Question about SourceKit structure output

Hello,

My goal is to find out all redundant references to `self`. To achieve this
I need to know if a self reference is captured by closure or it is not.
Unfortunately, structural output lacks of any information about a closure
declared in a method. Any advices are welcome.

Example: https://gist.github.com/HeMet/1ffd06b58e184071720e85514f46917d