Skip to content

Commit 17b063f

Browse files
authored
Merge pull request #473 from sb-semmle/add-properties-files-to-java-schema
Add properties files to java schema
2 parents ceb316d + 4eabca6 commit 17b063f

File tree

2 files changed

+408
-0
lines changed

2 files changed

+408
-0
lines changed

java/ql/src/config/semmlecode.dbscheme

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -818,4 +818,29 @@ xmllocations(
818818

819819
@xmllocatable = @xmlcharacters | @xmlelement | @xmlcomment | @xmlattribute | @xmldtd | @file | @xmlnamespace;
820820

821+
/*
822+
* configuration files with key value pairs
823+
*/
824+
825+
configs(
826+
unique int id: @config
827+
);
828+
829+
configNames(
830+
unique int id: @configName,
831+
int config: @config ref,
832+
string name: string ref
833+
);
834+
835+
configValues(
836+
unique int id: @configValue,
837+
int config: @config ref,
838+
string value: string ref
839+
);
840+
841+
configLocations(
842+
int locatable: @configLocatable ref,
843+
int location: @location_default ref
844+
);
821845

846+
@configLocatable = @config | @configName | @configValue;

0 commit comments

Comments
 (0)