Source to ASTMatcher

Source to ASTMatcher

Hi,

I am interested in converting source lines (file:line:col) to
libASTMatcher style declarative queries. Are there any recommendations
for how to go about this task?

My initial thoughts were to use -ast-dump-filter on the source code to
select AST segments of interest, and subsequently manually craft a
ASTMatcher query based on it, but the former works on Qualified Decl
names only. Thoughts welcome :-)