docs: function extractRefs(node, refs) {
    	var i, list;
  
    	if (node.t === REFERENCE) {
    		if (refs.indexOf(node.n) === -1) {
    			refs.unshift(node.n);
    		}
    	}
  
    	list = node.o || node.m;
    	if (list) {
    		if (isObject(list)) {
    			extractRefs(list, refs);
    		} else {
    			i = list.length;
    			while (i--) {
    				extractRefs(list[i], refs);
    			}
    		}
    	}
  
    	if (node.x) {
    		extractRefs(node.x, refs);
    	}
  
    	if (node.r) {
    		extractRefs(node.r, refs);
    	}
  
    	if (node.v) {
    		extractRefs(node.v, refs);
    	}
    }