Skip to main content

Crate regast

Crate regast 

Source
Expand description

Regular expressions with first-class pattern ASTs and match parse trees.

Structs§

Builder
ClassRange
ClassSet
Cursor
GroupInfo
NoMatch
NodeId
Stable index into a crate::Pattern arena.
NodeMap
ParseError
ParseTree
ParseTreeWalk
Pattern
An immutable, lossless pattern syntax tree backed by a flat arena.
PtNode
Regast
Span
A half-open byte range in UTF-8 source text.
TraceStep

Enums§

AnchorKind
AstKind
Backend
ClassItem
Disambiguation
Flow
GroupKind
JsonShape
MatchError
ParseErrorKind
PerlClass
PtKind
RepKind

Traits§

Visitor

Functions§

visit
Walk pattern without recursion and drive visitor.