Prism Ruby parser
Loading...
Searching...
No Matches
pm_line_offset_list_t Struct Reference

A list of offsets of the start of lines in a string. More...

#include <line_offset_list.h>

Data Fields

size_t size
 The number of offsets in the list.
size_t capacity
 The capacity of the list that has been allocated.
uint32_t * offsets
 The list of offsets.

Detailed Description

A list of offsets of the start of lines in a string.

The offsets are assumed to be sorted/inserted in ascending order.


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