@@ -528,6 +528,18 @@ module Unified {
528528 }
529529 }
530530
531+ /** A class representing `defer_stmt` nodes. */
532+ class DeferStmt extends @unified_defer_stmt, F:: Stmt {
533+ /** Gets the name of the primary QL class for this element. */
534+ final override string getAPrimaryQlClass ( ) { result = "DeferStmt" }
535+
536+ /** Gets the node corresponding to the field `body`. */
537+ final F:: Block getBody ( ) { unified_defer_stmt_def ( this , result ) }
538+
539+ /** Gets a field or child node of this node. */
540+ final override F:: AstNode getAFieldOrChild ( ) { unified_defer_stmt_def ( this , result ) }
541+ }
542+
531543 /** A class representing `destructor_declaration` nodes. */
532544 class DestructorDeclaration extends @unified_destructor_declaration, F:: Callable , F:: Member ,
533545 F:: Stmt
@@ -1619,6 +1631,8 @@ module Unified {
16191631 or
16201632 result = node .( ContinueExpr ) .getLabelNameNode ( ) and i = - 1 and name = "getLabelNameNode"
16211633 or
1634+ result = node .( DeferStmt ) .getBody ( ) and i = - 1 and name = "getBody"
1635+ or
16221636 result = node .( DestructorDeclaration ) .getBody ( ) and i = - 1 and name = "getBody"
16231637 or
16241638 result = node .( DestructorDeclaration ) .getModifier ( i ) and name = "getModifier"
@@ -1874,6 +1888,8 @@ module UnifiedFinal {
18741888
18751889 final class ContinueExpr = F:: ContinueExpr ;
18761890
1891+ final class DeferStmt = F:: DeferStmt ;
1892+
18771893 final class DestructorDeclaration = F:: DestructorDeclaration ;
18781894
18791895 final class DoWhileStmt = F:: DoWhileStmt ;
0 commit comments