Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <python27/asdl.h>
- typedef struct _mod *mod_ty;
- typedef struct _stmt *stmt_ty;
- typedef struct _expr *expr_ty;
- enum _mod_kind {
- Module_kind = 1, Interactive_kind = 2, Expression_kind = 3,
- Suite_kind = 4
- };
- struct _mod {
- enum _mod_kind kind;
- union {
- struct {
- asdl_seq *body;
- } Module;
- struct {
- asdl_seq *body;
- } Interactive;
- struct {
- expr_ty body;
- } Expression;
- struct {
- asdl_seq *body;
- } Suite;
- } v;
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement