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

A one-pass node: one edge per byte-class, plus whether the run may end here and with what captures. Nodes are the points the automaton can be in between byte reads. More...

#include <onepass.hpp>

Public Attributes

std::vector< onepass_edge > edge
 Indexed by byte-class; emptied into onepass_step rows once built.
 
bool matches {false}
 Reaching match from here (via epsilon).
 
std::uint64_t match_cap_mask {0}
 Slots written when the match is taken.
 
std::uint32_t match_assert_mask {0}
 Assertions that must hold at the end for the match (Tier-B).
 
bool edge_before_match {false}
 An edge was reached before the match in priority order.
 
bool edge_after_match {false}
 An edge was reached after it: the match outranks it.
 

Detailed Description

A one-pass node: one edge per byte-class, plus whether the run may end here and with what captures. Nodes are the points the automaton can be in between byte reads.


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