def lex_document(self, cli, document):
        lines = document.lines

        def get_line(lineno):
            " Return the tokens for the given line. "
            try:
                return [(self.default_token, lines[lineno])]
            except __HOLE__:
                return []
        return get_line
dataset/ETHPy150Open jonathanslenders/python-prompt-toolkit/prompt_toolkit/layout/lexers.py/SimpleLexer.lex_document