Expand description
A library that recognizes pairs of brackets and determines if a position is inside or outside brackets in text.
This library uses tree-sitter for parsing and provides a simple API to analyze text and determine the bracket state at the end of the input.
Re-exports§
Structs§
- Bracket
Parser - A parser that can analyze text to determine if positions are inside or outside brackets.
Enums§
- Bracket
State - An enum to represent the two possible states for a position in text.