code: def _get_ttype_name(ttype):
      fname = STANDARD_TYPES.get(ttype)
      if fname:
          return fname
      aname = ""
      while fname is None:
          aname = ttype[-1] + aname
          ttype = ttype.parent
          fname = STANDARD_TYPES.get(ttype)
      return fname + aname
  
file_path: catboost/contrib/python/Pygments/py2/pygments/formatters/latex.py
imports: from __future__ import division
  from pygments.formatter import Formatter
  from pygments.lexer import Lexer
  from pygments.token import Token, STANDARD_TYPES
  from pygments.util import get_bool_opt, get_int_opt, StringIO, xrange, iteritems
label_desc: Use image node_id 2 for calling a global function with example usage: _get_ttype_name(ttype) and returns: unknown, fname