@@ -37,14 +37,14 @@ class Self extends Expr, TSelf {
3737 * ```
3838 */
3939class ArgumentList extends Expr , TArgumentList {
40- private Generated :: AstNode g ;
40+ private Ruby :: AstNode g ;
4141
4242 ArgumentList ( ) { this = TArgumentList ( g ) }
4343
4444 /** Gets the `i`th element in this argument list. */
4545 Expr getElement ( int i ) {
4646 toGenerated ( result ) in [
47- g .( Generated :: ArgumentList ) .getChild ( i ) , g .( Generated :: RightAssignmentList ) .getChild ( i )
47+ g .( Ruby :: ArgumentList ) .getChild ( i ) , g .( Ruby :: RightAssignmentList ) .getChild ( i )
4848 ]
4949 }
5050
@@ -92,7 +92,7 @@ private class StmtSequenceSynth extends StmtSequence, TStmtSequenceSynth {
9292}
9393
9494private class Then extends StmtSequence , TThen {
95- private Generated :: Then g ;
95+ private Ruby :: Then g ;
9696
9797 Then ( ) { this = TThen ( g ) }
9898
@@ -102,7 +102,7 @@ private class Then extends StmtSequence, TThen {
102102}
103103
104104private class Else extends StmtSequence , TElse {
105- private Generated :: Else g ;
105+ private Ruby :: Else g ;
106106
107107 Else ( ) { this = TElse ( g ) }
108108
@@ -112,7 +112,7 @@ private class Else extends StmtSequence, TElse {
112112}
113113
114114private class Do extends StmtSequence , TDo {
115- private Generated :: Do g ;
115+ private Ruby :: Do g ;
116116
117117 Do ( ) { this = TDo ( g ) }
118118
@@ -122,7 +122,7 @@ private class Do extends StmtSequence, TDo {
122122}
123123
124124private class Ensure extends StmtSequence , TEnsure {
125- private Generated :: Ensure g ;
125+ private Ruby :: Ensure g ;
126126
127127 Ensure ( ) { this = TEnsure ( g ) }
128128
@@ -138,28 +138,28 @@ private class Ensure extends StmtSequence, TEnsure {
138138 */
139139class BodyStmt extends StmtSequence , TBodyStmt {
140140 // Not defined by dispatch, as it should not be exposed
141- private Generated :: AstNode getChild ( int i ) {
142- result = any ( Generated :: Method g | this = TMethod ( g ) ) .getChild ( i )
141+ private Ruby :: AstNode getChild ( int i ) {
142+ result = any ( Ruby :: Method g | this = TMethod ( g ) ) .getChild ( i )
143143 or
144- result = any ( Generated :: SingletonMethod g | this = TSingletonMethod ( g ) ) .getChild ( i )
144+ result = any ( Ruby :: SingletonMethod g | this = TSingletonMethod ( g ) ) .getChild ( i )
145145 or
146- exists ( Generated :: Lambda g | this = TLambda ( g ) |
147- result = g .getBody ( ) .( Generated :: DoBlock ) .getChild ( i ) or
148- result = g .getBody ( ) .( Generated :: Block ) .getChild ( i )
146+ exists ( Ruby :: Lambda g | this = TLambda ( g ) |
147+ result = g .getBody ( ) .( Ruby :: DoBlock ) .getChild ( i ) or
148+ result = g .getBody ( ) .( Ruby :: Block ) .getChild ( i )
149149 )
150150 or
151- result = any ( Generated :: DoBlock g | this = TDoBlock ( g ) ) .getChild ( i )
151+ result = any ( Ruby :: DoBlock g | this = TDoBlock ( g ) ) .getChild ( i )
152152 or
153- result = any ( Generated :: Program g | this = TToplevel ( g ) ) .getChild ( i ) and
154- not result instanceof Generated :: BeginBlock
153+ result = any ( Ruby :: Program g | this = TToplevel ( g ) ) .getChild ( i ) and
154+ not result instanceof Ruby :: BeginBlock
155155 or
156- result = any ( Generated :: Class g | this = TClassDeclaration ( g ) ) .getChild ( i )
156+ result = any ( Ruby :: Class g | this = TClassDeclaration ( g ) ) .getChild ( i )
157157 or
158- result = any ( Generated :: SingletonClass g | this = TSingletonClass ( g ) ) .getChild ( i )
158+ result = any ( Ruby :: SingletonClass g | this = TSingletonClass ( g ) ) .getChild ( i )
159159 or
160- result = any ( Generated :: Module g | this = TModuleDeclaration ( g ) ) .getChild ( i )
160+ result = any ( Ruby :: Module g | this = TModuleDeclaration ( g ) ) .getChild ( i )
161161 or
162- result = any ( Generated :: Begin g | this = TBeginExpr ( g ) ) .getChild ( i )
162+ result = any ( Ruby :: Begin g | this = TBeginExpr ( g ) ) .getChild ( i )
163163 }
164164
165165 final override Stmt getStmt ( int n ) {
@@ -218,7 +218,7 @@ class BodyStmt extends StmtSequence, TBodyStmt {
218218 * ```
219219 */
220220class ParenthesizedExpr extends StmtSequence , TParenthesizedExpr {
221- private Generated :: ParenthesizedStatements g ;
221+ private Ruby :: ParenthesizedStatements g ;
222222
223223 ParenthesizedExpr ( ) { this = TParenthesizedExpr ( g ) }
224224
@@ -240,7 +240,7 @@ class ParenthesizedExpr extends StmtSequence, TParenthesizedExpr {
240240 * ```
241241 */
242242class Pair extends Expr , TPair {
243- private Generated :: Pair g ;
243+ private Ruby :: Pair g ;
244244
245245 Pair ( ) { this = TPair ( g ) }
246246
@@ -289,7 +289,7 @@ class Pair extends Expr, TPair {
289289 * end
290290 */
291291class RescueClause extends Expr , TRescueClause {
292- private Generated :: Rescue g ;
292+ private Ruby :: Rescue g ;
293293
294294 RescueClause ( ) { this = TRescueClause ( g ) }
295295
@@ -357,7 +357,7 @@ class RescueClause extends Expr, TRescueClause {
357357 * ```
358358 */
359359class RescueModifierExpr extends Expr , TRescueModifierExpr {
360- private Generated :: RescueModifier g ;
360+ private Ruby :: RescueModifier g ;
361361
362362 RescueModifierExpr ( ) { this = TRescueModifierExpr ( g ) }
363363
@@ -398,7 +398,7 @@ class RescueModifierExpr extends Expr, TRescueModifierExpr {
398398 * ```
399399 */
400400class StringConcatenation extends Expr , TStringConcatenation {
401- private Generated :: ChainedString g ;
401+ private Ruby :: ChainedString g ;
402402
403403 StringConcatenation ( ) { this = TStringConcatenation ( g ) }
404404
0 commit comments