Skip to content

Commit

Permalink
feat(schema): add ref/writes to edge kinds (#4933)
Browse files Browse the repository at this point in the history
  • Loading branch information
zrlk committed May 17, 2021
1 parent 7408568 commit ddb0c19
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 28 deletions.
2 changes: 2 additions & 0 deletions kythe/go/util/schema/indexdata.go
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ var (
"/kythe/edge/ref/init": 35,
"/kythe/edge/ref/init/implicit": 36,
"/kythe/edge/ref/queries": 37,
"/kythe/edge/ref/writes": 47,
"/kythe/edge/satisfies": 38,
"/kythe/edge/specializes": 39,
"/kythe/edge/specializes/speculative": 40,
Expand Down Expand Up @@ -260,6 +261,7 @@ var (
44: "/kythe/edge/property/reads",
45: "/kythe/edge/property/writes",
46: "/kythe/edge/ref/id",
47: "/kythe/edge/ref/writes",
}
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ public enum EdgeKind {
REF_INIT(true, "ref/init"),
REF_INIT_IMPLICIT(true, "ref/init/implicit"),
REF_QUERIES(true, "ref/queries"),
REF_WRITES(true, "ref/writes"),

ALIASES("aliases"),
ALIASES_ROOT("aliases/root"),
Expand Down
1 change: 1 addition & 0 deletions kythe/proto/schema.proto
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ enum EdgeKind {
REF_INIT = 35 [(metadata).label = "/kythe/edge/ref/init"];
REF_INIT_IMPLICIT = 36 [(metadata).label = "/kythe/edge/ref/init/implicit"];
REF_QUERIES = 37 [(metadata).label = "/kythe/edge/ref/queries"];
REF_WRITES = 47 [(metadata).label = "/kythe/edge/ref/writes"];
SATISFIES = 38 [(metadata).label = "/kythe/edge/satisfies"];
SPECIALIZES = 39 [(metadata).label = "/kythe/edge/specializes"];
SPECIALIZES_SPECULATIVE = 40
Expand Down
62 changes: 34 additions & 28 deletions kythe/proto/schema_go_proto/schema.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit ddb0c19

Please sign in to comment.