class_docstr: Base class for all lexers.
class_docstr_tok: ["Base","class","for","all","lexers","."]
docstr: When this changes, `lex_document` could give a different output.
  (Only used for `DynamicLexer`.)
docstr_tok: ["When","this","changes",",","`","lex_document","`","could","give","a","different","output",".","(","Only","used","for","`","DynamicLexer","`",".",")"]
code: def invalidation_hash(self) -> Hashable:
      """
      When this changes, `lex_document` could give a different output.
      (Only used for `DynamicLexer`.)
      """
      return id(self)
  
file_path: catboost/contrib/python/prompt-toolkit/py3/prompt_toolkit/lexers/base.py
imports: from __future__ import annotations
  from abc import ABCMeta, abstractmethod
  from typing import Callable, Hashable
  from prompt_toolkit.document import Document
  from prompt_toolkit.formatted_text.base import StyleAndTextTuples
label_desc: Use image node_id 2 for calling the Lexer obj's underlying member method code with example usage: obj.invalidation_hash() and returns: id