_mod Struct Reference

#include <Python-ast.h>

Public Attributes

enum _mod_kind kind
 
union {
   struct {
      asdl_seq *   body
 
      asdl_seq *   type_ignores
 
   }   Module
 
   struct {
      asdl_seq *   body
 
   }   Interactive
 
   struct {
      expr_ty   body
 
   }   Expression
 
   struct {
      asdl_seq *   argtypes
 
      expr_ty   returns
 
   }   FunctionType
 
v
 

Member Data Documentation

◆ kind

enum _mod_kind kind

◆ body [1/2]

asdl_seq* body

◆ type_ignores

asdl_seq* type_ignores

◆ 

struct { ... } Module

◆ 

struct { ... } Interactive

◆ body [2/2]

expr_ty body

◆ 

struct { ... } Expression

◆ argtypes

asdl_seq* argtypes

◆ returns

expr_ty returns

◆ 

struct { ... } FunctionType

◆ 

union { ... } v