Ruby  3.4.0dev (2024-12-06 revision 892c46283a5ea4179500d951c9d4866c0051f27b)
pm_strpbrk.h
Go to the documentation of this file.
1 
6 #ifndef PRISM_STRPBRK_H
7 #define PRISM_STRPBRK_H
8 
9 #include "prism/defines.h"
10 #include "prism/diagnostic.h"
11 #include "prism/parser.h"
12 
13 #include <stddef.h>
14 #include <string.h>
15 
44 const uint8_t * pm_strpbrk(pm_parser_t *parser, const uint8_t *source, const uint8_t *charset, ptrdiff_t length, bool validate);
45 
46 #endif
A list of diagnostics generated during parsing.
The parser used to parse Ruby source.
const uint8_t * pm_strpbrk(pm_parser_t *parser, const uint8_t *source, const uint8_t *charset, ptrdiff_t length, bool validate)
Here we have rolled our own version of strpbrk.
Definition: pm_strpbrk.c:194
Macro definitions used throughout the prism library.
This struct represents the overall parser.
Definition: parser.h:640