REAL
Regular Expression Algorithmic Library — constexpr C++20 regex
Loading...
Searching...
No Matches
real::detail::inner_literal_detail::walk_state Struct Reference

Extraction state threaded through the walk: the growing byte run, the best literal so far, and the top-level concat child each run began at (so the winner carries its prefix boundary). More...

#include <inner_literal.hpp>

Collaboration diagram for real::detail::inner_literal_detail::walk_state:
[legend]

Public Attributes

std::vector< std::uint8_t > run
 Literal bytes accumulated since the last flush.
 
inner_literal best
 Best run scored so far; best.len == 0 until one is kept.
 
std::int32_t run_top {-1}
 Top-level child where the current run began (-1 = nested).
 
std::int32_t best_top {-1}
 Top-level child where the winning run began.
 

Detailed Description

Extraction state threaded through the walk: the growing byte run, the best literal so far, and the top-level concat child each run began at (so the winner carries its prefix boundary).


The documentation for this struct was generated from the following file: