parameters: (arrayexpr)
docstring: Extract operators from arrayexpr to represent it abstractly as a string.
docstring_summary: Extract operators from arrayexpr to represent it abstractly as a string.
docstring_tokens: Extract operators from arrayexpr to represent it abstractly as a string .
function: def repr_arrayexpr(arrayexpr):
      """Extract operators from arrayexpr to represent it abstractly as a string.
      """
      if isinstance(arrayexpr, tuple):
          opr = arrayexpr[0]
          # sometimes opr is not string like '+', but is a ufunc object
          if not isinstance(opr, str):
              if hasattr(opr, '__name__'):
                  opr = opr.__name__
              else:
                  opr = '_'  # can return dummy since repr is not critical
          args = arrayexpr[1]
          if len(args) == 1:
              return '({}({}))'.format(opr, repr_arrayexpr(args[0]))
          else:
              opr = ' ' + opr + ' '
              return '({})'.format(opr.join([ repr_arrayexpr(x) for x in args ]))
      elif isinstance(arrayexpr, numba.ir.Var):
          name = arrayexpr.name
          if name.startswith('$'):
              return '\'%s\' (temporary variable)' % name
          else:
              return name
      elif isinstance(arrayexpr, numba.ir.Const):
          return repr(arrayexpr.value)
      else:
          return '_'
function_tokens: def repr_arrayexpr ( arrayexpr ) : if isinstance ( arrayexpr , tuple ) : opr = arrayexpr [ 0 ] # sometimes opr is not string like '+', but is a ufunc object if not isinstance ( opr , str ) : if hasattr ( opr , '__name__' ) : opr = opr . __name__ else : opr = '_' # can return dummy since repr is not critical args = arrayexpr [ 1 ] if len ( args ) == 1 : return '({}({}))' . format ( opr , repr_arrayexpr ( args [ 0 ] ) ) else : opr = ' ' + opr + ' ' return '({})' . format ( opr . join ( [ repr_arrayexpr ( x ) for x in args ] ) ) elif isinstance ( arrayexpr , numba . ir . Var ) : name = arrayexpr . name if name . startswith ( '$' ) : return '\'%s\' (temporary variable)' % name else : return name elif isinstance ( arrayexpr , numba . ir . Const ) : return repr ( arrayexpr . value ) else : return '_'