code: def pygments_token_to_classname(token: Token) -> str:
      """
      Turn e.g. `Token.Name.Exception` into `'pygments.name.exception'`.
  
      (Our Pygments lexer will also turn the tokens that pygments produces in a
      prompt_toolkit list of fragments that match these styling rules.)
      """
      parts = ("pygments",) + token
      return ".".join(parts).lower()
  
imports: from __future__ import annotations
  from typing import TYPE_CHECKING
  from .style import Style
label_desc: Use image node_id 3 for calling a global function with example usage: pygments_token_to_classname(token) and returns: str