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

Byte-class alphabet over a Pike program: bytes that satisfy exactly the same byte/klass predicates share a class, so the DFA transitions over classes instead of 256 raw bytes. The same reduction real::dfa uses, computed here from the Pike program's own ops. More...

#include <lazy_dfa.hpp>

Public Attributes

std::array< std::uint8_t, 256 > of {}
 byte -> class index.
 
std::uint16_t count {0}
 number of distinct classes.
 

Detailed Description

Byte-class alphabet over a Pike program: bytes that satisfy exactly the same byte/klass predicates share a class, so the DFA transitions over classes instead of 256 raw bytes. The same reduction real::dfa uses, computed here from the Pike program's own ops.


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