code: def maybe_start_recording(tokens, index):
          
          if tokens[index].type == TokenType.BeginInlineRST:
              return _InlineRSTRecorder(index)
docs: Return a new _InlineRSTRecorder when its time to record.