@@ -1125,6 +1125,23 @@ module Ruby {
1125
1125
final override string getAPrimaryQlClass ( ) { result = "Line" }
1126
1126
}
1127
1127
1128
+ /** A class representing `match_pattern` nodes. */
1129
+ class MatchPattern extends @ruby_match_pattern, AstNode {
1130
+ /** Gets the name of the primary QL class for this element. */
1131
+ final override string getAPrimaryQlClass ( ) { result = "MatchPattern" }
1132
+
1133
+ /** Gets the node corresponding to the field `pattern`. */
1134
+ final UnderscorePatternTopExprBody getPattern ( ) { ruby_match_pattern_def ( this , result , _) }
1135
+
1136
+ /** Gets the node corresponding to the field `value`. */
1137
+ final UnderscoreArg getValue ( ) { ruby_match_pattern_def ( this , _, result ) }
1138
+
1139
+ /** Gets a field or child node of this node. */
1140
+ final override AstNode getAFieldOrChild ( ) {
1141
+ ruby_match_pattern_def ( this , result , _) or ruby_match_pattern_def ( this , _, result )
1142
+ }
1143
+ }
1144
+
1128
1145
/** A class representing `method` nodes. */
1129
1146
class Method extends @ruby_method, AstNode {
1130
1147
/** Gets the name of the primary QL class for this element. */
@@ -1662,6 +1679,23 @@ module Ruby {
1662
1679
final override AstNode getAFieldOrChild ( ) { ruby_symbol_array_child ( this , _, result ) }
1663
1680
}
1664
1681
1682
+ /** A class representing `test_pattern` nodes. */
1683
+ class TestPattern extends @ruby_test_pattern, AstNode {
1684
+ /** Gets the name of the primary QL class for this element. */
1685
+ final override string getAPrimaryQlClass ( ) { result = "TestPattern" }
1686
+
1687
+ /** Gets the node corresponding to the field `pattern`. */
1688
+ final UnderscorePatternTopExprBody getPattern ( ) { ruby_test_pattern_def ( this , result , _) }
1689
+
1690
+ /** Gets the node corresponding to the field `value`. */
1691
+ final UnderscoreArg getValue ( ) { ruby_test_pattern_def ( this , _, result ) }
1692
+
1693
+ /** Gets a field or child node of this node. */
1694
+ final override AstNode getAFieldOrChild ( ) {
1695
+ ruby_test_pattern_def ( this , result , _) or ruby_test_pattern_def ( this , _, result )
1696
+ }
1697
+ }
1698
+
1665
1699
/** A class representing `then` nodes. */
1666
1700
class Then extends @ruby_then, AstNode {
1667
1701
/** Gets the name of the primary QL class for this element. */
0 commit comments