Expand description
AST definitions. Because of const-ness, we support only very primitive AST spanning.
Structs§
- Group
Name - Information about a group / capture name.
- Span
- Range of chars. Similar to
Range<usize>, but implementsCopy. - Spanned
- Spanned syntax node.
Enums§
- Counted
Repetition - Information about a counted repetition, e.g.
{2},{2,3}, or{2,}. - Node
- Syntax node of a regular expression.
Type Aliases§
- Syntax
- Linearized syntax tree.