summaryrefslogtreecommitdiffstats
path: root/Include/ast.h
blob: 055e8dc916e1bfd6005bd22188bac5a5620aa8c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef Py_AST_H
#define Py_AST_H
#ifdef __cplusplus
extern "C" {
#endif

PyAPI_FUNC(int) PyAST_Validate(mod_ty);
PyAPI_FUNC(mod_ty) PyAST_FromNode(
    const node *n,
    PyCompilerFlags *flags,
    const char *filename,       /* decoded from the filesystem encoding */
    PyArena *arena);

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