Available on (crate features
syntax-glob
or syntax-ev
or syntax-regex
) and crate feature syntax-regex
only.Modules§
- case
- fold
- literal
- This module provides a regular expression printer for
Hir
. - translate
- Defines a translator that converts an
Ast
to anHir
.
Structs§
- Capture
- The high-level intermediate representation for a capturing group.
- Case
Fold Error - An error that occurs when Unicode-aware simple case folding fails.
- Class
Bytes - A set of characters represented by arbitrary bytes.
- Class
Bytes Iter - An iterator over all ranges in a byte character class.
- Class
Bytes Range - A single range of characters represented by arbitrary bytes.
- Class
Unicode - A set of characters represented by Unicode scalar values.
- Class
Unicode Iter - An iterator over all ranges in a Unicode character class.
- Class
Unicode Range - A single range of characters represented by Unicode scalar values.
- Error
- An error that can occur while translating an
Ast
to aHir
. - Hir
- A high-level intermediate representation (HIR) for a regular expression.
- Literal
- The high-level intermediate representation of a literal.
- LookSet
- A set of look-around assertions.
- Look
SetIter - An iterator over all look-around assertions in a
LookSet
. - Properties
- A type that collects various properties of an HIR value.
- Repetition
- The high-level intermediate representation of a repetition operator.
Enums§
- Class
- The high-level intermediate representation of a character class.
- Dot
- A type describing the different flavors of
.
. - Error
Kind - The type of an error that occurred while building an
Hir
. - HirKind
- The underlying kind of an arbitrary
Hir
expression. - Look
- The high-level intermediate representation for a look-around assertion.
Traits§
- Visitor
- A trait for visiting the high-level IR (HIR) in depth first order.
Functions§
- visit
- Executes an implementation of
Visitor
in constant stack space.