Java 12: add switch expressions to dbscheme

This commit is contained in:
yh-semmle
2019-01-21 21:44:53 -05:00
parent 4ede686283
commit 6ac1ee5fad

View File

@@ -371,7 +371,7 @@ stmts(
int bodydecl: @callable ref
);
@stmtparent = @callable | @stmt;
@stmtparent = @callable | @stmt | @switchexpr;
case @stmt.kind of
0 = @block
@@ -491,6 +491,7 @@ case @expr.kind of
| 70 = @annotatedtypeaccess
| 71 = @typeannotation
| 72 = @intersectiontypeaccess
| 73 = @switchexpr
;
@classinstancexpr = @newexpr | @lambdaexpr | @memberref