@@ -59,6 +59,8 @@ module Ruby {
5959
6060 class UnderscoreMethodName extends @ruby_underscore_method_name, AstNode { }
6161
62+ class UnderscoreNonlocalVariable extends @ruby_underscore_nonlocal_variable, AstNode { }
63+
6264 class UnderscorePatternConstant extends @ruby_underscore_pattern_constant, AstNode { }
6365
6466 class UnderscorePatternExpr extends @ruby_underscore_pattern_expr, AstNode { }
@@ -365,13 +367,13 @@ module Ruby {
365367 override string getAPrimaryQlClass ( ) { result = "BlockArgument" }
366368
367369 /** Gets the location of this element. */
368- override L:: Location getLocation ( ) { ruby_block_argument_def ( this , _ , result ) }
370+ override L:: Location getLocation ( ) { ruby_block_argument_def ( this , result ) }
369371
370372 /** Gets the child of this node. */
371- UnderscoreArg getChild ( ) { ruby_block_argument_def ( this , result , _ ) }
373+ UnderscoreArg getChild ( ) { ruby_block_argument_child ( this , result ) }
372374
373375 /** Gets a field or child node of this node. */
374- override AstNode getAFieldOrChild ( ) { ruby_block_argument_def ( this , result , _ ) }
376+ override AstNode getAFieldOrChild ( ) { ruby_block_argument_child ( this , result ) }
375377 }
376378
377379 /** A class representing `block_parameter` nodes. */
@@ -380,13 +382,13 @@ module Ruby {
380382 override string getAPrimaryQlClass ( ) { result = "BlockParameter" }
381383
382384 /** Gets the location of this element. */
383- override L:: Location getLocation ( ) { ruby_block_parameter_def ( this , _ , result ) }
385+ override L:: Location getLocation ( ) { ruby_block_parameter_def ( this , result ) }
384386
385387 /** Gets the node corresponding to the field `name`. */
386- Identifier getName ( ) { ruby_block_parameter_def ( this , result , _ ) }
388+ Identifier getName ( ) { ruby_block_parameter_name ( this , result ) }
387389
388390 /** Gets a field or child node of this node. */
389- override AstNode getAFieldOrChild ( ) { ruby_block_parameter_def ( this , result , _ ) }
391+ override AstNode getAFieldOrChild ( ) { ruby_block_parameter_name ( this , result ) }
390392 }
391393
392394 /** A class representing `block_parameters` nodes. */
@@ -806,6 +808,21 @@ module Ruby {
806808 override AstNode getAFieldOrChild ( ) { ruby_exceptions_child ( this , _, result ) }
807809 }
808810
811+ /** A class representing `expression_reference_pattern` nodes. */
812+ class ExpressionReferencePattern extends @ruby_expression_reference_pattern, AstNode {
813+ /** Gets the name of the primary QL class for this element. */
814+ override string getAPrimaryQlClass ( ) { result = "ExpressionReferencePattern" }
815+
816+ /** Gets the location of this element. */
817+ override L:: Location getLocation ( ) { ruby_expression_reference_pattern_def ( this , _, result ) }
818+
819+ /** Gets the node corresponding to the field `value`. */
820+ UnderscoreExpression getValue ( ) { ruby_expression_reference_pattern_def ( this , result , _) }
821+
822+ /** Gets a field or child node of this node. */
823+ override AstNode getAFieldOrChild ( ) { ruby_expression_reference_pattern_def ( this , result , _) }
824+ }
825+
809826 /** A class representing `false` tokens. */
810827 class False extends @ruby_token_false, Token {
811828 /** Gets the name of the primary QL class for this element. */
@@ -1392,17 +1409,17 @@ module Ruby {
13921409 override string getAPrimaryQlClass ( ) { result = "Pair" }
13931410
13941411 /** Gets the location of this element. */
1395- override L:: Location getLocation ( ) { ruby_pair_def ( this , _, _ , result ) }
1412+ override L:: Location getLocation ( ) { ruby_pair_def ( this , _, result ) }
13961413
13971414 /** Gets the node corresponding to the field `key`. */
1398- AstNode getKey ( ) { ruby_pair_def ( this , result , _, _ ) }
1415+ AstNode getKey ( ) { ruby_pair_def ( this , result , _) }
13991416
14001417 /** Gets the node corresponding to the field `value`. */
1401- UnderscoreArg getValue ( ) { ruby_pair_def ( this , _ , result , _ ) }
1418+ UnderscoreArg getValue ( ) { ruby_pair_value ( this , result ) }
14021419
14031420 /** Gets a field or child node of this node. */
14041421 override AstNode getAFieldOrChild ( ) {
1405- ruby_pair_def ( this , result , _, _ ) or ruby_pair_def ( this , _ , result , _ )
1422+ ruby_pair_def ( this , result , _) or ruby_pair_value ( this , result )
14061423 }
14071424 }
14081425
@@ -2041,7 +2058,7 @@ module Ruby {
20412058 override L:: Location getLocation ( ) { ruby_variable_reference_pattern_def ( this , _, result ) }
20422059
20432060 /** Gets the node corresponding to the field `name`. */
2044- Identifier getName ( ) { ruby_variable_reference_pattern_def ( this , result , _) }
2061+ AstNode getName ( ) { ruby_variable_reference_pattern_def ( this , result , _) }
20452062
20462063 /** Gets a field or child node of this node. */
20472064 override AstNode getAFieldOrChild ( ) { ruby_variable_reference_pattern_def ( this , result , _) }
0 commit comments