Skip to content

Commit

Permalink
fix(docs): include a note about anchor-to-file childof edges (#5007)
Browse files Browse the repository at this point in the history
  • Loading branch information
shahms committed Aug 2, 2021
1 parent 8059efc commit 98391d0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions kythe/docs/schema/schema.txt
Expand Up @@ -256,6 +256,11 @@ Points toward::
semantic nodes
Ordinals are used::
never
Notes::
<<anchor>>s should not be `childof` the <<file>> in which they reside. As an
optimization due to the overwhelming number of such edges, the parentage
relationship between these nodes is determined by the shared `corpus`,
`path`, and `root` VName fields.

[kythe,C++,"Enumerators are children of enumerations."]
--------------------------------------------------------------------------------
Expand Down

0 comments on commit 98391d0

Please sign in to comment.