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

One NFA instruction. Field meaning depends on op. More...

Public Attributes

opcode op
 The operation.
 
std::uint8_t arg8 {}
 Byte literal, or assert_kind, depending on op.
 
std::uint16_t arg16 {}
 Class index (klass) or capture slot (save).
 
std::int32_t primary_target {}
 Primary branch target (split/jump).
 
std::int32_t secondary_target {}
 Secondary branch target (split).
 

Detailed Description

One NFA instruction. Field meaning depends on op.

Definition at line 250 of file program.hpp.

Member Data Documentation

◆ arg16

std::uint16_t real::detail::instr::arg16 {}

Class index (klass) or capture slot (save).

Definition at line 254 of file program.hpp.

◆ arg8

std::uint8_t real::detail::instr::arg8 {}

Byte literal, or assert_kind, depending on op.

Definition at line 253 of file program.hpp.

◆ op

opcode real::detail::instr::op

The operation.

Definition at line 252 of file program.hpp.

◆ primary_target

std::int32_t real::detail::instr::primary_target {}

Primary branch target (split/jump).

Definition at line 255 of file program.hpp.

◆ secondary_target

std::int32_t real::detail::instr::secondary_target {}

Secondary branch target (split).

Definition at line 256 of file program.hpp.


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