Devlens is a tool that scan your code to retreive pattern, and store their value and location in a SQLite Database. To find what you want in your code you simply have to create a Annotator based on the AST.
Imagine you are doing a full upgrade of your application and need to be sure you swapped every Old version of a function; Devlens can analyze your whole project and tell you exactly in which file and which lines are your old code.
Maybe you want to be sure you are using only one DB environnement in your project: You can query every DB env import with devlens, it will give you a clear output of every DB env of your project.
The documentation is available at https://soma-smart.github.io/doc-devlens/.