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

The baked DFA tables produced by dfa_build. More...

#include <dfa.hpp>

Public Attributes

std::array< std::uint8_t, 256 > byte_class {}
 
std::size_t num_classes {0}
 
std::vector< std::uint32_t > trans
 [state*num_classes + cls] -> next state (0 = dead).
 
std::vector< std::uint32_t > accept
 accept[state] = rule index, or NO_RULE.
 
std::uint32_t start {0}
 
std::size_t num_states {0}
 
std::size_t rule_count {0}
 

Detailed Description

The baked DFA tables produced by dfa_build.

Definition at line 316 of file dfa.hpp.

Member Data Documentation

◆ accept

std::vector<std::uint32_t> real::detail::dfa_tables::accept

accept[state] = rule index, or NO_RULE.

Definition at line 321 of file dfa.hpp.

◆ byte_class

std::array<std::uint8_t, 256> real::detail::dfa_tables::byte_class {}

Definition at line 318 of file dfa.hpp.

◆ num_classes

std::size_t real::detail::dfa_tables::num_classes {0}

Definition at line 319 of file dfa.hpp.

◆ num_states

std::size_t real::detail::dfa_tables::num_states {0}

Definition at line 323 of file dfa.hpp.

◆ rule_count

std::size_t real::detail::dfa_tables::rule_count {0}

Definition at line 324 of file dfa.hpp.

◆ start

std::uint32_t real::detail::dfa_tables::start {0}

Definition at line 322 of file dfa.hpp.

◆ trans

std::vector<std::uint32_t> real::detail::dfa_tables::trans

[state*num_classes + cls] -> next state (0 = dead).

Definition at line 320 of file dfa.hpp.


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