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

A byte-level view of a Pike program for the DFA passes: every klass_cp is expanded into UTF-8 byte-range split/klass chains, so a forward DFA can represent it; the Pike program is untouched. eligible is false when an op no DFA can represent is present — the caller keeps the Pike VM. More...

#include <lazy_dfa.hpp>

Public Attributes

std::vector< instr > code
 The expanded byte-only instruction stream.
 
std::vector< char_class > classes
 Byte classes it indexes, including those the trie expansion added.
 
bool eligible {true}
 Representable by the byte DFAs / Tier-A one-pass.
 
bool has_assertions {false}
 A Tier-B build kept assert_position ops (else stripped/declined).
 
bool unicode_word {false}
 Program default word-ness for \b \B \< \> (Tier-B edge conditions).
 

Detailed Description

A byte-level view of a Pike program for the DFA passes: every klass_cp is expanded into UTF-8 byte-range split/klass chains, so a forward DFA can represent it; the Pike program is untouched. eligible is false when an op no DFA can represent is present — the caller keeps the Pike VM.


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