matchPatterns property
Patterns retained only for matches. Capture-only highlighting keeps using the compact maps above, while the match API preserves patterns with no captures and their upstream pattern indices.
Implementation
final List<TreeSitterStructuralQueryPattern> matchPatterns;