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
 
inner_literal best
 
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).

Definition at line 50 of file inner_literal.hpp.

Member Data Documentation

◆ best

inner_literal real::detail::inner_literal_detail::walk_state::best

Definition at line 53 of file inner_literal.hpp.

◆ best_top

std::int32_t real::detail::inner_literal_detail::walk_state::best_top {-1}

Top-level child where the winning run began.

Definition at line 55 of file inner_literal.hpp.

◆ run

std::vector<std::uint8_t> real::detail::inner_literal_detail::walk_state::run

Definition at line 52 of file inner_literal.hpp.

◆ run_top

std::int32_t real::detail::inner_literal_detail::walk_state::run_top {-1}

Top-level child where the current run began (-1 = nested).

Definition at line 54 of file inner_literal.hpp.


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