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_edgeedge
 Indexed by byte-class.
 
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).
 

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.

Definition at line 56 of file onepass.hpp.

Member Data Documentation

◆ edge

std::vector<onepass_edge> real::detail::onepass_node::edge

Indexed by byte-class.

Definition at line 58 of file onepass.hpp.

◆ match_assert_mask

std::uint32_t real::detail::onepass_node::match_assert_mask {0}

Assertions that must hold at the end for the match (Tier-B).

Definition at line 61 of file onepass.hpp.

◆ match_cap_mask

std::uint64_t real::detail::onepass_node::match_cap_mask {0}

Slots written when the match is taken.

Definition at line 60 of file onepass.hpp.

◆ matches

bool real::detail::onepass_node::matches {false}

Reaching match from here (via epsilon).

Definition at line 59 of file onepass.hpp.


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