Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ExeBy/smexe_ro.../usr/include/python3....
File: parsetok.h
[0] Fix | Delete
/* Parser-tokenizer link interface */
[1] Fix | Delete
#ifndef Py_LIMITED_API
[2] Fix | Delete
#ifndef Py_PARSETOK_H
[3] Fix | Delete
#define Py_PARSETOK_H
[4] Fix | Delete
#ifdef __cplusplus
[5] Fix | Delete
extern "C" {
[6] Fix | Delete
#endif
[7] Fix | Delete
[8] Fix | Delete
typedef struct {
[9] Fix | Delete
int error;
[10] Fix | Delete
#ifndef PGEN
[11] Fix | Delete
/* The filename is useless for pgen, see comment in tok_state structure */
[12] Fix | Delete
PyObject *filename;
[13] Fix | Delete
#endif
[14] Fix | Delete
int lineno;
[15] Fix | Delete
int offset;
[16] Fix | Delete
char *text; /* UTF-8-encoded string */
[17] Fix | Delete
int token;
[18] Fix | Delete
int expected;
[19] Fix | Delete
} perrdetail;
[20] Fix | Delete
[21] Fix | Delete
#if 0
[22] Fix | Delete
#define PyPARSE_YIELD_IS_KEYWORD 0x0001
[23] Fix | Delete
#endif
[24] Fix | Delete
[25] Fix | Delete
#define PyPARSE_DONT_IMPLY_DEDENT 0x0002
[26] Fix | Delete
[27] Fix | Delete
#if 0
[28] Fix | Delete
#define PyPARSE_WITH_IS_KEYWORD 0x0003
[29] Fix | Delete
#define PyPARSE_PRINT_IS_FUNCTION 0x0004
[30] Fix | Delete
#define PyPARSE_UNICODE_LITERALS 0x0008
[31] Fix | Delete
#endif
[32] Fix | Delete
[33] Fix | Delete
#define PyPARSE_IGNORE_COOKIE 0x0010
[34] Fix | Delete
#define PyPARSE_BARRY_AS_BDFL 0x0020
[35] Fix | Delete
[36] Fix | Delete
PyAPI_FUNC(node *) PyParser_ParseString(const char *, grammar *, int,
[37] Fix | Delete
perrdetail *);
[38] Fix | Delete
PyAPI_FUNC(node *) PyParser_ParseFile (FILE *, const char *, grammar *, int,
[39] Fix | Delete
const char *, const char *,
[40] Fix | Delete
perrdetail *);
[41] Fix | Delete
[42] Fix | Delete
PyAPI_FUNC(node *) PyParser_ParseStringFlags(const char *, grammar *, int,
[43] Fix | Delete
perrdetail *, int);
[44] Fix | Delete
PyAPI_FUNC(node *) PyParser_ParseFileFlags(
[45] Fix | Delete
FILE *fp,
[46] Fix | Delete
const char *filename, /* decoded from the filesystem encoding */
[47] Fix | Delete
const char *enc,
[48] Fix | Delete
grammar *g,
[49] Fix | Delete
int start,
[50] Fix | Delete
const char *ps1,
[51] Fix | Delete
const char *ps2,
[52] Fix | Delete
perrdetail *err_ret,
[53] Fix | Delete
int flags);
[54] Fix | Delete
PyAPI_FUNC(node *) PyParser_ParseFileFlagsEx(
[55] Fix | Delete
FILE *fp,
[56] Fix | Delete
const char *filename, /* decoded from the filesystem encoding */
[57] Fix | Delete
const char *enc,
[58] Fix | Delete
grammar *g,
[59] Fix | Delete
int start,
[60] Fix | Delete
const char *ps1,
[61] Fix | Delete
const char *ps2,
[62] Fix | Delete
perrdetail *err_ret,
[63] Fix | Delete
int *flags);
[64] Fix | Delete
PyAPI_FUNC(node *) PyParser_ParseFileObject(
[65] Fix | Delete
FILE *fp,
[66] Fix | Delete
PyObject *filename,
[67] Fix | Delete
const char *enc,
[68] Fix | Delete
grammar *g,
[69] Fix | Delete
int start,
[70] Fix | Delete
const char *ps1,
[71] Fix | Delete
const char *ps2,
[72] Fix | Delete
perrdetail *err_ret,
[73] Fix | Delete
int *flags);
[74] Fix | Delete
[75] Fix | Delete
PyAPI_FUNC(node *) PyParser_ParseStringFlagsFilename(
[76] Fix | Delete
const char *s,
[77] Fix | Delete
const char *filename, /* decoded from the filesystem encoding */
[78] Fix | Delete
grammar *g,
[79] Fix | Delete
int start,
[80] Fix | Delete
perrdetail *err_ret,
[81] Fix | Delete
int flags);
[82] Fix | Delete
PyAPI_FUNC(node *) PyParser_ParseStringFlagsFilenameEx(
[83] Fix | Delete
const char *s,
[84] Fix | Delete
const char *filename, /* decoded from the filesystem encoding */
[85] Fix | Delete
grammar *g,
[86] Fix | Delete
int start,
[87] Fix | Delete
perrdetail *err_ret,
[88] Fix | Delete
int *flags);
[89] Fix | Delete
PyAPI_FUNC(node *) PyParser_ParseStringObject(
[90] Fix | Delete
const char *s,
[91] Fix | Delete
PyObject *filename,
[92] Fix | Delete
grammar *g,
[93] Fix | Delete
int start,
[94] Fix | Delete
perrdetail *err_ret,
[95] Fix | Delete
int *flags);
[96] Fix | Delete
[97] Fix | Delete
/* Note that the following functions are defined in pythonrun.c,
[98] Fix | Delete
not in parsetok.c */
[99] Fix | Delete
PyAPI_FUNC(void) PyParser_SetError(perrdetail *);
[100] Fix | Delete
PyAPI_FUNC(void) PyParser_ClearError(perrdetail *);
[101] Fix | Delete
[102] Fix | Delete
#ifdef __cplusplus
[103] Fix | Delete
}
[104] Fix | Delete
#endif
[105] Fix | Delete
#endif /* !Py_PARSETOK_H */
[106] Fix | Delete
#endif /* !Py_LIMITED_API */
[107] Fix | Delete
[108] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function