/* Parser-tokenizer link interface */
/* The filename is useless for pgen, see comment in tok_state structure */
char *text; /* UTF-8-encoded string */
#define PyPARSE_YIELD_IS_KEYWORD 0x0001
#define PyPARSE_DONT_IMPLY_DEDENT 0x0002
#define PyPARSE_WITH_IS_KEYWORD 0x0003
#define PyPARSE_PRINT_IS_FUNCTION 0x0004
#define PyPARSE_UNICODE_LITERALS 0x0008
#define PyPARSE_IGNORE_COOKIE 0x0010
#define PyPARSE_BARRY_AS_BDFL 0x0020
PyAPI_FUNC(node *) PyParser_ParseString(const char *, grammar *, int,
PyAPI_FUNC(node *) PyParser_ParseFile (FILE *, const char *, grammar *, int,
const char *, const char *,
PyAPI_FUNC(node *) PyParser_ParseStringFlags(const char *, grammar *, int,
PyAPI_FUNC(node *) PyParser_ParseFileFlags(
const char *filename, /* decoded from the filesystem encoding */
PyAPI_FUNC(node *) PyParser_ParseFileFlagsEx(
const char *filename, /* decoded from the filesystem encoding */
PyAPI_FUNC(node *) PyParser_ParseFileObject(
PyAPI_FUNC(node *) PyParser_ParseStringFlagsFilename(
const char *filename, /* decoded from the filesystem encoding */
PyAPI_FUNC(node *) PyParser_ParseStringFlagsFilenameEx(
const char *filename, /* decoded from the filesystem encoding */
PyAPI_FUNC(node *) PyParser_ParseStringObject(
/* Note that the following functions are defined in pythonrun.c,
PyAPI_FUNC(void) PyParser_SetError(perrdetail *);
PyAPI_FUNC(void) PyParser_ClearError(perrdetail *);
#endif /* !Py_PARSETOK_H */
#endif /* !Py_LIMITED_API */