renamed "labeledstmt" to "labeled_stmt"

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

View File

@@ -449,7 +449,7 @@ class IfStmt extends @if_stmt, ControlStmt {
* }
* ```
*/
class LabeledStmt extends @labeledstmt, Stmt {
class LabeledStmt extends @labeled_stmt, Stmt {
/** Gets the label of this statement. */
string getLabel() { result = getChildExpr(0).(Identifier).getName() }

View File

@@ -153,7 +153,7 @@ case @stmt.kind of
| 1 = @block_stmt
| 2 = @expr_stmt
| 3 = @if_stmt
| 4 = @labeledstmt
| 4 = @labeled_stmt
| 5 = @breakstmt
| 6 = @continuestmt
| 7 = @withstmt

View File

@@ -70,7 +70,7 @@
<v>68214</v>
</e>
<e>
<k>@labeledstmt</k>
<k>@labeled_stmt</k>
<v>1378</v>
</e>
<e>