Is there a way to get the scope of a function/variable in a compiler plugin?

Thanks that worked. I ended up using symbol.owner.ownerChain to get the entire scope.

1 Like