librdesc
Loading...
Searching...
No Matches
Public Attributes | List of all members
rdesc_stack Struct Reference

Default implementation of the token backtracking stack. More...

Public Attributes

size_t len
 
size_t cap
 
struct rdesc_token tokens []
 

Detailed Description

Default implementation of the token backtracking stack.

Note
Portability / Custom Implementation: This definition is guarded by stack feature flag. If you are porting librdesc to an environment that already has a preferred dynamic array or stack implementation (e.g., a project-specific vector type), you can remove the stack feature flag. This allows you to suppress this default struct and provide your own definition of struct rdesc_stack compatible with your system.

Member Data Documentation

◆ cap

size_t rdesc_stack::cap

allocated capacity of the buffer

◆ len

size_t rdesc_stack::len

current number of tokens in the stack

◆ tokens

struct rdesc_token rdesc_stack::tokens[]

pointer to the dynamic array buffer


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