mirror of
https://github.com/github/codeql.git
synced 2025-12-23 20:26:32 +01:00
renamed "exprstmt" to "expr_stmt"
This commit is contained in:
@@ -165,7 +165,7 @@ class BlockStmt extends @block_stmt, Stmt {
|
||||
* console.log("Restart.");
|
||||
* ```
|
||||
*/
|
||||
class ExprStmt extends @exprstmt, Stmt {
|
||||
class ExprStmt extends @expr_stmt, Stmt {
|
||||
/** Gets the expression of this expression statement. */
|
||||
Expr getExpr() { result = getChildExpr(0) }
|
||||
|
||||
|
||||
@@ -151,7 +151,7 @@ jump_targets (unique int jump: @stmt ref,
|
||||
case @stmt.kind of
|
||||
0 = @empty_stmt
|
||||
| 1 = @block_stmt
|
||||
| 2 = @exprstmt
|
||||
| 2 = @expr_stmt
|
||||
| 3 = @ifstmt
|
||||
| 4 = @labeledstmt
|
||||
| 5 = @breakstmt
|
||||
|
||||
@@ -62,7 +62,7 @@
|
||||
<v>204994</v>
|
||||
</e>
|
||||
<e>
|
||||
<k>@exprstmt</k>
|
||||
<k>@expr_stmt</k>
|
||||
<v>610340</v>
|
||||
</e>
|
||||
<e>
|
||||
|
||||
Reference in New Issue
Block a user