Orbits  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Pages
Public Attributes | List of all members
_expr Struct Reference

#include <Python-ast.h>

Public Attributes

enum _expr_kind kind
 
union {
   struct {
      boolop_ty   op
 
      asdl_seq *   values
 
   }   BoolOp
 
   struct {
      expr_ty   left
 
      operator_ty   op
 
      expr_ty   right
 
   }   BinOp
 
   struct {
      unaryop_ty   op
 
      expr_ty   operand
 
   }   UnaryOp
 
   struct {
      arguments_ty   args
 
      expr_ty   body
 
   }   Lambda
 
   struct {
      expr_ty   test
 
      expr_ty   body
 
      expr_ty   orelse
 
   }   IfExp
 
   struct {
      asdl_seq *   keys
 
      asdl_seq *   values
 
   }   Dict
 
   struct {
      asdl_seq *   elts
 
   }   Set
 
   struct {
      expr_ty   elt
 
      asdl_seq *   generators
 
   }   ListComp
 
   struct {
      expr_ty   elt
 
      asdl_seq *   generators
 
   }   SetComp
 
   struct {
      expr_ty   key
 
      expr_ty   value
 
      asdl_seq *   generators
 
   }   DictComp
 
   struct {
      expr_ty   elt
 
      asdl_seq *   generators
 
   }   GeneratorExp
 
   struct {
      expr_ty   value
 
   }   Yield
 
   struct {
      expr_ty   left
 
      asdl_int_seq *   ops
 
      asdl_seq *   comparators
 
   }   Compare
 
   struct {
      expr_ty   func
 
      asdl_seq *   args
 
      asdl_seq *   keywords
 
      expr_ty   starargs
 
      expr_ty   kwargs
 
   }   Call
 
   struct {
      expr_ty   value
 
   }   Repr
 
   struct {
      object   n
 
   }   Num
 
   struct {
      string   s
 
   }   Str
 
   struct {
      expr_ty   value
 
      identifier   attr
 
      expr_context_ty   ctx
 
   }   Attribute
 
   struct {
      expr_ty   value
 
      slice_ty   slice
 
      expr_context_ty   ctx
 
   }   Subscript
 
   struct {
      identifier   id
 
      expr_context_ty   ctx
 
   }   Name
 
   struct {
      asdl_seq *   elts
 
      expr_context_ty   ctx
 
   }   List
 
   struct {
      asdl_seq *   elts
 
      expr_context_ty   ctx
 
   }   Tuple
 
v
 
int lineno
 
int col_offset
 

Member Data Documentation

arguments_ty _expr::args
asdl_seq* _expr::args
identifier _expr::attr
struct { ... } _expr::Attribute
struct { ... } _expr::BinOp
expr_ty _expr::body
struct { ... } _expr::BoolOp
struct { ... } _expr::Call
int _expr::col_offset
asdl_seq* _expr::comparators
struct { ... } _expr::Compare
expr_context_ty _expr::ctx
struct { ... } _expr::Dict
struct { ... } _expr::DictComp
expr_ty _expr::elt
asdl_seq* _expr::elts
expr_ty _expr::func
struct { ... } _expr::GeneratorExp
asdl_seq* _expr::generators
identifier _expr::id
struct { ... } _expr::IfExp
expr_ty _expr::key
asdl_seq* _expr::keys
asdl_seq* _expr::keywords
enum _expr_kind _expr::kind
expr_ty _expr::kwargs
struct { ... } _expr::Lambda
expr_ty _expr::left
int _expr::lineno
struct { ... } _expr::List
struct { ... } _expr::ListComp
object _expr::n
struct { ... } _expr::Name
struct { ... } _expr::Num
boolop_ty _expr::op
operator_ty _expr::op
unaryop_ty _expr::op
expr_ty _expr::operand
asdl_int_seq* _expr::ops
expr_ty _expr::orelse
struct { ... } _expr::Repr
expr_ty _expr::right
string _expr::s
struct { ... } _expr::Set
struct { ... } _expr::SetComp
slice_ty _expr::slice
expr_ty _expr::starargs
struct { ... } _expr::Str
struct { ... } _expr::Subscript
expr_ty _expr::test
struct { ... } _expr::Tuple
struct { ... } _expr::UnaryOp
union { ... } _expr::v
expr_ty _expr::value
asdl_seq* _expr::values
struct { ... } _expr::Yield

The documentation for this struct was generated from the following file:

Copyright 2014 Google Inc. All rights reserved.