Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Hi! This is Grit's release news so please allow me to only briefly answer your question. > nested syntax sg does not support it natively now and you need API to extract relevant text out.

For update code, I recommend first read the quick start, pattern and rule essentials

https://ast-grep.github.io/guide/quick-start.html

https://ast-grep.github.io/guide/pattern-syntax.html

https://ast-grep.github.io/guide/rule-config.html



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: