code: def get_state(
      cls,
  ) -> Tuple[Dict[Any, Any], Dict[Any, Any], Dict[Any, Any]]:
      return (
          cls.token_extensions,
          cls.span_extensions,
          cls.doc_extensions,
      )
  
file_path: spacy/spacy/tokens/underscore.py
imports: import copy
  import functools
  from typing import TYPE_CHECKING, Any, Dict, List, Optional, Tuple, Union
  from ..errors import Errors
label_desc: Use image node_id 9 for calling the Underscore obj's underlying member method code with example usage: obj.get_state(cls) and returns: cls,  cls,  cls