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

Computes byte-equivalence classes: two bytes are equivalent iff they satisfy the same consuming predicates (every klass test and every byte literal). Reduces the alphabet so the DFA is built over classes, not 256. More...

#include <dfa.hpp>

Public Attributes

std::array< std::uint8_t, 256 > of {}
 
std::array< std::uint8_t, 256 > rep {}
 
std::size_t count {0}
 

Detailed Description

Computes byte-equivalence classes: two bytes are equivalent iff they satisfy the same consuming predicates (every klass test and every byte literal). Reduces the alphabet so the DFA is built over classes, not 256.

Definition at line 254 of file dfa.hpp.

Member Data Documentation

◆ count

std::size_t real::detail::dfa_byte_classes::count {0}

Definition at line 258 of file dfa.hpp.

◆ of

std::array<std::uint8_t, 256> real::detail::dfa_byte_classes::of {}

Definition at line 256 of file dfa.hpp.

◆ rep

std::array<std::uint8_t, 256> real::detail::dfa_byte_classes::rep {}

Definition at line 257 of file dfa.hpp.


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