mirror of
https://github.com/github/codeql.git
synced 2026-04-22 23:35:14 +02:00
Java 12: add switch expressions to dbscheme
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user