Comment Comment by spookylukey The project pyastgrep https://pyastgrep.readthedocs.io/en/latest/ can use CSS selectors as a query language for Python syntax (default is XPath).e.g.:pyastgrep --css 'Call > func > Name#main' parent spookylukey 6 months ago
e.g.:
pyastgrep --css 'Call > func > Name#main'