parameters: (self, expr)
return_statement: return code
docstring: Generate a Python expression for `expr`.
docstring_summary: Generate a Python expression for `expr`.
docstring_tokens: Generate a Python expression for expr .
function: def _expr_code(self, expr):
          """Generate a Python expression for `expr`."""
          if "|" in expr:
              pipes = expr.split("|")
              code = self._expr_code(pipes[0])
              for func in pipes[1:]:
                  self._variable(func, self.all_vars)
                  code = "c_%s(%s)" % (func, code)
          elif "." in expr:
              dots = expr.split(".")
              code = self._expr_code(dots[0])
              args = ", ".join(repr(d) for d in dots[1:])
              code = "do_dots(%s, %s)" % (code, args)
          else:
              self._variable(expr, self.all_vars)
              code = "c_%s" % expr
          return code
function_tokens: def _expr_code ( self , expr ) : if "|" in expr : pipes = expr . split ( "|" ) code = self . _expr_code ( pipes [ 0 ] ) for func in pipes [ 1 : ] : self . _variable ( func , self . all_vars ) code = "c_%s(%s)" % ( func , code ) elif "." in expr : dots = expr . split ( "." ) code = self . _expr_code ( dots [ 0 ] ) args = ", " . join ( repr ( d ) for d in dots [ 1 : ] ) code = "do_dots(%s, %s)" % ( code , args ) else : self . _variable ( expr , self . all_vars ) code = "c_%s" % expr return code