@@ -1176,6 +1176,32 @@ module Unified {
11761176
11771177 class Stmt extends @unified_stmt, F:: AstNode { }
11781178
1179+ /** A class representing `string_interpolation_expr` nodes. */
1180+ class StringInterpolationExpr extends @unified_string_interpolation_expr, F:: Expr {
1181+ /** Gets the name of the primary QL class for this element. */
1182+ final override string getAPrimaryQlClass ( ) { result = "StringInterpolationExpr" }
1183+
1184+ /** Gets the node corresponding to the field `element`. */
1185+ final F:: Expr getElement ( int i ) { unified_string_interpolation_expr_element ( this , i , result ) }
1186+
1187+ /** Gets the node corresponding to the field `element`. */
1188+ final F:: Expr getAnElement ( ) { result = this .getElement ( _) }
1189+
1190+ /** Gets the node corresponding to the field `modifier`. */
1191+ final F:: Modifier getModifier ( int i ) {
1192+ unified_string_interpolation_expr_modifier ( this , i , result )
1193+ }
1194+
1195+ /** Gets the node corresponding to the field `modifier`. */
1196+ final F:: Modifier getAModifier ( ) { result = this .getModifier ( _) }
1197+
1198+ /** Gets a field or child node of this node. */
1199+ final override F:: AstNode getAFieldOrChild ( ) {
1200+ unified_string_interpolation_expr_element ( this , _, result ) or
1201+ unified_string_interpolation_expr_modifier ( this , _, result )
1202+ }
1203+ }
1204+
11791205 /** A class representing `string_literal` tokens. */
11801206 class StringLiteral extends @unified_token_string_literal, F:: Expr , F:: Token {
11811207 /** Gets the name of the primary QL class for this element. */
@@ -1746,6 +1772,10 @@ module Unified {
17461772 or
17471773 result = node .( ReturnExpr ) .getValue ( ) and i = - 1 and name = "getValue"
17481774 or
1775+ result = node .( StringInterpolationExpr ) .getElement ( i ) and name = "getElement"
1776+ or
1777+ result = node .( StringInterpolationExpr ) .getModifier ( i ) and name = "getModifier"
1778+ or
17491779 result = node .( SwitchCase ) .getBody ( ) and i = - 1 and name = "getBody"
17501780 or
17511781 result = node .( SwitchCase ) .getModifier ( i ) and name = "getModifier"
@@ -1951,6 +1981,8 @@ module UnifiedFinal {
19511981
19521982 final class Stmt = F:: Stmt ;
19531983
1984+ final class StringInterpolationExpr = F:: StringInterpolationExpr ;
1985+
19541986 final class StringLiteral = F:: StringLiteral ;
19551987
19561988 final class SuperExpr = F:: SuperExpr ;
0 commit comments