Skip to content

Commit 24d22cc

Browse files
committed
python: regenerated AST
1 parent 9f89325 commit 24d22cc

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

python/ql/lib/semmle/python/AstGenerated.qll

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -389,6 +389,26 @@ class Eq_ extends @py_Eq, Cmpop {
389389
override string toString() { result = "Eq" }
390390
}
391391

392+
/** INTERNAL: See the class `ExceptGroupStmt` for further information. */
393+
class ExceptGroupStmt_ extends @py_ExceptGroupStmt, Stmt {
394+
/** Gets the type of this except group block. */
395+
Expr getType() { py_exprs(result, _, this, 1) }
396+
397+
/** Gets the name of this except group block. */
398+
Expr getName() { py_exprs(result, _, this, 2) }
399+
400+
/** Gets the body of this except group block. */
401+
StmtList getBody() { py_stmt_lists(result, this, 3) }
402+
403+
/** Gets the nth statement of this except group block. */
404+
Stmt getStmt(int index) { result = this.getBody().getItem(index) }
405+
406+
/** Gets a statement of this except group block. */
407+
Stmt getAStmt() { result = this.getBody().getAnItem() }
408+
409+
override string toString() { result = "ExceptGroupStmt" }
410+
}
411+
392412
/** INTERNAL: See the class `ExceptStmt` for further information. */
393413
class ExceptStmt_ extends @py_ExceptStmt, Stmt {
394414
/** Gets the type of this except block. */

0 commit comments

Comments
 (0)