code: def src2ast(src: str) -> Expression:
      
      try:
          return ast.parse(src, mode='eval')
      except SyntaxError:
          raise ValueError("Not a valid expression.") from None
docs: Return ast.Expression created from source code given in `src`.