class_docstr: Translate ANSI code in to styled Text.
class_docstr_tok: ["Translate","ANSI","code","in","to","styled","Text","."]
code: def __init__(self) -> None:
      self.style = Style.null()
  
file_path: rich/rich/ansi.py
imports: import re
  import sys
  from contextlib import suppress
  from typing import Iterable, NamedTuple, Optional
  from .color import Color
  from .style import Style
  from .text import Text
label_desc: Use image node_id 1 to create a new AnsiDecoder object  with example: obj = AnsiDecoder()