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

Skip to content

Commit 6ac1ee5

Browse files
committed
Java 12: add switch expressions to dbscheme
1 parent 4ede686 commit 6ac1ee5

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

java/ql/src/config/semmlecode.dbscheme

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@ stmts(
371371
int bodydecl: @callable ref
372372
);
373373

374-
@stmtparent = @callable | @stmt;
374+
@stmtparent = @callable | @stmt | @switchexpr;
375375

376376
case @stmt.kind of
377377
0 = @block
@@ -491,6 +491,7 @@ case @expr.kind of
491491
| 70 = @annotatedtypeaccess
492492
| 71 = @typeannotation
493493
| 72 = @intersectiontypeaccess
494+
| 73 = @switchexpr
494495
;
495496

496497
@classinstancexpr = @newexpr | @lambdaexpr | @memberref

0 commit comments

Comments
 (0)