renamed "ifstmt" to "if_stmt"

This commit is contained in:
Erik Krogh Kristensen
2020-09-04 11:53:06 +02:00
parent a752ef79a2
commit 90b45c4052
3 changed files with 4 additions and 4 deletions

View File

@@ -65,7 +65,7 @@ class Stmt extends @stmt, ExprOrStmt, Documentable {
}
private class TControlStmt =
TLoopStmt or @ifstmt or @withstmt or @switchstmt or @trystmt or @catchclause;
TLoopStmt or @if_stmt or @withstmt or @switchstmt or @trystmt or @catchclause;
private class TLoopStmt = TEnhancedForLoop or @whilestmt or @dowhilestmt or @forstmt;
@@ -406,7 +406,7 @@ class BundleDirective extends KnownDirective {
* }
* ```
*/
class IfStmt extends @ifstmt, ControlStmt {
class IfStmt extends @if_stmt, ControlStmt {
/** Gets the condition of this `if` statement. */
Expr getCondition() { result = getChildExpr(0) }

View File

@@ -152,7 +152,7 @@ case @stmt.kind of
0 = @empty_stmt
| 1 = @block_stmt
| 2 = @expr_stmt
| 3 = @ifstmt
| 3 = @if_stmt
| 4 = @labeledstmt
| 5 = @breakstmt
| 6 = @continuestmt

View File

@@ -66,7 +66,7 @@
<v>610340</v>
</e>
<e>
<k>@ifstmt</k>
<k>@if_stmt</k>
<v>68214</v>
</e>
<e>