DescriptionMake SearchMatch usable for the new index - remove the element field.
The 'element' is still accessible, but as a computed property.
In many cases we don't need to know the containing element, and need
only the unit source, or the LibraryElement. So, by computing it on
demand we may save some time and make SearchMatch usable with the
new index - where we don't know the Element.
R=brianwilkerson@google.com
BUG=
Committed: https://github.com/dart-lang/sdk/commit/80531d974dff8e9b3b69ceb70beaed6ebd691681
Patch Set 1 #Messages
Total messages: 4 (1 generated)
|