Understanding Tree-sitter Query Syntax

Tree-sitter offers a flexible query system to extract information from syntax trees. This system is built around patterns written in a…