@@ -4,6 +4,7 @@ schema codemarkup.30 {
44import src
55import code.24
66import codemarkup.buck
7+ import codemarkup.chef
78import codemarkup.csharp
89import codemarkup.cxx
910import codemarkup.dataswarm
@@ -90,7 +91,7 @@ predicate EntityInfo:
9091 (codemarkup.lsif.EntityInfo { E, Info }; { lsif = E } = Entity) |
9192 (codemarkup.scip.EntityInfo { E, Info }; { scip = E } = Entity);
9293
93- # Source code digests produced by unspecified hash function
94+ # Source code digests produced by unspecified hash function
9495predicate FileEntityDigest:
9596 { file: src.File
9697 , entity: code.Entity,
@@ -166,7 +167,9 @@ predicate ResolveLocation:
166167 (codemarkup.graphql.GraphQLResolveLocation { Location, E };
167168 { graphql = E } = Entity) |
168169 (codemarkup.anglelang.AngleResolveLocation { Location, E };
169- { angle = E } = Entity);
170+ { angle = E } = Entity) |
171+ (codemarkup.chef.ChefResolveLocation { Location, E };
172+ { chef = E } = Entity);
170173
171174predicate EntityLocation:
172175 {
@@ -329,8 +332,10 @@ predicate FileEntityXRefLocations:
329332 { graphql = E } = Entity) |
330333 (codemarkup.dataswarm.DataswarmFileEntityXRefLocations { File, XRef, E };
331334 { dataswarm = E } = Entity) |
332- (codemarkup.anglelang.AngleFileEntityXRefLocations { File, XRef, E };
333- { angle = E } = Entity);
335+ (codemarkup.anglelang.AngleFileEntityXRefLocations { File, XRef, E };
336+ { angle = E } = Entity) |
337+ (codemarkup.chef.ChefFileEntityXRefLocations { File, XRef, E };
338+ { chef = E } = Entity);
334339
335340# Xrefs without the target location. This can be useful in cases
336341# where we don't have a target location, but we don't need it. This
@@ -420,6 +425,8 @@ predicate EntityReferences:
420425 { flow = E } = Entity) |
421426 (codemarkup.python.PythonEntityUses { E, File, Span };
422427 { python = E } = Entity) |
428+ (codemarkup.chef.ChefEntityUses { E, File, Span };
429+ { chef = E } = Entity) |
423430 (codemarkup.cxx.CxxEntityUses { E, File, Span };
424431 { cxx = E } = Entity) |
425432 (codemarkup.haskell.HaskellEntityUses { E, File, Span };
@@ -948,7 +955,7 @@ predicate IndexedFile: src.File
948955# You should not use this, instead use codemarkup.IndexedFile
949956predicate EntityDataAvailable: src.File
950957 File where
951- src.File _ = File; # bind File as demanded by the schema consistency check
958+ src.File _ = File; # bind File as demanded by the schema consistency check
952959 # double negation is used to check for existence
953960 # (even if the Angle compiler could notice and optimize)
954961 !(!(codemarkup.FileEntityLocations { file = File } |
0 commit comments