Cedro
Data Fields
TokenType_array Struct Reference

Data Fields

size_t len
 
size_t capacity
 
TokenType_mut_p start
 

Detailed Description

The constant PADDING_TokenType_ARRAY = 0 defines how many items are physically available after those valid elements.
This can be used to avoid special cases near the end when searching for fixed-length sequences in the array, although you have to set them to 0 or other appropriate value.

Field Documentation

◆ capacity

size_t TokenType_array::capacity

Maximum length before reallocation is needed.

◆ len

size_t TokenType_array::len

Current length, the number of valid elements.

◆ start

TokenType_mut_p TokenType_array::start

The items stored in this array.


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