Skip to content

Commit

Permalink
grammar: article agreement
Browse files Browse the repository at this point in the history
  • Loading branch information
jsoref authored Jun 19, 2020
1 parent 3ec144b commit c9824ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion indexFormat/specification.md
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ Running **Go to Definition** on `X` in `let x: X` will show a dialog that lets t
{ id : 40, type: "edge", label: "item", outV: 38, inVs: [9, 13], document: 4 }
```
The `item` edge is an additional property document that indicates which document has the declaration. We added this information to make it easy to emit the data but also make it easy to process the data to store it in a database. Without that information we would either need to specify an order in which data needs to be emitted (e.g. a item edge and only refer to a range that got already added to a document using a `contains` edge) or we force processing tools to keep a lot of vertices and edges in memory. The approach of having this `document` property looks like a fair balance.
The `item` edge is an additional property document that indicates which document has the declaration. We added this information to make it easy to emit the data but also make it easy to process the data to store it in a database. Without that information we would either need to specify an order in which data needs to be emitted (e.g. an item edge and only refer to a range that got already added to a document using a `contains` edge) or we force processing tools to keep a lot of vertices and edges in memory. The approach of having this `document` property looks like a fair balance.
### Request: `textDocument/declaration`
Expand Down

0 comments on commit c9824ae

Please sign in to comment.