code: function context(str) {
    var arr = code(str);
    var len = arr.length, i = 0;
    var res = {};
  
    while (len--) {
      var ele = arr[i++];
      if (ele.type !== 'comment') {
        res[ele.name] = ele.begin;
      }
    }
    return res;
  }
docs: Get the code context for a JavaScript file.