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

The union NFA over all the patterns, flattened into one address space. More...

#include <dfa.hpp>

Public Attributes

std::vector< dfa_instrcode
 
std::vector< char_classclasses
 
std::vector< std::int64_t > accept_rule
 accept_rule[pc] = rule index if match, else -1.
 
std::vector< std::size_t > entry
 entry[rule] = global pc of its pc 0.
 
std::size_t rule_count {0}
 

Detailed Description

The union NFA over all the patterns, flattened into one address space.

Definition at line 92 of file dfa.hpp.

Member Data Documentation

◆ accept_rule

std::vector<std::int64_t> real::detail::dfa_nfa::accept_rule

accept_rule[pc] = rule index if match, else -1.

Definition at line 96 of file dfa.hpp.

◆ classes

std::vector<char_class> real::detail::dfa_nfa::classes

Definition at line 95 of file dfa.hpp.

◆ code

std::vector<dfa_instr> real::detail::dfa_nfa::code

Definition at line 94 of file dfa.hpp.

◆ entry

std::vector<std::size_t> real::detail::dfa_nfa::entry

entry[rule] = global pc of its pc 0.

Definition at line 97 of file dfa.hpp.

◆ rule_count

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

Definition at line 98 of file dfa.hpp.


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