code: def number(self, tokens):
      if "," in tokens[0]:
          # The Float constructor expects a dot as the decimal separator
          return sympy.core.numbers.Float(tokens[0].replace(",", "."))
      else:
          return sympy.core.numbers.Integer(tokens[0])
  
file_path: sympy/sympy/parsing/tests/test_custom_latex.py
imports: import os
  import tempfile
  import sympy
  from sympy.testing.pytest import raises
  from sympy.parsing.latex.lark import LarkLaTeXParser, TransformToSymPyExpr, parse_latex_lark
  from sympy.external import import_module
label_desc: Use image node_id 1 for calling the CustomTransformer obj's underlying member method code with example usage: obj.number(tokens) and returns: sympy, sympy