#include <stdbool.h>
#include <Python.h>
#include "pycore_bytesobject.h"
#include "pycore_unicodeobject.h"
#include "lexer/state.h"
#include "pegen.h"
#include "string_parser.h"
static int
warn_invalid_escape_sequence(Parser *p, const char *first_invalid_escape, Token *t)
{ … }
static PyObject *
decode_utf8(const char **sPtr, const char *end)
{ … }
static PyObject *
decode_unicode_with_escapes(Parser *parser, const char *s, size_t len, Token *t)
{ … }
static PyObject *
decode_bytes_with_escapes(Parser *p, const char *s, Py_ssize_t len, Token *t)
{ … }
PyObject *
_PyPegen_decode_string(Parser *p, int raw, const char *s, size_t len, Token *t)
{ … }
PyObject *
_PyPegen_parse_string(Parser *p, Token *t)
{ … }