Prism Ruby parser
Loading...
Searching...
No Matches
include
prism
util
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
defines.h
Macro definitions used throughout the prism library.
diagnostic.h
A list of diagnostics generated during parsing.
parser.h
The parser used to parse Ruby source.
pm_strpbrk
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
pm_parser
This struct represents the overall parser.
Definition
parser.h:640
Generated by
1.9.8