[Pitch] Protocol Macros

Hi! I'm building a mock macro which is attached macro. Macro is declaring on the protocol and creating a mock class with mock implementation of protocol. But there is a problem when the protocol inherits another protocols. Is it possible to get access to ProtocolDeclSyntax of inherited protocols in macro expansion?

For now I have to get AST of inherited protocols using another ways like finding a file where inherited protocols is implemented and receive protocol declaration from regular expression. It's not convenient and this approach takes addition time for searching/mapping.