1#ifndef PRISM_INTERNAL_OPTIONS_H
2#define PRISM_INTERNAL_OPTIONS_H
28 PM_OPTIONS_VERSION_UNSET = 0,
31 PM_OPTIONS_VERSION_CRUBY_3_3 = 1,
34 PM_OPTIONS_VERSION_CRUBY_3_4 = 2,
37 PM_OPTIONS_VERSION_CRUBY_3_5 = 3,
40 PM_OPTIONS_VERSION_CRUBY_4_0 = 3,
43 PM_OPTIONS_VERSION_CRUBY_4_1 = 4,
46 PM_OPTIONS_VERSION_LATEST = PM_OPTIONS_VERSION_CRUBY_4_1
47} pm_options_version_t;
61 void *shebang_callback_data;
94 pm_options_version_t version;
106 int8_t frozen_string_literal;
113 bool encoding_locked;
210void pm_options_read(
pm_options_t *options,
const char *data);
The options that can be passed to parsing.
void(* pm_options_shebang_callback_t)(pm_options_t *options, const uint8_t *source, size_t length, void *shebang_callback_data)
The callback called when additional switches are found in a shebang comment that need to be processed...
A generic string type that can have various ownership semantics.