GritQL Language Documentation

GritQL language is Grit's embedded query language for searching and transforming source code. It is designed to match developer intuition wherever possible, reducing the overhead of adding it to your stack, while offering the power and versatility to execute complex transformations in just a few lines of code.

The best place to start for writing custom GritQL patterns is the tutorial.