ast.h 477 Bytes
Newer Older
Jeremy Hylton's avatar
Jeremy Hylton committed
1 2 3 4 5 6
#ifndef Py_AST_H
#define Py_AST_H
#ifdef __cplusplus
extern "C" {
#endif

7
PyAPI_FUNC(int) PyAST_Validate(mod_ty);
8 9 10 11 12
PyAPI_FUNC(mod_ty) PyAST_FromNode(
    const node *n,
    PyCompilerFlags *flags,
    const char *filename,       /* decoded from the filesystem encoding */
    PyArena *arena);
13 14 15 16 17
PyAPI_FUNC(mod_ty) PyAST_FromNodeObject(
    const node *n,
    PyCompilerFlags *flags,
    PyObject *filename,
    PyArena *arena);
Jeremy Hylton's avatar
Jeremy Hylton committed
18 19 20 21 22

#ifdef __cplusplus
}
#endif
#endif /* !Py_AST_H */