Skip to main content

Crate regast_syntax

Crate regast_syntax 

Source
Expand description

Lossless regular-expression syntax trees.

Re-exports§

pub use print::JsonShape;

Modules§

print

Structs§

Ancestors
Children
ClassRange
ClassSet
Cursor
GroupInfo
Node
NodeId
Stable index into a crate::Pattern arena.
NodeMap
ParseError
Pattern
An immutable, lossless pattern syntax tree backed by a flat arena.
Span
A half-open byte range in UTF-8 source text.
Walk

Enums§

AnchorKind
AstKind
ClassItem
Flow
GroupKind
ParseErrorKind
PerlClass
RepKind

Traits§

Visitor

Functions§

parse
Parse a regular-expression pattern.
visit
Walk pattern without recursion and drive visitor.