class_docstr: Shell sessions in erl (for Erlang code).
  
  .. versionadded:: 1.1
class_docstr_tok: ["Shell","sessions","in","erl","(","for","Erlang","code",")",".","..","versionadded",":",":","1.1"]
code: def get_tokens_unprocessed(self, text):
      erlexer = ErlangLexer(**self.options)
  
      curcode = ""
      insertions = []
      for match in line_re.finditer(text):
          line = match.group()
          m = self._prompt_re.match(line)
          if m is not None:
              end = m.end()
              insertions.append(
                  (len(curcode), [(0, Generic.Prompt, line[:end])])
              )
              curcode += line[end:]
          else:
              if curcode:
                  yield from do_insertions(
                      insertions,
                      erlexer.get_tokens_unprocessed(curcode),
                  )
                  curcode = ""
                  insertions = []
              if line.startswith("*"):
                  yield match.start(), Generic.Traceback, line
              else:
                  yield match.start(), Generic.Output, line
      if curcode:
          yield from do_insertions(
              insertions, erlexer.get_tokens_unprocessed(curcode)
          )
  
file_path: catboost/contrib/python/Pygments/py3/pygments/lexers/erlang.py
imports: import re
  from pygments.lexer import Lexer, RegexLexer, bygroups, words, do_insertions, include, default, line_re
  from pygments.token import Comment, Operator, Keyword, Name, String, Number, Punctuation, Generic, Whitespace
label_desc: Use image node_id 1 for calling the ErlangShellLexer obj's underlying member method code with example usage: obj.get_tokens_unprocessed(text) without return types