, AST , .
, ,
. , vgrep.
But it gets even worse because you are asking for a cross-language implementation and that will make it harder. However, gcc uses the same abstract representation for everything, so it should not be imagined.
However, I do not know such a tool.
source
share