src/extensions/default/JavaScriptCodeHints/main.js
function setCachedHintContext(hints, cursor, type, token) {
        cachedHints = hints;
        cachedCursor = cursor;
        cachedType = type;
        cachedToken = token;
    }
function setCachedHintContext(hints, cursor, type, token) {
        cachedHints = hints;
        cachedCursor = cursor;
        cachedType = type;
        cachedToken = token;
    }
function setCachedHintContext ( hints , cursor , type , token ) { cachedHints = hints ; cachedCursor = cursor ; cachedType = type ; cachedToken = token ; }
Cache the hints and the hint's context.

@param {Array.<string>} hints - array of hints
@param {{line:number, ch:number}} cursor - the location where the hints
were created.
@param {{property: boolean,
showFunctionType:boolean,
context: string,
functionCallPos: {line:number, ch:number}}} type -
type information about the hints
@param {Object} token - CodeMirror token
Cache the hints and the hint s context .