class_docstr: Lexer that doesn't do any tokenizing and returns the whole input as one
  token.
  
  :param style: The style string for this lexer.
class_docstr_tok: ["Lexer","that","does","n't","do","any","tokenizing","and","returns","the","whole","input","as","one","token",".",":","param","style",":","The","style","string","for","this","lexer","."]
code: def lex_document(
      self, document: Document
  ) -> Callable[[int], StyleAndTextTuples]:
      lines = document.lines
  
      def get_line(lineno: int) -> StyleAndTextTuples:
          "Return the tokens for the given line."
          try:
              return [(self.style, lines[lineno])]
          except IndexError:
              return []
  
      return get_line
  
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 SimpleLexer obj's underlying member method code with example usage: obj.lex_document(document) and returns: get_line, list, list