Expand description

Defines an abstract syntax for regular expressions.

Modules

This module provides a regular expression parser.
This module provides a regular expression printer for Ast.

Structs

An alternation of regular expressions.
A single zero-width assertion.
A capture name.
An ASCII character class.
A bracketed character class, e.g., [a-z0-9].
A Perl character class.
A Unicode character class set operation.
A single character class range in a set.
A union of items inside a character class set.
A Unicode character class.
A comment from a regular expression with an associated span.
A concatenation of regular expressions.
An error that occurred while parsing a regular expression into an abstract syntax tree.
A group of flags.
A single item in a group of flags.
A grouped regular expression.
A single literal expression.
A single position in a regular expression.
A repetition operation applied to a regular expression.
The repetition operator itself.
A group of flags that is not applied to a particular regular expression.
Span represents the position information of a single AST item.
An abstract syntax tree for a singular expression along with comments found.

Enums

An assertion kind.
An abstract syntax tree for a single regular expression.
A single character class expression.
The available ASCII character classes.
The available Perl character classes.
A character class set.
The type of a Unicode character class set operation.
A single component of a character class set.
The available forms of Unicode character classes.
The type of op used in a Unicode character class.
The type of an error that occurred while building an AST.
A single flag.
The kind of an item in a group of flags.
The kind of a group.
The type of a Unicode hex literal.
The kind of a single literal expression.
The kind of a repetition operator.
A range repetition operator.
The type of a special literal.

Traits

A trait for visiting an abstract syntax tree (AST) in depth first order.

Functions

Executes an implementation of Visitor in constant stack space.