Package compiler :: Module ast
[hide private]
[frames] | no frames]

Module ast

Python abstract syntax node definitions

This file is automatically generated by Tools/compiler/astgen.py

Classes [hide private]
  Node
Abstract base class for ast nodes.
  EmptyNode
  Expression
  Add
  And
  AssAttr
  AssList
  AssName
  AssTuple
  Assert
  Assign
  AugAssign
  Backquote
  Bitand
  Bitor
  Bitxor
  Break
  CallFunc
  Class
  Compare
  Const
  Continue
  Decorators
  Dict
  Discard
  Div
  Ellipsis
  Exec
  FloorDiv
  For
  From
  Function
  GenExpr
  GenExprFor
  GenExprIf
  GenExprInner
  Getattr
  Global
  If
  IfExp
  Import
  Invert
  Keyword
  Lambda
  LeftShift
  List
  ListComp
  ListCompFor
  ListCompIf
  Mod
  Module
  Mul
  Name
  Not
  Or
  Pass
  Power
  Print
  Printnl
  Raise
  Return
  RightShift
  Slice
  Sliceobj
  Stmt
  Sub
  Subscript
  TryExcept
  TryFinally
  Tuple
  UnaryAdd
  UnarySub
  While
  With
  Yield
  obj
Functions [hide private]
 
flatten(seq)
 
flatten_nodes(seq)
Variables [hide private]
  nodes = {'expression': 'Expression'}
  name = 'If'

Imports: CO_VARARGS, CO_VARKEYWORDS