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

IL: the per-haystack guard fields the inner-literal route needs, for a compile-time storage. More...

#include <storage.hpp>

Public Attributes

const void * il_text {nullptr}
 IL: the haystack il_abandoned refers to.
 
bool il_abandoned {false}
 IL: a guard tripped on this haystack — stay on the core.
 
std::uint32_t il_density_cands {}
 IL candidates seen on this haystack.
 
std::size_t il_density_origin {npos}
 First IL candidate byte offset this haystack.
 

Detailed Description

IL: the per-haystack guard fields the inner-literal route needs, for a compile-time storage.

Scalars only — no il_prefix_rev, because that storage has no per-regex immutables and so never builds a reverse DFA: the reverse-confirm sub-case declines and hands back to the core VM, while a candidate-free (no-match) sweep stays on memmem. Their presence in the scratch type is also what admits the storage to the route at all (the requires gate in pike_vm::run).


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