Skip to content

Commit

Permalink
fix(schema): document the use of special spans for implicit modules (#…
Browse files Browse the repository at this point in the history
…4625)

* fix(schema): document the use of special spans for implicit modules

* fix(schema): clarify wording and use defines edge
  • Loading branch information
shahms committed Aug 4, 2020
1 parent b287611 commit f1f9a81
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions kythe/docs/schema/schema.txt
Expand Up @@ -2066,6 +2066,10 @@ package

Brief description::
A *package* defines a module containing declarations.
Notes::
Languages in which a module is implicitly defined based on the file name
should emit a `defines` edge from a zero-width anchor at offset 0 in that
file to the corresponding package node.

[kythe,Java,"Top-level declarations are children of package nodes."]
--------------------------------------------------------------------------------
Expand Down

0 comments on commit f1f9a81

Please sign in to comment.