Module regex_syntax::hir::translate [−][src]
Defines a translator that converts an Ast
to an Hir
.
Re-exports
use std::cell::Cell; |
use std::cell::RefCell; |
use std::result; |
use ast; |
use ast::Ast; |
use ast::Span; |
use ast::Visitor; |
use hir; |
use hir::Error; |
use hir::ErrorKind; |
use hir::Hir; |
use unicode; |
use unicode::ClassQuery; |
Structs
Flags |
A translator's representation of a regular expression's flags at any given moment in time. |
Translator |
A translator maps abstract syntax to a high level intermediate representation. |
TranslatorBuilder |
A builder for constructing an AST->HIR translator. |
TranslatorI |
The internal implementation of a translator. |
Enums
HirFrame |
An HirFrame is a single stack frame, represented explicitly, which is created for each item in the Ast that we traverse. |
Functions
ascii_class | |
hir_ascii_class_bytes |
Type Definitions
Result |