Skip to content

Commit

Permalink
Move code out of closure in getDocumentHighlights, then again out o…
Browse files Browse the repository at this point in the history
…f `getSemanticDocumentHighlights` and `getSyntacticDocumentHighlights`.

Also return a `Node[]` instead of a `HighlightSpan[]` where possible and do mapping from Node to HighlightSpan in one place.
  • Loading branch information
Andy Hanson committed Jan 17, 2017
1 parent 4d501d1 commit bddcbc5
Showing 1 changed file with 500 additions and 506 deletions.
Loading

0 comments on commit bddcbc5

Please sign in to comment.