|
|
@ -75,9 +75,9 @@ class ContextualListener { |
|
|
|
var self = this |
|
|
|
var self = this |
|
|
|
function highlights (id) { |
|
|
|
function highlights (id) { |
|
|
|
if (self._index['Declarations'] && self._index['Declarations'][id]) { |
|
|
|
if (self._index['Declarations'] && self._index['Declarations'][id]) { |
|
|
|
var calls = self._index['Declarations'][id] |
|
|
|
var refs = self._index['Declarations'][id] |
|
|
|
for (var call in calls) { |
|
|
|
for (var ref in refs) { |
|
|
|
var node = calls[call] |
|
|
|
var node = refs[ref] |
|
|
|
self._highlight(node, compilationResult) |
|
|
|
self._highlight(node, compilationResult) |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|