parameters: (obj)
docstring: Convert a number or string into an expression
docstring_summary: Convert a number or string into an expression
docstring_tokens: Convert a number or string into an expression
function: def expr(obj):
      """Convert a number or string into an expression"""
      if isinstance(obj, Expr):
          return obj
      if isinstance(obj, numbers.Number):
          return ScalarLiteral(obj)
      if isinstance(obj, str):
          return ScalarVariable(obj)
      raise Exception("ERROR converting object to expression: {}".format(obj))
function_tokens: def expr ( obj ) : if isinstance ( obj , Expr ) : return obj if isinstance ( obj , numbers . Number ) : return ScalarLiteral ( obj ) if isinstance ( obj , str ) : return ScalarVariable ( obj ) raise Exception ( "ERROR converting object to expression: {}" . format ( obj ) )