The parser used to parse Ruby source.
struct pm_parser pm_parser_t
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.
void(*) pm_regexp_name_callback_t(const pm_string_t *name, void *data)
This callback is called by pm_regexp_parse() when a named capture group is found.
void(*) pm_regexp_error_callback_t(const uint8_t *start, const uint8_t *end, const char *message, void *data)
This callback is called by pm_regexp_parse() when a parse error is found.
C99 shim for <stdbool.h>.
A generic string type that can have various ownership semantics.