Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 22af7f0

Browse files
tamasvajkigfoo
authored andcommitted
Remove duplications of locatable and element in the DB scheme
1 parent 400654d commit 22af7f0

1 file changed

Lines changed: 8 additions & 7 deletions

File tree

java/ql/lib/config/semmlecode.dbscheme

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1019,9 +1019,12 @@ javadocText(
10191019
@callable = @method | @constructor;
10201020

10211021
/** A program element that has a name. */
1022-
@element = @file | @package | @primitive | @class | @interface | @method | @constructor | @modifier | @param | @exception | @field |
1023-
@annotation | @boundedtype | @array | @localvar | @expr | @stmt | @import | @fielddecl | @kt_type | @kt_type_alias |
1024-
@kt_property;
1022+
@element = @package | @modifier | @annotation |
1023+
@locatableElement;
1024+
1025+
@locatableElement = @file | @primitive | @class | @interface | @method | @constructor | @param | @exception | @field |
1026+
@boundedtype | @array | @localvar | @expr | @stmt | @import | @fielddecl | @kt_type | @kt_type_alias |
1027+
@kt_property;
10251028

10261029
@modifiable = @member_modifiable| @param | @localvar ;
10271030

@@ -1030,10 +1033,8 @@ javadocText(
10301033
@member = @method | @constructor | @field | @reftype ;
10311034

10321035
/** A program element that has a location. */
1033-
@locatable = @file | @class | @interface | @fielddecl | @field | @constructor | @method | @param | @exception
1034-
| @boundedtype | @typebound | @array | @primitive
1035-
| @import | @stmt | @expr | @whenbranch | @localvar | @javadoc | @javadocTag | @javadocText
1036-
| @xmllocatable | @ktcomment | @kt_type_alias | @kt_property;
1036+
@locatable = @typebound | @javadoc | @javadocTag | @javadocText | @xmllocatable | @ktcomment |
1037+
@locatableElement;
10371038

10381039
@top = @element | @locatable | @folder;
10391040

0 commit comments

Comments
 (0)