ast.h 477 B

12345678910111213141516171819202122
  1. #ifndef Py_AST_H
  2. #define Py_AST_H
  3. #ifdef __cplusplus
  4. extern "C" {
  5. #endif
  6. PyAPI_FUNC(int) PyAST_Validate(mod_ty);
  7. PyAPI_FUNC(mod_ty) PyAST_FromNode(
  8. const node *n,
  9. PyCompilerFlags *flags,
  10. const char *filename, /* decoded from the filesystem encoding */
  11. PyArena *arena);
  12. PyAPI_FUNC(mod_ty) PyAST_FromNodeObject(
  13. const node *n,
  14. PyCompilerFlags *flags,
  15. PyObject *filename,
  16. PyArena *arena);
  17. #ifdef __cplusplus
  18. }
  19. #endif
  20. #endif /* !Py_AST_H */