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

Reusable, isolated scratch for one level of lookaround evaluation (dynamic only). More...

#include <pike.hpp>

Collaboration diagram for real::detail::lookaround_scratch:
[legend]

Public Attributes

thread_list lists [2]
 Sub-VM thread lists (pcs only; the sub is capture-free).
 
std::vector< eps_entrystack
 Sub-VM epsilon-closure stack.
 

Detailed Description

Reusable, isolated scratch for one level of lookaround evaluation (dynamic only).

Vector-backed, independent of the main scratch's container policy; reset on each evaluation, never sharing the main basic_pike_state. One level suffices — nested lookaround is rejected at compile time. Present only on the dynamic states; the static state has no such member, so the lookaround code is if constexpr-elided there.

Definition at line 278 of file pike.hpp.

Member Data Documentation

◆ lists

thread_list real::detail::lookaround_scratch::lists[2]

Sub-VM thread lists (pcs only; the sub is capture-free).

Definition at line 280 of file pike.hpp.

◆ stack

std::vector<eps_entry> real::detail::lookaround_scratch::stack

Sub-VM epsilon-closure stack.

Definition at line 281 of file pike.hpp.


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