The parser used to parse Ruby source.
A custom memchr implementation.
A generic string type that can have various ownership semantics.
Macro definitions used throughout the prism library.
#define PRISM_EXPORTED_FUNCTION
By default, we compile with -fvisibility=hidden.
The encoding interface and implementations used by the parser.
PRISM_EXPORTED_FUNCTION bool pm_regexp_named_capture_group_names(const uint8_t *source, size_t size, pm_string_list_t *named_captures, bool encoding_changed, const pm_encoding_t *encoding)
Parse a regular expression and extract the names of all of the named capture groups.
This struct defines the functions necessary to implement the encoding interface so we can determine h...