Prism Ruby parser
Loading...
Searching...
No Matches
Data Fields
pm_newline_list_t Struct Reference

A list of offsets of newlines in a string. More...

#include <pm_newline_list.h>

Data Fields

const uint8_t * start
 A pointer to the start of the source string.
 
size_t size
 The number of offsets in the list.
 
size_t capacity
 The capacity of the list that has been allocated.
 
size_t * offsets
 The list of offsets.
 

Detailed Description

A list of offsets of newlines 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: