function _addResult(node, offset, prefix) {
            memberPrefix = prefix ? prefix + " - " : "";
            resultNode = node.id || node.key || node;
            functionName = resultNode.name;
            if (!Array.isArray(results[functionName])) {
                results[functionName] = [];
            }

            results[functionName].push(
                {
                    offsetStart: offset || node.start,
                    label: memberPrefix ? memberPrefix + functionName : null,
                    location: resultNode.loc
                }
            );
        }
@private
Return an object mapping function name to offset info for all functions in the specified text.
Offset info is an array, since multiple functions of the same name can exist.
@param {!string} text Document text
@return {Object.<string, Array.<{offsetStart: number, offsetEnd: number}>}