REAL
Regular Expression Algorithmic Library — constexpr C++20 regex
Loading...
Searching...
No Matches
real::detail::program_view Struct Reference
Collaboration diagram for real::detail::program_view:
[legend]

Public Attributes

std::span< const instrcode
 The instruction stream (main + lookaround regions).
 
std::span< const char_classclasses
 Interned character classes.
 
std::span< const named_groupnames
 Named capture groups.
 
std::span< const lookaround_sublookarounds
 Bounded lookaround sub-programs (regions of code).
 
std::span< const cp_classcp_classes
 Match-time code-point classes (for klass_cp).
 
std::span< const code_rangecp_ranges
 Flat range buffer the cp_class slices index into.
 
std::span< const instrprefix_code
 IL: inner-literal prefix sub-program (the reverse start-finder). Empty unless there is a required literal with a top-level prefix. Dynamic-only.
 
std::span< const char_classprefix_classes
 IL: classes for prefix_code.
 
std::span< const cp_classprefix_cp_classes
 IL: code-point classes for prefix_code.
 
std::span< const code_rangeprefix_cp_ranges
 IL: flat range buffer for prefix_cp_classes.
 
std::uint16_t slot_count {2}
 2 * (capture groups + 1).
 
bool byte_mode {}
 flags::bytes mode — positions are raw bytes.
 
bool unicode_word {}
 \b \B \< \> use Unicode word-ness (text mode, not bytes / re.A).
 
pattern_hints hints
 Search-acceleration hints.
 
regex_immutablesimmut {nullptr}
 Per-regex DFA/one-pass cache (dynamic storage only; else null).
 

Detailed Description

Definition at line 345 of file program.hpp.

Member Data Documentation

◆ byte_mode

bool real::detail::program_view::byte_mode {}

flags::bytes mode — positions are raw bytes.

Definition at line 358 of file program.hpp.

◆ classes

std::span<const char_class> real::detail::program_view::classes

Interned character classes.

Definition at line 348 of file program.hpp.

◆ code

std::span<const instr> real::detail::program_view::code

The instruction stream (main + lookaround regions).

Definition at line 347 of file program.hpp.

◆ cp_classes

std::span<const cp_class> real::detail::program_view::cp_classes

Match-time code-point classes (for klass_cp).

Definition at line 351 of file program.hpp.

◆ cp_ranges

std::span<const code_range> real::detail::program_view::cp_ranges

Flat range buffer the cp_class slices index into.

Definition at line 352 of file program.hpp.

◆ hints

pattern_hints real::detail::program_view::hints

Search-acceleration hints.

Definition at line 360 of file program.hpp.

◆ immut

regex_immutables* real::detail::program_view::immut {nullptr}

Per-regex DFA/one-pass cache (dynamic storage only; else null).

Definition at line 361 of file program.hpp.

◆ lookarounds

std::span<const lookaround_sub> real::detail::program_view::lookarounds

Bounded lookaround sub-programs (regions of code).

Definition at line 350 of file program.hpp.

◆ names

std::span<const named_group> real::detail::program_view::names

Named capture groups.

Definition at line 349 of file program.hpp.

◆ prefix_classes

std::span<const char_class> real::detail::program_view::prefix_classes

IL: classes for prefix_code.

Definition at line 354 of file program.hpp.

◆ prefix_code

std::span<const instr> real::detail::program_view::prefix_code

IL: inner-literal prefix sub-program (the reverse start-finder). Empty unless there is a required literal with a top-level prefix. Dynamic-only.

Definition at line 353 of file program.hpp.

◆ prefix_cp_classes

std::span<const cp_class> real::detail::program_view::prefix_cp_classes

IL: code-point classes for prefix_code.

Definition at line 355 of file program.hpp.

◆ prefix_cp_ranges

std::span<const code_range> real::detail::program_view::prefix_cp_ranges

IL: flat range buffer for prefix_cp_classes.

Definition at line 356 of file program.hpp.

◆ slot_count

std::uint16_t real::detail::program_view::slot_count {2}

2 * (capture groups + 1).

Definition at line 357 of file program.hpp.

◆ unicode_word

bool real::detail::program_view::unicode_word {}

\b \B \< \> use Unicode word-ness (text mode, not bytes / re.A).

Definition at line 359 of file program.hpp.


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