libsnobol4 1.0.2
High-performance SNOBOL4-style pattern matching library
Loading...
Searching...
No Matches
choice Struct Reference

Legacy full-snapshot choice stack entry. More...

#include <vm.h>

Public Attributes

size_t ip
size_t pos
size_t cap_start_snapshot [MAX_CAPS]
size_t cap_end_snapshot [MAX_CAPS]
size_t var_count_snapshot
uint32_t counters_snapshot [MAX_LOOPS]
size_t loop_last_pos_snapshot [MAX_LOOPS]
uint8_t max_cap_used_snapshot
uint8_t max_counter_used_snapshot

Detailed Description

Legacy full-snapshot choice stack entry.

Used when use_compact_choice is false (SNOBOL_LEGACY_CHOICE=1). Stores a complete copy of all capture, variable, and counter state.

Definition at line 395 of file vm.h.

Member Data Documentation

◆ cap_end_snapshot

size_t choice::cap_end_snapshot[MAX_CAPS]

Definition at line 399 of file vm.h.

◆ cap_start_snapshot

size_t choice::cap_start_snapshot[MAX_CAPS]

Definition at line 398 of file vm.h.

◆ counters_snapshot

uint32_t choice::counters_snapshot[MAX_LOOPS]

Definition at line 401 of file vm.h.

◆ ip

size_t choice::ip

Definition at line 396 of file vm.h.

◆ loop_last_pos_snapshot

size_t choice::loop_last_pos_snapshot[MAX_LOOPS]

Definition at line 402 of file vm.h.

◆ max_cap_used_snapshot

uint8_t choice::max_cap_used_snapshot

Definition at line 403 of file vm.h.

◆ max_counter_used_snapshot

uint8_t choice::max_counter_used_snapshot

Definition at line 404 of file vm.h.

◆ pos

size_t choice::pos

Definition at line 397 of file vm.h.

◆ var_count_snapshot

size_t choice::var_count_snapshot

Definition at line 400 of file vm.h.


The documentation for this struct was generated from the following file:
  • core/include/snobol/vm.h