Skip to content

Commit bddcbc5

Browse files
author
Andy Hanson
committed
Move code out of closure in getDocumentHighlights, then again out of getSemanticDocumentHighlights and getSyntacticDocumentHighlights.
Also return a `Node[]` instead of a `HighlightSpan[]` where possible and do mapping from Node to HighlightSpan in one place.
1 parent 4d501d1 commit bddcbc5

File tree

1 file changed

+500
-506
lines changed

1 file changed

+500
-506
lines changed

0 commit comments

Comments
 (0)