compile.h File Reference

Classes

struct  PyCompilerFlags
 
struct  PyFutureFeatures
 
struct  _PyASTOptimizeState
 

Macros

#define PyCF_MASK
 
#define PyCF_MASK_OBSOLETE
 
#define PyCF_SOURCE_IS_UTF8
 
#define PyCF_DONT_IMPLY_DEDENT
 
#define PyCF_ONLY_AST
 
#define PyCF_IGNORE_COOKIE
 
#define PyCF_TYPE_COMMENTS
 
#define PyCF_ALLOW_TOP_LEVEL_AWAIT
 
#define PyCF_COMPILE_MASK
 
#define _PyCompilerFlags_INIT
 
#define FUTURE_NESTED_SCOPES
 
#define FUTURE_GENERATORS
 
#define FUTURE_DIVISION
 
#define FUTURE_ABSOLUTE_IMPORT
 
#define FUTURE_WITH_STATEMENT
 
#define FUTURE_PRINT_FUNCTION
 
#define FUTURE_UNICODE_LITERALS
 
#define FUTURE_BARRY_AS_BDFL
 
#define FUTURE_GENERATOR_STOP
 
#define FUTURE_ANNOTATIONS
 
#define PyAST_Compile(mod, s, f, ar)
 
#define PY_INVALID_STACK_EFFECT
 
#define Py_single_input
 
#define Py_file_input
 
#define Py_eval_input
 
#define Py_func_type_input
 
#define Py_fstring_input
 

Functions

 Py_DEPRECATED (3.9) PyAPI_FUNC(PyCodeObject *) PyNode_Compile(struct _node *
 
 PyAPI_FUNC (PyCodeObject *) PyAST_CompileEx(struct _mod *mod
 
 PyAPI_FUNC (PyFutureFeatures *) PyFuture_FromAST(struct _mod *mod
 
 PyAPI_FUNC (PyObject *) _Py_Mangle(PyObject *p
 
 PyAPI_FUNC (int) PyCompile_OpcodeStackEffect(int opcode
 

Variables

const char * filename
 
const char PyCompilerFlagsflags
 
const char PyCompilerFlags int optimize
 
const char PyCompilerFlags int PyArenaarena
 
PyObjectname
 
int oparg
 
int int jump
 
PyArena _PyASTOptimizeStatestate
 

Macro Definition Documentation

◆ PyCF_MASK

#define PyCF_MASK

◆ PyCF_MASK_OBSOLETE

#define PyCF_MASK_OBSOLETE

◆ PyCF_SOURCE_IS_UTF8

#define PyCF_SOURCE_IS_UTF8

◆ PyCF_DONT_IMPLY_DEDENT

#define PyCF_DONT_IMPLY_DEDENT

◆ PyCF_ONLY_AST

#define PyCF_ONLY_AST

◆ PyCF_IGNORE_COOKIE

#define PyCF_IGNORE_COOKIE

◆ PyCF_TYPE_COMMENTS

#define PyCF_TYPE_COMMENTS

◆ PyCF_ALLOW_TOP_LEVEL_AWAIT

#define PyCF_ALLOW_TOP_LEVEL_AWAIT

◆ PyCF_COMPILE_MASK

#define PyCF_COMPILE_MASK

◆ _PyCompilerFlags_INIT

#define _PyCompilerFlags_INIT

◆ FUTURE_NESTED_SCOPES

#define FUTURE_NESTED_SCOPES

◆ FUTURE_GENERATORS

#define FUTURE_GENERATORS

◆ FUTURE_DIVISION

#define FUTURE_DIVISION

◆ FUTURE_ABSOLUTE_IMPORT

#define FUTURE_ABSOLUTE_IMPORT

◆ FUTURE_WITH_STATEMENT

#define FUTURE_WITH_STATEMENT

◆ FUTURE_PRINT_FUNCTION

#define FUTURE_PRINT_FUNCTION

◆ FUTURE_UNICODE_LITERALS

#define FUTURE_UNICODE_LITERALS

◆ FUTURE_BARRY_AS_BDFL

#define FUTURE_BARRY_AS_BDFL

◆ FUTURE_GENERATOR_STOP

#define FUTURE_GENERATOR_STOP

◆ FUTURE_ANNOTATIONS

#define FUTURE_ANNOTATIONS

◆ PyAST_Compile

#define PyAST_Compile (   mod,
  s,
  f,
  ar 
)

◆ PY_INVALID_STACK_EFFECT

#define PY_INVALID_STACK_EFFECT

◆ Py_single_input

#define Py_single_input

◆ Py_file_input

#define Py_file_input

◆ Py_eval_input

#define Py_eval_input

◆ Py_func_type_input

#define Py_func_type_input

◆ Py_fstring_input

#define Py_fstring_input

Function Documentation

◆ Py_DEPRECATED()

Py_DEPRECATED ( 3.  9)

◆ PyAPI_FUNC() [1/4]

◆ PyAPI_FUNC() [2/4]

PyAPI_FUNC ( PyFutureFeatures )

◆ PyAPI_FUNC() [3/4]

PyAPI_FUNC ( PyObject )

◆ PyAPI_FUNC() [4/4]

PyAPI_FUNC ( int  )

Variable Documentation

◆ filename

PyObject* filename

◆ flags

◆ optimize

◆ arena

PyArena* arena

◆ name

PyObject* name

◆ oparg

int oparg

◆ jump

int int jump

◆ state