Revision f415aa1eef091db099a661a187646b1a76878487 authored by Miss Islington (bot) on 17 November 2018, 12:31:47 UTC, committed by GitHub on 17 November 2018, 12:31:47 UTC
(cherry picked from commit 38df97a03c5102e717a110ab69bff8e5c9ebfd08) Co-authored-by: Steve Dower <steve.dower@microsoft.com>
1 parent 3a600d2
ast.h
#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);
PyAPI_FUNC(mod_ty) PyAST_FromNodeObject(
const node *n,
PyCompilerFlags *flags,
PyObject *filename,
PyArena *arena);
#ifndef Py_LIMITED_API
/* _PyAST_ExprAsUnicode is defined in ast_unparse.c */
PyAPI_FUNC(PyObject *) _PyAST_ExprAsUnicode(expr_ty);
#endif /* !Py_LIMITED_API */
#ifdef __cplusplus
}
#endif
#endif /* !Py_AST_H */
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...