Module regex_syntax::hir [−][src]
Defines a high-level intermediate representation for regular expressions.
Re-exports
use std::char; |
use std::cmp; |
use std::error; |
use std::fmt; |
use std::u8; |
use ast::Span; |
use hir::interval::Interval; |
use hir::interval::IntervalSet; |
use hir::interval::IntervalSetIter; |
use unicode; |
Modules
| interval | |
| literal |
Provides routines for extracting literal prefixes and suffixes from an |
|
This module provides a regular expression printer for |
|
| translate |
Defines a translator that converts an |
| visitor |
Structs
| ClassBytes |
A set of characters represented by arbitrary bytes (where one byte corresponds to one character). |
| ClassBytesIter |
An iterator over all ranges in a byte character class. |
| ClassBytesRange |
A single range of characters represented by arbitrary bytes. |
| ClassUnicode |
A set of characters represented by Unicode scalar values. |
| ClassUnicodeIter |
An iterator over all ranges in a Unicode character class. |
| ClassUnicodeRange |
A single range of characters represented by Unicode scalar values. |
| Error |
An error that can occur while translating an |
| Group |
The high-level intermediate representation for a group. |
| Hir |
A high-level intermediate representation (HIR) for a regular expression. |
| HirInfo |
A type that documents various attributes of an HIR expression. |
| Repetition |
The high-level intermediate representation of a repetition operator. |
Enums
| Anchor |
The high-level intermediate representation for an anchor assertion. |
| Class |
The high-level intermediate representation of a character class. |
| ErrorKind |
The type of an error that occurred while building an |
| GroupKind |
The kind of group. |
| HirKind |
The kind of an arbitrary |
| Literal |
The high-level intermediate representation of a literal. |
| RepetitionKind |
The kind of a repetition operator. |
| RepetitionRange |
The kind of a counted repetition operator. |
| WordBoundary |
The high-level intermediate representation for a word-boundary assertion. |
Traits
| Visitor |
A trait for visiting the high-level IR (HIR) in depth first order. |
Functions
| visit |
Executes an implementation of |