Skip to content

Populate enclosing_range on definition Occurrences#792

Open
jjuliamolin wants to merge 1 commit intodavidrjenni:mainfrom
jjuliamolin:enclosing-range
Open

Populate enclosing_range on definition Occurrences#792
jjuliamolin wants to merge 1 commit intodavidrjenni:mainfrom
jjuliamolin:enclosing-range

Conversation

@jjuliamolin
Copy link
Copy Markdown

Populates the enclosing_range field on Occurrence objects for definitions.

Adding full enclosing range, including doc comment, as defined in scip.proto

Changes:

  • src/Parser/PosResolver.php: Added enclosingRange() method
  • src/DocIndexer.php: Updated def() to populate enclosing_range
  • Regolded test files

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant