mirror of
https://github.com/github/codeql.git
synced 2025-12-24 04:36:35 +01:00
renamed "labeledstmt" to "labeled_stmt"
This commit is contained in:
@@ -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. */
|
/** Gets the label of this statement. */
|
||||||
string getLabel() { result = getChildExpr(0).(Identifier).getName() }
|
string getLabel() { result = getChildExpr(0).(Identifier).getName() }
|
||||||
|
|
||||||
|
|||||||
@@ -153,7 +153,7 @@ case @stmt.kind of
|
|||||||
| 1 = @block_stmt
|
| 1 = @block_stmt
|
||||||
| 2 = @expr_stmt
|
| 2 = @expr_stmt
|
||||||
| 3 = @if_stmt
|
| 3 = @if_stmt
|
||||||
| 4 = @labeledstmt
|
| 4 = @labeled_stmt
|
||||||
| 5 = @breakstmt
|
| 5 = @breakstmt
|
||||||
| 6 = @continuestmt
|
| 6 = @continuestmt
|
||||||
| 7 = @withstmt
|
| 7 = @withstmt
|
||||||
|
|||||||
@@ -70,7 +70,7 @@
|
|||||||
<v>68214</v>
|
<v>68214</v>
|
||||||
</e>
|
</e>
|
||||||
<e>
|
<e>
|
||||||
<k>@labeledstmt</k>
|
<k>@labeled_stmt</k>
|
||||||
<v>1378</v>
|
<v>1378</v>
|
||||||
</e>
|
</e>
|
||||||
<e>
|
<e>
|
||||||
|
|||||||
Reference in New Issue
Block a user