@openrewrite/rewrite 0.23.1 → 0.25.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +87 -0
- package/dist/src/core/parser.js +17 -7
- package/dist/src/core/parser.js.map +1 -1
- package/dist/src/core/tree.d.ts +1 -1
- package/dist/src/core/tree.d.ts.map +1 -1
- package/dist/src/java/markers.d.ts +2 -2
- package/dist/src/java/markers.d.ts.map +1 -1
- package/dist/src/java/remote/receiver.js +17 -7
- package/dist/src/java/remote/receiver.js.map +1 -1
- package/dist/src/java/remote/sender.js +17 -7
- package/dist/src/java/remote/sender.js.map +1 -1
- package/dist/src/java/tree/support_types.d.ts +1 -1
- package/dist/src/java/tree/support_types.d.ts.map +1 -1
- package/dist/src/java/tree/tree.d.ts +70 -70
- package/dist/src/java/tree/tree.d.ts.map +1 -1
- package/dist/src/java/tree/tree.js +17 -7
- package/dist/src/java/tree/tree.js.map +1 -1
- package/dist/src/java/visitor.js +17 -7
- package/dist/src/java/visitor.js.map +1 -1
- package/dist/src/javascript/extensions.js +17 -7
- package/dist/src/javascript/extensions.js.map +1 -1
- package/dist/src/javascript/parser.d.ts +24 -20
- package/dist/src/javascript/parser.d.ts.map +1 -1
- package/dist/src/javascript/parser.js +149 -76
- package/dist/src/javascript/parser.js.map +1 -1
- package/dist/src/javascript/parserUtils.d.ts +1 -1
- package/dist/src/javascript/parserUtils.js +17 -7
- package/dist/src/javascript/parserUtils.js.map +1 -1
- package/dist/src/javascript/projectParser.js +17 -7
- package/dist/src/javascript/projectParser.js.map +1 -1
- package/dist/src/javascript/remote/receiver.d.ts.map +1 -1
- package/dist/src/javascript/remote/receiver.js +219 -15
- package/dist/src/javascript/remote/receiver.js.map +1 -1
- package/dist/src/javascript/remote/remote_extensions.js +17 -7
- package/dist/src/javascript/remote/remote_extensions.js.map +1 -1
- package/dist/src/javascript/remote/sender.d.ts.map +1 -1
- package/dist/src/javascript/remote/sender.js +167 -11
- package/dist/src/javascript/remote/sender.js.map +1 -1
- package/dist/src/javascript/tree/extensions.js +17 -7
- package/dist/src/javascript/tree/extensions.js.map +1 -1
- package/dist/src/javascript/tree/support_types.d.ts +53 -7
- package/dist/src/javascript/tree/support_types.d.ts.map +1 -1
- package/dist/src/javascript/tree/support_types.js +63 -7
- package/dist/src/javascript/tree/support_types.js.map +1 -1
- package/dist/src/javascript/tree/tree.d.ts +916 -89
- package/dist/src/javascript/tree/tree.d.ts.map +1 -1
- package/dist/src/javascript/tree/tree.js +1755 -613
- package/dist/src/javascript/tree/tree.js.map +1 -1
- package/dist/src/javascript/typeMapping.js +17 -7
- package/dist/src/javascript/typeMapping.js.map +1 -1
- package/dist/src/javascript/visitor.d.ts +17 -1
- package/dist/src/javascript/visitor.d.ts.map +1 -1
- package/dist/src/javascript/visitor.js +225 -10
- package/dist/src/javascript/visitor.js.map +1 -1
- package/dist/src/json/tree.d.ts +1 -1
- package/dist/src/json/tree.d.ts.map +1 -1
- package/dist/src/json/visitor.js +17 -7
- package/dist/src/json/visitor.js.map +1 -1
- package/dist/src/yaml/tree/support_types.d.ts +1 -1
- package/dist/src/yaml/tree/support_types.d.ts.map +1 -1
- package/dist/src/yaml/tree/tree.d.ts +11 -11
- package/package.json +1 -1
- package/LICENSE +0 -201
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"parserUtils.js","sourceRoot":"","sources":["../../../src/javascript/parserUtils.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"parserUtils.js","sourceRoot":"","sources":["../../../src/javascript/parserUtils.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,wCA6DC;AAED,gDAyDC;AAoBD,4CAmBC;AAED,oCAkBC;AArLD,+CAAiC;AAEjC,SAAgB,cAAc,CAAC,IAAa;IACxC,MAAM,MAAM,GAAG,IAAI,CAAC,MAAM,CAAC;IAC3B,IAAI,CAAC,MAAM,EAAE,CAAC;QACV,OAA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AU,GAAG,CAAC,EAAE,CAAC;YACxB,GAAG,GAAG,GAAG,GAAG,CAAC,CAAC;QAClB,CAAC;aAAM,CAAC;YACJ,IAAI,GAAG,GAAG,GAAG,CAAC,CAAC;QACnB,CAAC;IACL,CAAC;IACD,OAAO,CAAC,GAAG,CAAC;AAChB,CAAC"}
|
|
@@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
15
15
|
}) : function(o, v) {
|
|
16
16
|
o["default"] = v;
|
|
17
17
|
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
};
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
25
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
36
|
exports.TypeScriptParser = exports.Subproject = exports.PackageManager = void 0;
|
|
27
37
|
exports.findSubprojects = findSubprojects;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"projectParser.js","sourceRoot":"","sources":["../../../src/javascript/projectParser.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"projectParser.js","sourceRoot":"","sources":["../../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Ae,CAAC,SAAiB;QACtC,MAAM,OAAO,GAAG,EAAE,CAAC,WAAW,CAAC,SAAS,EAAE,EAAC,aAAa,EAAE,IAAI,EAAC,CAAC,CAAC;QAEjE,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,IAAI,KAAK,cAAc,CAAC,EAAE,CAAC;YACzD,WAAW,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;QAChC,CAAC;QACD,KAAK,MAAM,KAAK,IAAI,OAAO,EAAE,CAAC;YAC1B,IAAI,KAAK,CAAC,WAAW,EAAE,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,EAAE,CAAC;gBACrD,eAAe,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC;YACtD,CAAC;QACL,CAAC;IACL,CAAC;IAED,eAAe,CAAC,OAAO,CAAC,CAAC;IACzB,OAAO,WAAW,CAAC;AACvB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"receiver.d.ts","sourceRoot":"","sources":["../../../../src/javascript/remote/receiver.ts"],"names":[],"mappings":"AACA,OAAO,EAA8C,IAAI,EAAC,MAAM,YAAY,CAAC;AAC7E,OAAO,EAAkB,QAAQ,EAAE,eAAe,EAA6B,MAAM,6BAA6B,CAAC;AAEnH,OAAO,EAAC,EAAE,
|
|
1
|
+
{"version":3,"file":"receiver.d.ts","sourceRoot":"","sources":["../../../../src/javascript/remote/receiver.ts"],"names":[],"mappings":"AACA,OAAO,EAA8C,IAAI,EAAC,MAAM,YAAY,CAAC;AAC7E,OAAO,EAAkB,QAAQ,EAAE,eAAe,EAA6B,MAAM,6BAA6B,CAAC;AAEnH,OAAO,EAAC,EAAE,EAA45B,MAAM,SAAS,CAAC;AAIt7B,qBAAa,kBAAmB,YAAW,QAAQ,CAAC,EAAE,CAAC;IAC5C,IAAI,CAAC,GAAG,EAAE,eAAe,GAAG,eAAe;IAI3C,OAAO,CAAC,MAAM,EAAE,EAAE,GAAG,IAAI,EAAE,GAAG,EAAE,eAAe,GAAG,IAAI;CAIhE"}
|
|
@@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
15
15
|
}) : function(o, v) {
|
|
16
16
|
o["default"] = v;
|
|
17
17
|
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
};
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
25
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
36
|
exports.JavaScriptReceiver = void 0;
|
|
27
37
|
const extensions = __importStar(require("./remote_extensions"));
|
|
@@ -78,8 +88,7 @@ class Visitor extends __1.JavaScriptVisitor {
|
|
|
78
88
|
arrowFunction = arrowFunction.withTypeParameters(ctx.receiveNode(arrowFunction.typeParameters, ctx.receiveTree));
|
|
79
89
|
arrowFunction = arrowFunction.withParameters(ctx.receiveNode(arrowFunction.parameters, ctx.receiveTree));
|
|
80
90
|
arrowFunction = arrowFunction.withReturnTypeExpression(ctx.receiveNode(arrowFunction.returnTypeExpression, ctx.receiveTree));
|
|
81
|
-
arrowFunction = arrowFunction.
|
|
82
|
-
arrowFunction = arrowFunction.withBody(ctx.receiveNode(arrowFunction.body, ctx.receiveTree));
|
|
91
|
+
arrowFunction = arrowFunction.padding.withBody(ctx.receiveNode(arrowFunction.padding.body, receiveLeftPaddedTree));
|
|
83
92
|
arrowFunction = arrowFunction.withType(ctx.receiveValue(arrowFunction.type, 5));
|
|
84
93
|
return arrowFunction;
|
|
85
94
|
}
|
|
@@ -147,12 +156,32 @@ class Visitor extends __1.JavaScriptVisitor {
|
|
|
147
156
|
functionType = functionType.withPrefix(ctx.receiveNode(functionType.prefix, receiveSpace));
|
|
148
157
|
functionType = functionType.withMarkers(ctx.receiveNode(functionType.markers, ctx.receiveMarkers));
|
|
149
158
|
functionType = functionType.padding.withConstructorType(ctx.receiveNode(functionType.padding.constructorType, rightPaddedValueReceiver(1)));
|
|
159
|
+
functionType = functionType.withTypeParameters(ctx.receiveNode(functionType.typeParameters, ctx.receiveTree));
|
|
150
160
|
functionType = functionType.padding.withParameters(ctx.receiveNode(functionType.padding.parameters, receiveContainer));
|
|
151
161
|
functionType = functionType.withArrow(ctx.receiveNode(functionType.arrow, receiveSpace));
|
|
152
162
|
functionType = functionType.withReturnType(ctx.receiveNode(functionType.returnType, ctx.receiveTree));
|
|
153
163
|
functionType = functionType.withType(ctx.receiveValue(functionType.type, 5));
|
|
154
164
|
return functionType;
|
|
155
165
|
}
|
|
166
|
+
visitInferType(inferType, ctx) {
|
|
167
|
+
inferType = inferType.withId(ctx.receiveValue(inferType.id, 0));
|
|
168
|
+
inferType = inferType.withPrefix(ctx.receiveNode(inferType.prefix, receiveSpace));
|
|
169
|
+
inferType = inferType.withMarkers(ctx.receiveNode(inferType.markers, ctx.receiveMarkers));
|
|
170
|
+
inferType = inferType.padding.withTypeParameter(ctx.receiveNode(inferType.padding.typeParameter, receiveLeftPaddedTree));
|
|
171
|
+
inferType = inferType.withType(ctx.receiveValue(inferType.type, 5));
|
|
172
|
+
return inferType;
|
|
173
|
+
}
|
|
174
|
+
visitImportType(importType, ctx) {
|
|
175
|
+
importType = importType.withId(ctx.receiveValue(importType.id, 0));
|
|
176
|
+
importType = importType.withPrefix(ctx.receiveNode(importType.prefix, receiveSpace));
|
|
177
|
+
importType = importType.withMarkers(ctx.receiveNode(importType.markers, ctx.receiveMarkers));
|
|
178
|
+
importType = importType.padding.withHasTypeof(ctx.receiveNode(importType.padding.hasTypeof, rightPaddedValueReceiver(1)));
|
|
179
|
+
importType = importType.withImportArgument(ctx.receiveNode(importType.importArgument, ctx.receiveTree));
|
|
180
|
+
importType = importType.padding.withQualifier(ctx.receiveNode(importType.padding.qualifier, receiveLeftPaddedTree));
|
|
181
|
+
importType = importType.padding.withTypeArguments(ctx.receiveNode(importType.padding.typeArguments, receiveContainer));
|
|
182
|
+
importType = importType.withType(ctx.receiveValue(importType.type, 5));
|
|
183
|
+
return importType;
|
|
184
|
+
}
|
|
156
185
|
visitJsImport(jsImport, ctx) {
|
|
157
186
|
jsImport = jsImport.withId(ctx.receiveValue(jsImport.id, 0));
|
|
158
187
|
jsImport = jsImport.withPrefix(ctx.receiveNode(jsImport.prefix, receiveSpace));
|
|
@@ -184,6 +213,43 @@ class Visitor extends __1.JavaScriptVisitor {
|
|
|
184
213
|
jsBinary = jsBinary.withType(ctx.receiveValue(jsBinary.type, 5));
|
|
185
214
|
return jsBinary;
|
|
186
215
|
}
|
|
216
|
+
visitLiteralType(literalType, ctx) {
|
|
217
|
+
literalType = literalType.withId(ctx.receiveValue(literalType.id, 0));
|
|
218
|
+
literalType = literalType.withPrefix(ctx.receiveNode(literalType.prefix, receiveSpace));
|
|
219
|
+
literalType = literalType.withMarkers(ctx.receiveNode(literalType.markers, ctx.receiveMarkers));
|
|
220
|
+
literalType = literalType.withLiteral(ctx.receiveNode(literalType.literal, ctx.receiveTree));
|
|
221
|
+
literalType = literalType.withType(ctx.receiveValue(literalType.type, 5));
|
|
222
|
+
return literalType;
|
|
223
|
+
}
|
|
224
|
+
visitMappedType(mappedType, ctx) {
|
|
225
|
+
mappedType = mappedType.withId(ctx.receiveValue(mappedType.id, 0));
|
|
226
|
+
mappedType = mappedType.withPrefix(ctx.receiveNode(mappedType.prefix, receiveSpace));
|
|
227
|
+
mappedType = mappedType.withMarkers(ctx.receiveNode(mappedType.markers, ctx.receiveMarkers));
|
|
228
|
+
mappedType = mappedType.padding.withPrefixToken(ctx.receiveNode(mappedType.padding.prefixToken, receiveLeftPaddedTree));
|
|
229
|
+
mappedType = mappedType.padding.withHasReadonly(ctx.receiveNode(mappedType.padding.hasReadonly, leftPaddedValueReceiver(1)));
|
|
230
|
+
mappedType = mappedType.withKeysRemapping(ctx.receiveNode(mappedType.keysRemapping, ctx.receiveTree));
|
|
231
|
+
mappedType = mappedType.padding.withSuffixToken(ctx.receiveNode(mappedType.padding.suffixToken, receiveLeftPaddedTree));
|
|
232
|
+
mappedType = mappedType.padding.withHasQuestionToken(ctx.receiveNode(mappedType.padding.hasQuestionToken, leftPaddedValueReceiver(1)));
|
|
233
|
+
mappedType = mappedType.padding.withValueType(ctx.receiveNode(mappedType.padding.valueType, receiveContainer));
|
|
234
|
+
mappedType = mappedType.withType(ctx.receiveValue(mappedType.type, 5));
|
|
235
|
+
return mappedType;
|
|
236
|
+
}
|
|
237
|
+
visitMappedTypeKeysRemapping(keysRemapping, ctx) {
|
|
238
|
+
keysRemapping = keysRemapping.withId(ctx.receiveValue(keysRemapping.id, 0));
|
|
239
|
+
keysRemapping = keysRemapping.withPrefix(ctx.receiveNode(keysRemapping.prefix, receiveSpace));
|
|
240
|
+
keysRemapping = keysRemapping.withMarkers(ctx.receiveNode(keysRemapping.markers, ctx.receiveMarkers));
|
|
241
|
+
keysRemapping = keysRemapping.padding.withTypeParameter(ctx.receiveNode(keysRemapping.padding.typeParameter, receiveRightPaddedTree));
|
|
242
|
+
keysRemapping = keysRemapping.padding.withNameType(ctx.receiveNode(keysRemapping.padding.nameType, receiveRightPaddedTree));
|
|
243
|
+
return keysRemapping;
|
|
244
|
+
}
|
|
245
|
+
visitMappedTypeMappedTypeParameter(mappedTypeParameter, ctx) {
|
|
246
|
+
mappedTypeParameter = mappedTypeParameter.withId(ctx.receiveValue(mappedTypeParameter.id, 0));
|
|
247
|
+
mappedTypeParameter = mappedTypeParameter.withPrefix(ctx.receiveNode(mappedTypeParameter.prefix, receiveSpace));
|
|
248
|
+
mappedTypeParameter = mappedTypeParameter.withMarkers(ctx.receiveNode(mappedTypeParameter.markers, ctx.receiveMarkers));
|
|
249
|
+
mappedTypeParameter = mappedTypeParameter.withName(ctx.receiveNode(mappedTypeParameter.name, ctx.receiveTree));
|
|
250
|
+
mappedTypeParameter = mappedTypeParameter.padding.withIterateType(ctx.receiveNode(mappedTypeParameter.padding.iterateType, receiveLeftPaddedTree));
|
|
251
|
+
return mappedTypeParameter;
|
|
252
|
+
}
|
|
187
253
|
visitObjectBindingDeclarations(objectBindingDeclarations, ctx) {
|
|
188
254
|
objectBindingDeclarations = objectBindingDeclarations.withId(ctx.receiveValue(objectBindingDeclarations.id, 0));
|
|
189
255
|
objectBindingDeclarations = objectBindingDeclarations.withPrefix(ctx.receiveNode(objectBindingDeclarations.prefix, receiveSpace));
|
|
@@ -203,6 +269,15 @@ class Visitor extends __1.JavaScriptVisitor {
|
|
|
203
269
|
propertyAssignment = propertyAssignment.withInitializer(ctx.receiveNode(propertyAssignment.initializer, ctx.receiveTree));
|
|
204
270
|
return propertyAssignment;
|
|
205
271
|
}
|
|
272
|
+
visitSatisfiesExpression(satisfiesExpression, ctx) {
|
|
273
|
+
satisfiesExpression = satisfiesExpression.withId(ctx.receiveValue(satisfiesExpression.id, 0));
|
|
274
|
+
satisfiesExpression = satisfiesExpression.withPrefix(ctx.receiveNode(satisfiesExpression.prefix, receiveSpace));
|
|
275
|
+
satisfiesExpression = satisfiesExpression.withMarkers(ctx.receiveNode(satisfiesExpression.markers, ctx.receiveMarkers));
|
|
276
|
+
satisfiesExpression = satisfiesExpression.withExpression(ctx.receiveNode(satisfiesExpression.expression, ctx.receiveTree));
|
|
277
|
+
satisfiesExpression = satisfiesExpression.padding.withSatisfiesType(ctx.receiveNode(satisfiesExpression.padding.satisfiesType, receiveLeftPaddedTree));
|
|
278
|
+
satisfiesExpression = satisfiesExpression.withType(ctx.receiveValue(satisfiesExpression.type, 5));
|
|
279
|
+
return satisfiesExpression;
|
|
280
|
+
}
|
|
206
281
|
visitScopedVariableDeclarations(scopedVariableDeclarations, ctx) {
|
|
207
282
|
scopedVariableDeclarations = scopedVariableDeclarations.withId(ctx.receiveValue(scopedVariableDeclarations.id, 0));
|
|
208
283
|
scopedVariableDeclarations = scopedVariableDeclarations.withPrefix(ctx.receiveNode(scopedVariableDeclarations.prefix, receiveSpace));
|
|
@@ -287,6 +362,16 @@ class Visitor extends __1.JavaScriptVisitor {
|
|
|
287
362
|
typeOperator = typeOperator.padding.withExpression(ctx.receiveNode(typeOperator.padding.expression, receiveLeftPaddedTree));
|
|
288
363
|
return typeOperator;
|
|
289
364
|
}
|
|
365
|
+
visitTypePredicate(typePredicate, ctx) {
|
|
366
|
+
typePredicate = typePredicate.withId(ctx.receiveValue(typePredicate.id, 0));
|
|
367
|
+
typePredicate = typePredicate.withPrefix(ctx.receiveNode(typePredicate.prefix, receiveSpace));
|
|
368
|
+
typePredicate = typePredicate.withMarkers(ctx.receiveNode(typePredicate.markers, ctx.receiveMarkers));
|
|
369
|
+
typePredicate = typePredicate.padding.withAsserts(ctx.receiveNode(typePredicate.padding.asserts, leftPaddedValueReceiver(1)));
|
|
370
|
+
typePredicate = typePredicate.withParameterName(ctx.receiveNode(typePredicate.parameterName, ctx.receiveTree));
|
|
371
|
+
typePredicate = typePredicate.padding.withExpression(ctx.receiveNode(typePredicate.padding.expression, receiveLeftPaddedTree));
|
|
372
|
+
typePredicate = typePredicate.withType(ctx.receiveValue(typePredicate.type, 5));
|
|
373
|
+
return typePredicate;
|
|
374
|
+
}
|
|
290
375
|
visitJsUnary(unary, ctx) {
|
|
291
376
|
unary = unary.withId(ctx.receiveValue(unary.id, 0));
|
|
292
377
|
unary = unary.withPrefix(ctx.receiveNode(unary.prefix, receiveSpace));
|
|
@@ -323,7 +408,7 @@ class Visitor extends __1.JavaScriptVisitor {
|
|
|
323
408
|
_yield = _yield.withId(ctx.receiveValue(_yield.id, 0));
|
|
324
409
|
_yield = _yield.withPrefix(ctx.receiveNode(_yield.prefix, receiveSpace));
|
|
325
410
|
_yield = _yield.withMarkers(ctx.receiveNode(_yield.markers, ctx.receiveMarkers));
|
|
326
|
-
_yield = _yield.withDelegated(ctx.
|
|
411
|
+
_yield = _yield.padding.withDelegated(ctx.receiveNode(_yield.padding.delegated, leftPaddedValueReceiver(1)));
|
|
327
412
|
_yield = _yield.withExpression(ctx.receiveNode(_yield.expression, ctx.receiveTree));
|
|
328
413
|
_yield = _yield.withType(ctx.receiveValue(_yield.type, 5));
|
|
329
414
|
return _yield;
|
|
@@ -412,7 +497,8 @@ class Visitor extends __1.JavaScriptVisitor {
|
|
|
412
497
|
functionDeclaration = functionDeclaration.withPrefix(ctx.receiveNode(functionDeclaration.prefix, receiveSpace));
|
|
413
498
|
functionDeclaration = functionDeclaration.withMarkers(ctx.receiveNode(functionDeclaration.markers, ctx.receiveMarkers));
|
|
414
499
|
functionDeclaration = functionDeclaration.withModifiers(ctx.receiveNodes(functionDeclaration.modifiers, ctx.receiveTree));
|
|
415
|
-
functionDeclaration = functionDeclaration.
|
|
500
|
+
functionDeclaration = functionDeclaration.padding.withAsteriskToken(ctx.receiveNode(functionDeclaration.padding.asteriskToken, leftPaddedValueReceiver(1)));
|
|
501
|
+
functionDeclaration = functionDeclaration.padding.withName(ctx.receiveNode(functionDeclaration.padding.name, receiveLeftPaddedTree));
|
|
416
502
|
functionDeclaration = functionDeclaration.withTypeParameters(ctx.receiveNode(functionDeclaration.typeParameters, ctx.receiveTree));
|
|
417
503
|
functionDeclaration = functionDeclaration.padding.withParameters(ctx.receiveNode(functionDeclaration.padding.parameters, receiveContainer));
|
|
418
504
|
functionDeclaration = functionDeclaration.withReturnTypeExpression(ctx.receiveNode(functionDeclaration.returnTypeExpression, ctx.receiveTree));
|
|
@@ -456,6 +542,76 @@ class Visitor extends __1.JavaScriptVisitor {
|
|
|
456
542
|
bindingElement = bindingElement.withVariableType(ctx.receiveValue(bindingElement.variableType, 5));
|
|
457
543
|
return bindingElement;
|
|
458
544
|
}
|
|
545
|
+
visitExportDeclaration(exportDeclaration, ctx) {
|
|
546
|
+
exportDeclaration = exportDeclaration.withId(ctx.receiveValue(exportDeclaration.id, 0));
|
|
547
|
+
exportDeclaration = exportDeclaration.withPrefix(ctx.receiveNode(exportDeclaration.prefix, receiveSpace));
|
|
548
|
+
exportDeclaration = exportDeclaration.withMarkers(ctx.receiveNode(exportDeclaration.markers, ctx.receiveMarkers));
|
|
549
|
+
exportDeclaration = exportDeclaration.withModifiers(ctx.receiveNodes(exportDeclaration.modifiers, ctx.receiveTree));
|
|
550
|
+
exportDeclaration = exportDeclaration.padding.withTypeOnly(ctx.receiveNode(exportDeclaration.padding.typeOnly, leftPaddedValueReceiver(1)));
|
|
551
|
+
exportDeclaration = exportDeclaration.withExportClause(ctx.receiveNode(exportDeclaration.exportClause, ctx.receiveTree));
|
|
552
|
+
exportDeclaration = exportDeclaration.padding.withModuleSpecifier(ctx.receiveNode(exportDeclaration.padding.moduleSpecifier, receiveLeftPaddedTree));
|
|
553
|
+
return exportDeclaration;
|
|
554
|
+
}
|
|
555
|
+
visitExportAssignment(exportAssignment, ctx) {
|
|
556
|
+
exportAssignment = exportAssignment.withId(ctx.receiveValue(exportAssignment.id, 0));
|
|
557
|
+
exportAssignment = exportAssignment.withPrefix(ctx.receiveNode(exportAssignment.prefix, receiveSpace));
|
|
558
|
+
exportAssignment = exportAssignment.withMarkers(ctx.receiveNode(exportAssignment.markers, ctx.receiveMarkers));
|
|
559
|
+
exportAssignment = exportAssignment.withModifiers(ctx.receiveNodes(exportAssignment.modifiers, ctx.receiveTree));
|
|
560
|
+
exportAssignment = exportAssignment.padding.withExportEquals(ctx.receiveNode(exportAssignment.padding.exportEquals, leftPaddedValueReceiver(1)));
|
|
561
|
+
exportAssignment = exportAssignment.withExpression(ctx.receiveNode(exportAssignment.expression, ctx.receiveTree));
|
|
562
|
+
return exportAssignment;
|
|
563
|
+
}
|
|
564
|
+
visitNamedExports(namedExports, ctx) {
|
|
565
|
+
namedExports = namedExports.withId(ctx.receiveValue(namedExports.id, 0));
|
|
566
|
+
namedExports = namedExports.withPrefix(ctx.receiveNode(namedExports.prefix, receiveSpace));
|
|
567
|
+
namedExports = namedExports.withMarkers(ctx.receiveNode(namedExports.markers, ctx.receiveMarkers));
|
|
568
|
+
namedExports = namedExports.padding.withElements(ctx.receiveNode(namedExports.padding.elements, receiveContainer));
|
|
569
|
+
namedExports = namedExports.withType(ctx.receiveValue(namedExports.type, 5));
|
|
570
|
+
return namedExports;
|
|
571
|
+
}
|
|
572
|
+
visitExportSpecifier(exportSpecifier, ctx) {
|
|
573
|
+
exportSpecifier = exportSpecifier.withId(ctx.receiveValue(exportSpecifier.id, 0));
|
|
574
|
+
exportSpecifier = exportSpecifier.withPrefix(ctx.receiveNode(exportSpecifier.prefix, receiveSpace));
|
|
575
|
+
exportSpecifier = exportSpecifier.withMarkers(ctx.receiveNode(exportSpecifier.markers, ctx.receiveMarkers));
|
|
576
|
+
exportSpecifier = exportSpecifier.padding.withTypeOnly(ctx.receiveNode(exportSpecifier.padding.typeOnly, leftPaddedValueReceiver(1)));
|
|
577
|
+
exportSpecifier = exportSpecifier.withSpecifier(ctx.receiveNode(exportSpecifier.specifier, ctx.receiveTree));
|
|
578
|
+
exportSpecifier = exportSpecifier.withType(ctx.receiveValue(exportSpecifier.type, 5));
|
|
579
|
+
return exportSpecifier;
|
|
580
|
+
}
|
|
581
|
+
visitIndexedAccessType(indexedAccessType, ctx) {
|
|
582
|
+
indexedAccessType = indexedAccessType.withId(ctx.receiveValue(indexedAccessType.id, 0));
|
|
583
|
+
indexedAccessType = indexedAccessType.withPrefix(ctx.receiveNode(indexedAccessType.prefix, receiveSpace));
|
|
584
|
+
indexedAccessType = indexedAccessType.withMarkers(ctx.receiveNode(indexedAccessType.markers, ctx.receiveMarkers));
|
|
585
|
+
indexedAccessType = indexedAccessType.withObjectType(ctx.receiveNode(indexedAccessType.objectType, ctx.receiveTree));
|
|
586
|
+
indexedAccessType = indexedAccessType.withIndexType(ctx.receiveNode(indexedAccessType.indexType, ctx.receiveTree));
|
|
587
|
+
indexedAccessType = indexedAccessType.withType(ctx.receiveValue(indexedAccessType.type, 5));
|
|
588
|
+
return indexedAccessType;
|
|
589
|
+
}
|
|
590
|
+
visitIndexedAccessTypeIndexType(indexType, ctx) {
|
|
591
|
+
indexType = indexType.withId(ctx.receiveValue(indexType.id, 0));
|
|
592
|
+
indexType = indexType.withPrefix(ctx.receiveNode(indexType.prefix, receiveSpace));
|
|
593
|
+
indexType = indexType.withMarkers(ctx.receiveNode(indexType.markers, ctx.receiveMarkers));
|
|
594
|
+
indexType = indexType.padding.withElement(ctx.receiveNode(indexType.padding.element, receiveRightPaddedTree));
|
|
595
|
+
indexType = indexType.withType(ctx.receiveValue(indexType.type, 5));
|
|
596
|
+
return indexType;
|
|
597
|
+
}
|
|
598
|
+
visitJsAssignmentOperation(jsAssignmentOperation, ctx) {
|
|
599
|
+
jsAssignmentOperation = jsAssignmentOperation.withId(ctx.receiveValue(jsAssignmentOperation.id, 0));
|
|
600
|
+
jsAssignmentOperation = jsAssignmentOperation.withPrefix(ctx.receiveNode(jsAssignmentOperation.prefix, receiveSpace));
|
|
601
|
+
jsAssignmentOperation = jsAssignmentOperation.withMarkers(ctx.receiveNode(jsAssignmentOperation.markers, ctx.receiveMarkers));
|
|
602
|
+
jsAssignmentOperation = jsAssignmentOperation.withVariable(ctx.receiveNode(jsAssignmentOperation.variable, ctx.receiveTree));
|
|
603
|
+
jsAssignmentOperation = jsAssignmentOperation.padding.withOperator(ctx.receiveNode(jsAssignmentOperation.padding.operator, leftPaddedValueReceiver(3)));
|
|
604
|
+
jsAssignmentOperation = jsAssignmentOperation.withAssignment(ctx.receiveNode(jsAssignmentOperation.assignment, ctx.receiveTree));
|
|
605
|
+
jsAssignmentOperation = jsAssignmentOperation.withType(ctx.receiveValue(jsAssignmentOperation.type, 5));
|
|
606
|
+
return jsAssignmentOperation;
|
|
607
|
+
}
|
|
608
|
+
visitTypeTreeExpression(typeTreeExpression, ctx) {
|
|
609
|
+
typeTreeExpression = typeTreeExpression.withId(ctx.receiveValue(typeTreeExpression.id, 0));
|
|
610
|
+
typeTreeExpression = typeTreeExpression.withPrefix(ctx.receiveNode(typeTreeExpression.prefix, receiveSpace));
|
|
611
|
+
typeTreeExpression = typeTreeExpression.withMarkers(ctx.receiveNode(typeTreeExpression.markers, ctx.receiveMarkers));
|
|
612
|
+
typeTreeExpression = typeTreeExpression.withExpression(ctx.receiveNode(typeTreeExpression.expression, ctx.receiveTree));
|
|
613
|
+
return typeTreeExpression;
|
|
614
|
+
}
|
|
459
615
|
visitAnnotatedType(annotatedType, ctx) {
|
|
460
616
|
annotatedType = annotatedType.withId(ctx.receiveValue(annotatedType.id, 0));
|
|
461
617
|
annotatedType = annotatedType.withPrefix(ctx.receiveNode(annotatedType.prefix, receiveSpace));
|
|
@@ -1064,7 +1220,7 @@ class Factory {
|
|
|
1064
1220
|
return new tree_1.Alias(ctx.receiveValue(null, 0), ctx.receiveNode(null, receiveSpace), ctx.receiveNode(null, ctx.receiveMarkers), ctx.receiveNode(null, receiveRightPaddedTree), ctx.receiveNode(null, ctx.receiveTree));
|
|
1065
1221
|
}
|
|
1066
1222
|
if (type === "org.openrewrite.javascript.tree.JS$ArrowFunction") {
|
|
1067
|
-
return new tree_1.ArrowFunction(ctx.receiveValue(null, 0), ctx.receiveNode(null, receiveSpace), ctx.receiveNode(null, ctx.receiveMarkers), ctx.receiveNodes(null, ctx.receiveTree), ctx.receiveNodes(null, ctx.receiveTree), ctx.receiveNode(null, ctx.receiveTree), ctx.receiveNode(null, ctx.receiveTree), ctx.receiveNode(null, ctx.receiveTree), ctx.receiveNode(null,
|
|
1223
|
+
return new tree_1.ArrowFunction(ctx.receiveValue(null, 0), ctx.receiveNode(null, receiveSpace), ctx.receiveNode(null, ctx.receiveMarkers), ctx.receiveNodes(null, ctx.receiveTree), ctx.receiveNodes(null, ctx.receiveTree), ctx.receiveNode(null, ctx.receiveTree), ctx.receiveNode(null, ctx.receiveTree), ctx.receiveNode(null, ctx.receiveTree), ctx.receiveNode(null, receiveLeftPaddedTree), ctx.receiveValue(null, 5));
|
|
1068
1224
|
}
|
|
1069
1225
|
if (type === "org.openrewrite.javascript.tree.JS$Await") {
|
|
1070
1226
|
return new tree_1.Await(ctx.receiveValue(null, 0), ctx.receiveNode(null, receiveSpace), ctx.receiveNode(null, ctx.receiveMarkers), ctx.receiveNode(null, ctx.receiveTree), ctx.receiveValue(null, 5));
|
|
@@ -1088,7 +1244,13 @@ class Factory {
|
|
|
1088
1244
|
return new tree_1.ExpressionWithTypeArguments(ctx.receiveValue(null, 0), ctx.receiveNode(null, receiveSpace), ctx.receiveNode(null, ctx.receiveMarkers), ctx.receiveNode(null, ctx.receiveTree), ctx.receiveNode(null, receiveContainer), ctx.receiveValue(null, 5));
|
|
1089
1245
|
}
|
|
1090
1246
|
if (type === "org.openrewrite.javascript.tree.JS$FunctionType") {
|
|
1091
|
-
return new tree_1.FunctionType(ctx.receiveValue(null, 0), ctx.receiveNode(null, receiveSpace), ctx.receiveNode(null, ctx.receiveMarkers), ctx.receiveNode(null, rightPaddedValueReceiver(1)), ctx.receiveNode(null, receiveContainer), ctx.receiveNode(null, receiveSpace), ctx.receiveNode(null, ctx.receiveTree), ctx.receiveValue(null, 5));
|
|
1247
|
+
return new tree_1.FunctionType(ctx.receiveValue(null, 0), ctx.receiveNode(null, receiveSpace), ctx.receiveNode(null, ctx.receiveMarkers), ctx.receiveNode(null, rightPaddedValueReceiver(1)), ctx.receiveNode(null, ctx.receiveTree), ctx.receiveNode(null, receiveContainer), ctx.receiveNode(null, receiveSpace), ctx.receiveNode(null, ctx.receiveTree), ctx.receiveValue(null, 5));
|
|
1248
|
+
}
|
|
1249
|
+
if (type === "org.openrewrite.javascript.tree.JS$InferType") {
|
|
1250
|
+
return new tree_1.InferType(ctx.receiveValue(null, 0), ctx.receiveNode(null, receiveSpace), ctx.receiveNode(null, ctx.receiveMarkers), ctx.receiveNode(null, receiveLeftPaddedTree), ctx.receiveValue(null, 5));
|
|
1251
|
+
}
|
|
1252
|
+
if (type === "org.openrewrite.javascript.tree.JS$ImportType") {
|
|
1253
|
+
return new tree_1.ImportType(ctx.receiveValue(null, 0), ctx.receiveNode(null, receiveSpace), ctx.receiveNode(null, ctx.receiveMarkers), ctx.receiveNode(null, rightPaddedValueReceiver(1)), ctx.receiveNode(null, ctx.receiveTree), ctx.receiveNode(null, receiveLeftPaddedTree), ctx.receiveNode(null, receiveContainer), ctx.receiveValue(null, 5));
|
|
1092
1254
|
}
|
|
1093
1255
|
if (type === "org.openrewrite.javascript.tree.JS$JsImport") {
|
|
1094
1256
|
return new tree_1.JsImport(ctx.receiveValue(null, 0), ctx.receiveNode(null, receiveSpace), ctx.receiveNode(null, ctx.receiveMarkers), ctx.receiveNode(null, receiveRightPaddedTree), ctx.receiveNode(null, leftPaddedValueReceiver(1)), ctx.receiveNode(null, receiveContainer), ctx.receiveNode(null, receiveSpace), ctx.receiveNode(null, ctx.receiveTree), ctx.receiveNode(null, receiveLeftPaddedTree));
|
|
@@ -1099,12 +1261,27 @@ class Factory {
|
|
|
1099
1261
|
if (type === "org.openrewrite.javascript.tree.JS$JsBinary") {
|
|
1100
1262
|
return new tree_1.JsBinary(ctx.receiveValue(null, 0), ctx.receiveNode(null, receiveSpace), ctx.receiveNode(null, ctx.receiveMarkers), ctx.receiveNode(null, ctx.receiveTree), ctx.receiveNode(null, leftPaddedValueReceiver(3)), ctx.receiveNode(null, ctx.receiveTree), ctx.receiveValue(null, 5));
|
|
1101
1263
|
}
|
|
1264
|
+
if (type === "org.openrewrite.javascript.tree.JS$LiteralType") {
|
|
1265
|
+
return new tree_1.LiteralType(ctx.receiveValue(null, 0), ctx.receiveNode(null, receiveSpace), ctx.receiveNode(null, ctx.receiveMarkers), ctx.receiveNode(null, ctx.receiveTree), ctx.receiveValue(null, 5));
|
|
1266
|
+
}
|
|
1267
|
+
if (type === "org.openrewrite.javascript.tree.JS$MappedType") {
|
|
1268
|
+
return new tree_1.MappedType(ctx.receiveValue(null, 0), ctx.receiveNode(null, receiveSpace), ctx.receiveNode(null, ctx.receiveMarkers), ctx.receiveNode(null, receiveLeftPaddedTree), ctx.receiveNode(null, leftPaddedValueReceiver(1)), ctx.receiveNode(null, ctx.receiveTree), ctx.receiveNode(null, receiveLeftPaddedTree), ctx.receiveNode(null, leftPaddedValueReceiver(1)), ctx.receiveNode(null, receiveContainer), ctx.receiveValue(null, 5));
|
|
1269
|
+
}
|
|
1270
|
+
if (type === "org.openrewrite.javascript.tree.JS$MappedType$KeysRemapping") {
|
|
1271
|
+
return new tree_1.MappedType.KeysRemapping(ctx.receiveValue(null, 0), ctx.receiveNode(null, receiveSpace), ctx.receiveNode(null, ctx.receiveMarkers), ctx.receiveNode(null, receiveRightPaddedTree), ctx.receiveNode(null, receiveRightPaddedTree));
|
|
1272
|
+
}
|
|
1273
|
+
if (type === "org.openrewrite.javascript.tree.JS$MappedType$MappedTypeParameter") {
|
|
1274
|
+
return new tree_1.MappedType.MappedTypeParameter(ctx.receiveValue(null, 0), ctx.receiveNode(null, receiveSpace), ctx.receiveNode(null, ctx.receiveMarkers), ctx.receiveNode(null, ctx.receiveTree), ctx.receiveNode(null, receiveLeftPaddedTree));
|
|
1275
|
+
}
|
|
1102
1276
|
if (type === "org.openrewrite.javascript.tree.JS$ObjectBindingDeclarations") {
|
|
1103
1277
|
return new tree_1.ObjectBindingDeclarations(ctx.receiveValue(null, 0), ctx.receiveNode(null, receiveSpace), ctx.receiveNode(null, ctx.receiveMarkers), ctx.receiveNodes(null, ctx.receiveTree), ctx.receiveNodes(null, ctx.receiveTree), ctx.receiveNode(null, ctx.receiveTree), ctx.receiveNode(null, receiveContainer), ctx.receiveNode(null, receiveLeftPaddedTree));
|
|
1104
1278
|
}
|
|
1105
1279
|
if (type === "org.openrewrite.javascript.tree.JS$PropertyAssignment") {
|
|
1106
1280
|
return new tree_1.PropertyAssignment(ctx.receiveValue(null, 0), ctx.receiveNode(null, receiveSpace), ctx.receiveNode(null, ctx.receiveMarkers), ctx.receiveNode(null, receiveRightPaddedTree), ctx.receiveNode(null, ctx.receiveTree));
|
|
1107
1281
|
}
|
|
1282
|
+
if (type === "org.openrewrite.javascript.tree.JS$SatisfiesExpression") {
|
|
1283
|
+
return new tree_1.SatisfiesExpression(ctx.receiveValue(null, 0), ctx.receiveNode(null, receiveSpace), ctx.receiveNode(null, ctx.receiveMarkers), ctx.receiveNode(null, ctx.receiveTree), ctx.receiveNode(null, receiveLeftPaddedTree), ctx.receiveValue(null, 5));
|
|
1284
|
+
}
|
|
1108
1285
|
if (type === "org.openrewrite.javascript.tree.JS$ScopedVariableDeclarations") {
|
|
1109
1286
|
return new tree_1.ScopedVariableDeclarations(ctx.receiveValue(null, 0), ctx.receiveNode(null, receiveSpace), ctx.receiveNode(null, ctx.receiveMarkers), ctx.receiveNodes(null, ctx.receiveTree), ctx.receiveNode(null, leftPaddedValueReceiver(3)), ctx.receiveNodes(null, receiveRightPaddedTree));
|
|
1110
1287
|
}
|
|
@@ -1135,6 +1312,9 @@ class Factory {
|
|
|
1135
1312
|
if (type === "org.openrewrite.javascript.tree.JS$TypeOperator") {
|
|
1136
1313
|
return new tree_1.TypeOperator(ctx.receiveValue(null, 0), ctx.receiveNode(null, receiveSpace), ctx.receiveNode(null, ctx.receiveMarkers), ctx.receiveValue(null, 3), ctx.receiveNode(null, receiveLeftPaddedTree));
|
|
1137
1314
|
}
|
|
1315
|
+
if (type === "org.openrewrite.javascript.tree.JS$TypePredicate") {
|
|
1316
|
+
return new tree_1.TypePredicate(ctx.receiveValue(null, 0), ctx.receiveNode(null, receiveSpace), ctx.receiveNode(null, ctx.receiveMarkers), ctx.receiveNode(null, leftPaddedValueReceiver(1)), ctx.receiveNode(null, ctx.receiveTree), ctx.receiveNode(null, receiveLeftPaddedTree), ctx.receiveValue(null, 5));
|
|
1317
|
+
}
|
|
1138
1318
|
if (type === "org.openrewrite.javascript.tree.JS$Unary") {
|
|
1139
1319
|
return new tree_1.Unary(ctx.receiveValue(null, 0), ctx.receiveNode(null, receiveSpace), ctx.receiveNode(null, ctx.receiveMarkers), ctx.receiveNode(null, leftPaddedValueReceiver(3)), ctx.receiveNode(null, ctx.receiveTree), ctx.receiveValue(null, 5));
|
|
1140
1320
|
}
|
|
@@ -1148,7 +1328,7 @@ class Factory {
|
|
|
1148
1328
|
return new tree_1.Void(ctx.receiveValue(null, 0), ctx.receiveNode(null, receiveSpace), ctx.receiveNode(null, ctx.receiveMarkers), ctx.receiveNode(null, ctx.receiveTree));
|
|
1149
1329
|
}
|
|
1150
1330
|
if (type === "org.openrewrite.javascript.tree.JS$Yield") {
|
|
1151
|
-
return new tree_1.Yield(ctx.receiveValue(null, 0), ctx.receiveNode(null, receiveSpace), ctx.receiveNode(null, ctx.receiveMarkers), ctx.
|
|
1331
|
+
return new tree_1.Yield(ctx.receiveValue(null, 0), ctx.receiveNode(null, receiveSpace), ctx.receiveNode(null, ctx.receiveMarkers), ctx.receiveNode(null, leftPaddedValueReceiver(1)), ctx.receiveNode(null, ctx.receiveTree), ctx.receiveValue(null, 5));
|
|
1152
1332
|
}
|
|
1153
1333
|
if (type === "org.openrewrite.javascript.tree.JS$TypeInfo") {
|
|
1154
1334
|
return new tree_1.TypeInfo(ctx.receiveValue(null, 0), ctx.receiveNode(null, receiveSpace), ctx.receiveNode(null, ctx.receiveMarkers), ctx.receiveNode(null, ctx.receiveTree));
|
|
@@ -1175,7 +1355,7 @@ class Factory {
|
|
|
1175
1355
|
return new tree_1.NamespaceDeclaration(ctx.receiveValue(null, 0), ctx.receiveNode(null, receiveSpace), ctx.receiveNode(null, ctx.receiveMarkers), ctx.receiveNodes(null, ctx.receiveTree), ctx.receiveNode(null, leftPaddedValueReceiver(3)), ctx.receiveNode(null, receiveRightPaddedTree), ctx.receiveNode(null, ctx.receiveTree));
|
|
1176
1356
|
}
|
|
1177
1357
|
if (type === "org.openrewrite.javascript.tree.JS$FunctionDeclaration") {
|
|
1178
|
-
return new tree_1.FunctionDeclaration(ctx.receiveValue(null, 0), ctx.receiveNode(null, receiveSpace), ctx.receiveNode(null, ctx.receiveMarkers), ctx.receiveNodes(null, ctx.receiveTree), ctx.receiveNode(null, ctx.
|
|
1358
|
+
return new tree_1.FunctionDeclaration(ctx.receiveValue(null, 0), ctx.receiveNode(null, receiveSpace), ctx.receiveNode(null, ctx.receiveMarkers), ctx.receiveNodes(null, ctx.receiveTree), ctx.receiveNode(null, leftPaddedValueReceiver(1)), ctx.receiveNode(null, receiveLeftPaddedTree), ctx.receiveNode(null, ctx.receiveTree), ctx.receiveNode(null, receiveContainer), ctx.receiveNode(null, ctx.receiveTree), ctx.receiveNode(null, ctx.receiveTree), ctx.receiveValue(null, 5));
|
|
1179
1359
|
}
|
|
1180
1360
|
if (type === "org.openrewrite.javascript.tree.JS$TypeLiteral") {
|
|
1181
1361
|
return new tree_1.TypeLiteral(ctx.receiveValue(null, 0), ctx.receiveNode(null, receiveSpace), ctx.receiveNode(null, ctx.receiveMarkers), ctx.receiveNode(null, ctx.receiveTree), ctx.receiveValue(null, 5));
|
|
@@ -1189,6 +1369,30 @@ class Factory {
|
|
|
1189
1369
|
if (type === "org.openrewrite.javascript.tree.JS$BindingElement") {
|
|
1190
1370
|
return new tree_1.BindingElement(ctx.receiveValue(null, 0), ctx.receiveNode(null, receiveSpace), ctx.receiveNode(null, ctx.receiveMarkers), ctx.receiveNode(null, receiveRightPaddedTree), ctx.receiveNode(null, ctx.receiveTree), ctx.receiveNode(null, receiveLeftPaddedTree), ctx.receiveValue(null, 5));
|
|
1191
1371
|
}
|
|
1372
|
+
if (type === "org.openrewrite.javascript.tree.JS$ExportDeclaration") {
|
|
1373
|
+
return new tree_1.ExportDeclaration(ctx.receiveValue(null, 0), ctx.receiveNode(null, receiveSpace), ctx.receiveNode(null, ctx.receiveMarkers), ctx.receiveNodes(null, ctx.receiveTree), ctx.receiveNode(null, leftPaddedValueReceiver(1)), ctx.receiveNode(null, ctx.receiveTree), ctx.receiveNode(null, receiveLeftPaddedTree));
|
|
1374
|
+
}
|
|
1375
|
+
if (type === "org.openrewrite.javascript.tree.JS$ExportAssignment") {
|
|
1376
|
+
return new tree_1.ExportAssignment(ctx.receiveValue(null, 0), ctx.receiveNode(null, receiveSpace), ctx.receiveNode(null, ctx.receiveMarkers), ctx.receiveNodes(null, ctx.receiveTree), ctx.receiveNode(null, leftPaddedValueReceiver(1)), ctx.receiveNode(null, ctx.receiveTree));
|
|
1377
|
+
}
|
|
1378
|
+
if (type === "org.openrewrite.javascript.tree.JS$NamedExports") {
|
|
1379
|
+
return new tree_1.NamedExports(ctx.receiveValue(null, 0), ctx.receiveNode(null, receiveSpace), ctx.receiveNode(null, ctx.receiveMarkers), ctx.receiveNode(null, receiveContainer), ctx.receiveValue(null, 5));
|
|
1380
|
+
}
|
|
1381
|
+
if (type === "org.openrewrite.javascript.tree.JS$ExportSpecifier") {
|
|
1382
|
+
return new tree_1.ExportSpecifier(ctx.receiveValue(null, 0), ctx.receiveNode(null, receiveSpace), ctx.receiveNode(null, ctx.receiveMarkers), ctx.receiveNode(null, leftPaddedValueReceiver(1)), ctx.receiveNode(null, ctx.receiveTree), ctx.receiveValue(null, 5));
|
|
1383
|
+
}
|
|
1384
|
+
if (type === "org.openrewrite.javascript.tree.JS$IndexedAccessType") {
|
|
1385
|
+
return new tree_1.IndexedAccessType(ctx.receiveValue(null, 0), ctx.receiveNode(null, receiveSpace), ctx.receiveNode(null, ctx.receiveMarkers), ctx.receiveNode(null, ctx.receiveTree), ctx.receiveNode(null, ctx.receiveTree), ctx.receiveValue(null, 5));
|
|
1386
|
+
}
|
|
1387
|
+
if (type === "org.openrewrite.javascript.tree.JS$IndexedAccessType$IndexType") {
|
|
1388
|
+
return new tree_1.IndexedAccessType.IndexType(ctx.receiveValue(null, 0), ctx.receiveNode(null, receiveSpace), ctx.receiveNode(null, ctx.receiveMarkers), ctx.receiveNode(null, receiveRightPaddedTree), ctx.receiveValue(null, 5));
|
|
1389
|
+
}
|
|
1390
|
+
if (type === "org.openrewrite.javascript.tree.JS$JsAssignmentOperation") {
|
|
1391
|
+
return new tree_1.JsAssignmentOperation(ctx.receiveValue(null, 0), ctx.receiveNode(null, receiveSpace), ctx.receiveNode(null, ctx.receiveMarkers), ctx.receiveNode(null, ctx.receiveTree), ctx.receiveNode(null, leftPaddedValueReceiver(3)), ctx.receiveNode(null, ctx.receiveTree), ctx.receiveValue(null, 5));
|
|
1392
|
+
}
|
|
1393
|
+
if (type === "org.openrewrite.javascript.tree.JS$TypeTreeExpression") {
|
|
1394
|
+
return new tree_1.TypeTreeExpression(ctx.receiveValue(null, 0), ctx.receiveNode(null, receiveSpace), ctx.receiveNode(null, ctx.receiveMarkers), ctx.receiveNode(null, ctx.receiveTree));
|
|
1395
|
+
}
|
|
1192
1396
|
if (type === "org.openrewrite.java.tree.J$AnnotatedType") {
|
|
1193
1397
|
return new Java.AnnotatedType(ctx.receiveValue(null, 0), ctx.receiveNode(null, receiveSpace), ctx.receiveNode(null, ctx.receiveMarkers), ctx.receiveNodes(null, ctx.receiveTree), ctx.receiveNode(null, ctx.receiveTree));
|
|
1194
1398
|
}
|