@flock/wirespec 0.22.4 → 0.22.5
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/arrow-arrow-core.mjs +5 -0
- package/arrow-arrow-core.mjs.map +1 -1
- package/clikt-clikt-mordant.mjs +79 -79
- package/clikt-clikt.mjs +1335 -1335
- package/colormath-root-colormath.mjs +433 -433
- package/kotlin-kotlin-stdlib.mjs +114 -50
- package/kotlin-kotlin-stdlib.mjs.map +1 -1
- package/kotlin-openapi-bindings.mjs +10209 -10209
- package/kotlin-rgxgen.mjs +1760 -1760
- package/kotlinx-io-kotlinx-io-core.mjs +404 -404
- package/kotlinx-serialization-kotlinx-serialization-core.mjs +1802 -1802
- package/kotlinx-serialization-kotlinx-serialization-json.mjs +1503 -1503
- package/mordant-mordant.mjs +1202 -1202
- package/package.json +1 -1
- package/wirespec-src-compiler-core.mjs +2897 -2620
- package/wirespec-src-compiler-core.mjs.map +1 -1
- package/wirespec-src-compiler-emitters-java.mjs +106 -106
- package/wirespec-src-compiler-emitters-kotlin.mjs +136 -116
- package/wirespec-src-compiler-emitters-kotlin.mjs.map +1 -1
- package/wirespec-src-compiler-emitters-python.mjs +84 -84
- package/wirespec-src-compiler-emitters-rust.mjs +209 -209
- package/wirespec-src-compiler-emitters-scala.mjs +85 -85
- package/wirespec-src-compiler-emitters-typescript.mjs +108 -108
- package/wirespec-src-compiler-emitters-wirespec.mjs +78 -78
- package/wirespec-src-compiler-emitters-wirespec.mjs.map +1 -1
- package/wirespec-src-compiler-lib.mjs +194 -194
- package/wirespec-src-converter-asyncapi.mjs +532 -532
- package/wirespec-src-converter-avro.mjs +566 -510
- package/wirespec-src-converter-avro.mjs.map +1 -1
- package/wirespec-src-converter-common.mjs +11 -11
- package/wirespec-src-converter-graphql.mjs +936 -936
- package/wirespec-src-converter-openapi.mjs +435 -435
- package/wirespec-src-ide-lsp.mjs +1358 -1358
- package/wirespec-src-plugin-arguments.mjs +413 -214
- package/wirespec-src-plugin-arguments.mjs.map +1 -1
- package/wirespec-src-plugin-cli.mjs +135 -99
- package/wirespec-src-plugin-cli.mjs.map +1 -1
- package/wirespec-src-plugin-extensions.mjs +4357 -0
- package/wirespec-src-plugin-extensions.mjs.map +1 -0
- package/wirespec-src-plugin-npm.d.mts +43 -1
- package/wirespec-src-plugin-npm.mjs +230 -54
- package/wirespec-src-plugin-npm.mjs.map +1 -1
- package/wirespec-src-tools-generator.mjs +13 -13
|
@@ -243,38 +243,38 @@ function toLiteral($this, $receiver) {
|
|
|
243
243
|
return this_0.toString();
|
|
244
244
|
}
|
|
245
245
|
function GraphQLAnnotations() {
|
|
246
|
-
this.
|
|
247
|
-
this.
|
|
248
|
-
this.
|
|
249
|
-
this.
|
|
250
|
-
this.
|
|
251
|
-
this.
|
|
252
|
-
this.
|
|
253
|
-
this.
|
|
254
|
-
this.
|
|
255
|
-
this.
|
|
256
|
-
this.
|
|
257
|
-
this.
|
|
258
|
-
this.
|
|
259
|
-
this.
|
|
260
|
-
this.
|
|
261
|
-
this.
|
|
262
|
-
this.
|
|
263
|
-
this.
|
|
264
|
-
}
|
|
265
|
-
protoOf(GraphQLAnnotations).
|
|
266
|
-
return 'GraphQL' + _this__u8e3s4.
|
|
267
|
-
};
|
|
268
|
-
protoOf(GraphQLAnnotations).
|
|
246
|
+
this.x4f_1 = 'Description';
|
|
247
|
+
this.y4f_1 = 'GraphQLName';
|
|
248
|
+
this.z4f_1 = 'GraphQLInterface';
|
|
249
|
+
this.a4g_1 = 'GraphQLInput';
|
|
250
|
+
this.b4g_1 = 'GraphQLUnion';
|
|
251
|
+
this.c4g_1 = 'GraphQLEnum';
|
|
252
|
+
this.d4g_1 = 'GraphQLSchema';
|
|
253
|
+
this.e4g_1 = 'GraphQLExtend';
|
|
254
|
+
this.f4g_1 = 'GraphQLImplements';
|
|
255
|
+
this.g4g_1 = 'GraphQLDirective';
|
|
256
|
+
this.h4g_1 = 'GraphQLDirectiveDefinition';
|
|
257
|
+
this.i4g_1 = 'GraphQLArgument';
|
|
258
|
+
this.j4g_1 = 'GraphQLDefault';
|
|
259
|
+
this.k4g_1 = 'GraphQLEnumValue';
|
|
260
|
+
this.l4g_1 = 'GraphQLType';
|
|
261
|
+
this.m4g_1 = 'GraphQLUnionMembers';
|
|
262
|
+
this.n4g_1 = 'GraphQLBuiltIn';
|
|
263
|
+
this.o4g_1 = 'default';
|
|
264
|
+
}
|
|
265
|
+
protoOf(GraphQLAnnotations).p4g = function (_this__u8e3s4) {
|
|
266
|
+
return 'GraphQL' + _this__u8e3s4.t4g_1;
|
|
267
|
+
};
|
|
268
|
+
protoOf(GraphQLAnnotations).u4g = function (name, parameters) {
|
|
269
269
|
return new Annotation(name, filterNotNull(parameters));
|
|
270
270
|
};
|
|
271
|
-
protoOf(GraphQLAnnotations).
|
|
272
|
-
return this.
|
|
271
|
+
protoOf(GraphQLAnnotations).v4g = function (name, value) {
|
|
272
|
+
return this.u4g(name, [this.w4g('default', value)]);
|
|
273
273
|
};
|
|
274
|
-
protoOf(GraphQLAnnotations).
|
|
274
|
+
protoOf(GraphQLAnnotations).w4g = function (name, value) {
|
|
275
275
|
return new Parameter(name, new Single(toLiteral(this, value)));
|
|
276
276
|
};
|
|
277
|
-
protoOf(GraphQLAnnotations).
|
|
277
|
+
protoOf(GraphQLAnnotations).x4g = function (name, values) {
|
|
278
278
|
// Inline function 'kotlin.takeIf' call
|
|
279
279
|
var tmp;
|
|
280
280
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
@@ -356,7 +356,7 @@ function parseTypeSystemDefinition($this, description, extension) {
|
|
|
356
356
|
// Inline function 'kotlin.also' call
|
|
357
357
|
|
|
358
358
|
var this_0 = new ScalarTypeDefinition(description, expectName($this), parseDirectives($this), extension);
|
|
359
|
-
if (extension && this_0.
|
|
359
|
+
if (extension && this_0.a4h_1.r()) {
|
|
360
360
|
fail($this, 'A scalar extension requires directives');
|
|
361
361
|
}
|
|
362
362
|
|
|
@@ -415,7 +415,7 @@ function parseOperationTypeDefinition($this) {
|
|
|
415
415
|
var _iterator__ex2g4s = tmp0.t();
|
|
416
416
|
while (_iterator__ex2g4s.u()) {
|
|
417
417
|
var element = _iterator__ex2g4s.v();
|
|
418
|
-
if (element.
|
|
418
|
+
if (element.s4g_1 === keyword) {
|
|
419
419
|
tmp$ret$1 = element;
|
|
420
420
|
break $l$block;
|
|
421
421
|
}
|
|
@@ -439,7 +439,7 @@ function parseObject($this, description, extension) {
|
|
|
439
439
|
var tmp_1 = parseDirectives($this);
|
|
440
440
|
// Inline function 'kotlin.also' call
|
|
441
441
|
var this_0 = new ObjectTypeDefinition(description, tmp, tmp_0, tmp_1, parseOptionalBlock($this, GraphQLDocumentParser$parseObject$lambda($this)), extension);
|
|
442
|
-
if (extension && this_0.
|
|
442
|
+
if (extension && this_0.e4h_1.r() && this_0.f4h_1.r() && this_0.g4h_1.r()) {
|
|
443
443
|
fail($this, 'An object extension cannot be empty');
|
|
444
444
|
}
|
|
445
445
|
return this_0;
|
|
@@ -450,7 +450,7 @@ function parseInterface($this, description, extension) {
|
|
|
450
450
|
var tmp_1 = parseDirectives($this);
|
|
451
451
|
// Inline function 'kotlin.also' call
|
|
452
452
|
var this_0 = new InterfaceTypeDefinition(description, tmp, tmp_0, tmp_1, parseOptionalBlock($this, GraphQLDocumentParser$parseInterface$lambda($this)), extension);
|
|
453
|
-
if (extension && this_0.
|
|
453
|
+
if (extension && this_0.k4h_1.r() && this_0.l4h_1.r() && this_0.m4h_1.r()) {
|
|
454
454
|
fail($this, 'An interface extension cannot be empty');
|
|
455
455
|
}
|
|
456
456
|
return this_0;
|
|
@@ -468,7 +468,7 @@ function parseUnion($this, description, extension) {
|
|
|
468
468
|
}
|
|
469
469
|
// Inline function 'kotlin.also' call
|
|
470
470
|
var this_0 = new UnionTypeDefinition(description, tmp, tmp_0, tmp_1, extension);
|
|
471
|
-
if (extension && this_0.
|
|
471
|
+
if (extension && this_0.q4h_1.r() && this_0.r4h_1.r()) {
|
|
472
472
|
fail($this, 'A union extension cannot be empty');
|
|
473
473
|
}
|
|
474
474
|
return this_0;
|
|
@@ -478,7 +478,7 @@ function parseEnum($this, description, extension) {
|
|
|
478
478
|
var tmp_0 = parseDirectives($this);
|
|
479
479
|
// Inline function 'kotlin.also' call
|
|
480
480
|
var this_0 = new EnumTypeDefinition(description, tmp, tmp_0, parseOptionalBlock($this, GraphQLDocumentParser$parseEnum$lambda($this)), extension);
|
|
481
|
-
if (extension && this_0.
|
|
481
|
+
if (extension && this_0.v4h_1.r() && this_0.w4h_1.r()) {
|
|
482
482
|
fail($this, 'An enum extension cannot be empty');
|
|
483
483
|
}
|
|
484
484
|
return this_0;
|
|
@@ -498,7 +498,7 @@ function parseInput($this, description, extension) {
|
|
|
498
498
|
var tmp_0 = parseDirectives($this);
|
|
499
499
|
// Inline function 'kotlin.also' call
|
|
500
500
|
var this_0 = new InputObjectTypeDefinition(description, tmp, tmp_0, parseOptionalBlock($this, GraphQLDocumentParser$parseInput$lambda($this)), extension);
|
|
501
|
-
if (extension && this_0.
|
|
501
|
+
if (extension && this_0.a4i_1.r() && this_0.b4i_1.r()) {
|
|
502
502
|
fail($this, 'An input extension cannot be empty');
|
|
503
503
|
}
|
|
504
504
|
return this_0;
|
|
@@ -612,16 +612,16 @@ function parseValue($this) {
|
|
|
612
612
|
var token = advance($this);
|
|
613
613
|
var tmp;
|
|
614
614
|
if (token instanceof IntValue) {
|
|
615
|
-
tmp = new IntValue_0(token.
|
|
615
|
+
tmp = new IntValue_0(token.l4i_1);
|
|
616
616
|
} else {
|
|
617
617
|
if (token instanceof FloatValue) {
|
|
618
|
-
tmp = new FloatValue_0(token.
|
|
618
|
+
tmp = new FloatValue_0(token.j4i_1);
|
|
619
619
|
} else {
|
|
620
620
|
if (token instanceof StringValue_0) {
|
|
621
|
-
tmp = new StringValue_1(token.
|
|
621
|
+
tmp = new StringValue_1(token.h4i_1);
|
|
622
622
|
} else {
|
|
623
623
|
if (token instanceof Name) {
|
|
624
|
-
switch (token.
|
|
624
|
+
switch (token.f4i_1) {
|
|
625
625
|
case 'true':
|
|
626
626
|
tmp = new BooleanValue_0(true);
|
|
627
627
|
break;
|
|
@@ -632,13 +632,13 @@ function parseValue($this) {
|
|
|
632
632
|
tmp = NullValue_instance_0;
|
|
633
633
|
break;
|
|
634
634
|
default:
|
|
635
|
-
tmp = new EnumValue_0(token.
|
|
635
|
+
tmp = new EnumValue_0(token.f4i_1);
|
|
636
636
|
break;
|
|
637
637
|
}
|
|
638
638
|
} else {
|
|
639
639
|
if (token instanceof Punctuator) {
|
|
640
640
|
var tmp_0;
|
|
641
|
-
switch (token.
|
|
641
|
+
switch (token.d4i_1) {
|
|
642
642
|
case '[':
|
|
643
643
|
tmp_0 = new ListValue(parseUntil($this, ']', GraphQLDocumentParser$parseValue$lambda($this)));
|
|
644
644
|
break;
|
|
@@ -649,7 +649,7 @@ function parseValue($this) {
|
|
|
649
649
|
fail($this, 'Variables are not allowed in a schema', token);
|
|
650
650
|
break;
|
|
651
651
|
default:
|
|
652
|
-
fail($this, "Unexpected '" + token.
|
|
652
|
+
fail($this, "Unexpected '" + token.d4i_1 + "', expected a value", token);
|
|
653
653
|
break;
|
|
654
654
|
}
|
|
655
655
|
tmp = tmp_0;
|
|
@@ -678,7 +678,7 @@ function parseDescription($this) {
|
|
|
678
678
|
tmp_0 = tmp0_safe_receiver;
|
|
679
679
|
}
|
|
680
680
|
var tmp1_safe_receiver = tmp_0;
|
|
681
|
-
return tmp1_safe_receiver == null ? null : tmp1_safe_receiver.
|
|
681
|
+
return tmp1_safe_receiver == null ? null : tmp1_safe_receiver.h4i_1;
|
|
682
682
|
}
|
|
683
683
|
function parseBlock($this, item) {
|
|
684
684
|
return parseDelimited($this, '{', '}', item);
|
|
@@ -730,23 +730,23 @@ function parseSeparated($this, separator, item) {
|
|
|
730
730
|
return this_0.q5();
|
|
731
731
|
}
|
|
732
732
|
function peek($this) {
|
|
733
|
-
return $this.
|
|
733
|
+
return $this.o4i_1.c1($this.p4i_1);
|
|
734
734
|
}
|
|
735
735
|
function peekName($this) {
|
|
736
736
|
var tmp = peek($this);
|
|
737
737
|
var tmp0_safe_receiver = tmp instanceof Name ? tmp : null;
|
|
738
|
-
return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
738
|
+
return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.f4i_1;
|
|
739
739
|
}
|
|
740
740
|
function peekPunctuator($this, value) {
|
|
741
741
|
var tmp = peek($this);
|
|
742
742
|
var tmp0_safe_receiver = tmp instanceof Punctuator ? tmp : null;
|
|
743
|
-
return (tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
743
|
+
return (tmp0_safe_receiver == null ? null : tmp0_safe_receiver.d4i_1) === value;
|
|
744
744
|
}
|
|
745
745
|
function advance($this) {
|
|
746
746
|
// Inline function 'kotlin.also' call
|
|
747
747
|
var this_0 = peek($this);
|
|
748
748
|
if (!(this_0 instanceof EndOfFile)) {
|
|
749
|
-
$this.
|
|
749
|
+
$this.p4i_1 = $this.p4i_1 + 1 | 0;
|
|
750
750
|
}
|
|
751
751
|
return this_0;
|
|
752
752
|
}
|
|
@@ -756,7 +756,7 @@ function expectName($this) {
|
|
|
756
756
|
if (token instanceof Name) {
|
|
757
757
|
// Inline function 'kotlin.let' call
|
|
758
758
|
advance($this);
|
|
759
|
-
tmp = token.
|
|
759
|
+
tmp = token.f4i_1;
|
|
760
760
|
} else {
|
|
761
761
|
fail($this, 'Expected a name, found ' + describe($this, token), token);
|
|
762
762
|
}
|
|
@@ -777,16 +777,16 @@ function expectPunctuator($this, value) {
|
|
|
777
777
|
function describe($this, $receiver) {
|
|
778
778
|
var tmp;
|
|
779
779
|
if ($receiver instanceof Punctuator) {
|
|
780
|
-
tmp = "'" + $receiver.
|
|
780
|
+
tmp = "'" + $receiver.d4i_1 + "'";
|
|
781
781
|
} else {
|
|
782
782
|
if ($receiver instanceof Name) {
|
|
783
|
-
tmp = "'" + $receiver.
|
|
783
|
+
tmp = "'" + $receiver.f4i_1 + "'";
|
|
784
784
|
} else {
|
|
785
785
|
if ($receiver instanceof IntValue) {
|
|
786
|
-
tmp = "'" + $receiver.
|
|
786
|
+
tmp = "'" + $receiver.l4i_1 + "'";
|
|
787
787
|
} else {
|
|
788
788
|
if ($receiver instanceof FloatValue) {
|
|
789
|
-
tmp = "'" + $receiver.
|
|
789
|
+
tmp = "'" + $receiver.j4i_1 + "'";
|
|
790
790
|
} else {
|
|
791
791
|
if ($receiver instanceof StringValue_0) {
|
|
792
792
|
tmp = 'a string';
|
|
@@ -805,12 +805,12 @@ function describe($this, $receiver) {
|
|
|
805
805
|
}
|
|
806
806
|
function fail($this, message, token) {
|
|
807
807
|
token = token === VOID ? peek($this) : token;
|
|
808
|
-
var tmp0 = token.
|
|
808
|
+
var tmp0 = token.q4i();
|
|
809
809
|
// Inline function 'kotlin.comparisons.minOf' call
|
|
810
|
-
var b = $this.
|
|
810
|
+
var b = $this.n4i_1.length;
|
|
811
811
|
var tmp$ret$0 = Math.min(tmp0, b);
|
|
812
812
|
// Inline function 'kotlin.let' call
|
|
813
|
-
var before = substring($this.
|
|
813
|
+
var before = substring($this.n4i_1, 0, tmp$ret$0);
|
|
814
814
|
// Inline function 'kotlin.text.count' call
|
|
815
815
|
var count = 0;
|
|
816
816
|
var inductionVariable = 0;
|
|
@@ -822,12 +822,12 @@ function fail($this, message, token) {
|
|
|
822
822
|
}
|
|
823
823
|
}
|
|
824
824
|
// Inline function 'kotlin.error' call
|
|
825
|
-
var message_0 = message + ' at line ' + (count + 1 | 0) + ', column ' + (token.
|
|
825
|
+
var message_0 = message + ' at line ' + (count + 1 | 0) + ', column ' + (token.q4i() - lastIndexOf(before, _Char___init__impl__6a9atx(10)) | 0);
|
|
826
826
|
throw IllegalStateException_init_$Create$(toString_0(message_0));
|
|
827
827
|
}
|
|
828
828
|
function Companion() {
|
|
829
829
|
Companion_instance = this;
|
|
830
|
-
this.
|
|
830
|
+
this.r4i_1 = setOf(['QUERY', 'MUTATION', 'SUBSCRIPTION', 'FIELD', 'FRAGMENT_DEFINITION', 'FRAGMENT_SPREAD', 'INLINE_FRAGMENT', 'VARIABLE_DEFINITION', 'SCHEMA', 'SCALAR', 'OBJECT', 'FIELD_DEFINITION', 'ARGUMENT_DEFINITION', 'INTERFACE', 'UNION', 'ENUM', 'ENUM_VALUE', 'INPUT_OBJECT', 'INPUT_FIELD_DEFINITION']);
|
|
831
831
|
}
|
|
832
832
|
var Companion_instance;
|
|
833
833
|
function Companion_getInstance() {
|
|
@@ -869,7 +869,7 @@ function GraphQLDocumentParser$parseDirectiveDefinition$lambda(this$0) {
|
|
|
869
869
|
return function () {
|
|
870
870
|
// Inline function 'kotlin.also' call
|
|
871
871
|
var this_0 = expectName(this$0);
|
|
872
|
-
if (!Companion_getInstance().
|
|
872
|
+
if (!Companion_getInstance().r4i_1.i1(this_0)) {
|
|
873
873
|
fail(this$0, "Unknown directive location '" + this_0 + "'");
|
|
874
874
|
}
|
|
875
875
|
return this_0;
|
|
@@ -902,11 +902,11 @@ function GraphQLDocumentParser$parseValue$lambda_0(this$0) {
|
|
|
902
902
|
}
|
|
903
903
|
function GraphQLDocumentParser(source) {
|
|
904
904
|
Companion_getInstance();
|
|
905
|
-
this.
|
|
906
|
-
this.
|
|
907
|
-
this.
|
|
905
|
+
this.n4i_1 = source;
|
|
906
|
+
this.o4i_1 = (new GraphQLLexer(this.n4i_1)).u4i();
|
|
907
|
+
this.p4i_1 = 0;
|
|
908
908
|
}
|
|
909
|
-
protoOf(GraphQLDocumentParser).
|
|
909
|
+
protoOf(GraphQLDocumentParser).v4i = function () {
|
|
910
910
|
// Inline function 'kotlin.collections.buildList' call
|
|
911
911
|
// Inline function 'kotlin.collections.buildListInternal' call
|
|
912
912
|
// Inline function 'kotlin.apply' call
|
|
@@ -947,9 +947,9 @@ protoOf(GraphQLDocumentParser).r4e = function () {
|
|
|
947
947
|
function print($this, $receiver) {
|
|
948
948
|
var tmp;
|
|
949
949
|
if ($receiver instanceof SchemaDefinition) {
|
|
950
|
-
var tmp_0 = printDescription($this, $receiver.
|
|
950
|
+
var tmp_0 = printDescription($this, $receiver.b4j_1) + (extend($this, $receiver.e4j_1) + 'schema' + printDirectives($this, $receiver.c4j_1));
|
|
951
951
|
// Inline function 'kotlin.takeIf' call
|
|
952
|
-
var this_0 = $receiver.
|
|
952
|
+
var this_0 = $receiver.d4j_1;
|
|
953
953
|
var tmp_1;
|
|
954
954
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
955
955
|
if (!this_0.r()) {
|
|
@@ -969,26 +969,26 @@ function print($this, $receiver) {
|
|
|
969
969
|
tmp = tmp_0 + (tmp0_elvis_lhs == null ? '' : tmp0_elvis_lhs);
|
|
970
970
|
} else {
|
|
971
971
|
if ($receiver instanceof ScalarTypeDefinition) {
|
|
972
|
-
tmp = printDescription($this, $receiver.
|
|
972
|
+
tmp = printDescription($this, $receiver.y4g_1) + (extend($this, $receiver.b4h_1) + 'scalar ' + $receiver.z4g_1 + printDirectives($this, $receiver.a4h_1));
|
|
973
973
|
} else {
|
|
974
974
|
if ($receiver instanceof ObjectTypeDefinition) {
|
|
975
|
-
var tmp_3 = printDescription($this, $receiver.
|
|
976
|
-
var tmp_4 = extend($this, $receiver.
|
|
977
|
-
var tmp_5 = printInterfaces($this, $receiver.
|
|
978
|
-
var tmp_6 = printDirectives($this, $receiver.
|
|
979
|
-
tmp = tmp_3 + (tmp_4 + 'type ' + $receiver.
|
|
975
|
+
var tmp_3 = printDescription($this, $receiver.c4h_1);
|
|
976
|
+
var tmp_4 = extend($this, $receiver.h4h_1);
|
|
977
|
+
var tmp_5 = printInterfaces($this, $receiver.e4h_1);
|
|
978
|
+
var tmp_6 = printDirectives($this, $receiver.f4h_1);
|
|
979
|
+
tmp = tmp_3 + (tmp_4 + 'type ' + $receiver.d4h_1 + tmp_5 + tmp_6 + printBlock($this, $receiver.g4h_1, GraphQLDocumentPrinter$print$lambda_1));
|
|
980
980
|
} else {
|
|
981
981
|
if ($receiver instanceof InterfaceTypeDefinition) {
|
|
982
|
-
var tmp_7 = printDescription($this, $receiver.
|
|
983
|
-
var tmp_8 = extend($this, $receiver.
|
|
984
|
-
var tmp_9 = printInterfaces($this, $receiver.
|
|
985
|
-
var tmp_10 = printDirectives($this, $receiver.
|
|
986
|
-
tmp = tmp_7 + (tmp_8 + 'interface ' + $receiver.
|
|
982
|
+
var tmp_7 = printDescription($this, $receiver.i4h_1);
|
|
983
|
+
var tmp_8 = extend($this, $receiver.n4h_1);
|
|
984
|
+
var tmp_9 = printInterfaces($this, $receiver.k4h_1);
|
|
985
|
+
var tmp_10 = printDirectives($this, $receiver.l4h_1);
|
|
986
|
+
tmp = tmp_7 + (tmp_8 + 'interface ' + $receiver.j4h_1 + tmp_9 + tmp_10 + printBlock($this, $receiver.m4h_1, GraphQLDocumentPrinter$print$lambda_2));
|
|
987
987
|
} else {
|
|
988
988
|
if ($receiver instanceof UnionTypeDefinition) {
|
|
989
|
-
var tmp_11 = printDescription($this, $receiver.
|
|
989
|
+
var tmp_11 = printDescription($this, $receiver.o4h_1) + (extend($this, $receiver.s4h_1) + 'union ' + $receiver.p4h_1 + printDirectives($this, $receiver.q4h_1));
|
|
990
990
|
// Inline function 'kotlin.takeIf' call
|
|
991
|
-
var this_1 = $receiver.
|
|
991
|
+
var this_1 = $receiver.r4h_1;
|
|
992
992
|
var tmp_12;
|
|
993
993
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
994
994
|
if (!this_1.r()) {
|
|
@@ -1002,17 +1002,17 @@ function print($this, $receiver) {
|
|
|
1002
1002
|
tmp = tmp_11 + (tmp0_elvis_lhs_0 == null ? '' : tmp0_elvis_lhs_0);
|
|
1003
1003
|
} else {
|
|
1004
1004
|
if ($receiver instanceof EnumTypeDefinition) {
|
|
1005
|
-
var tmp_13 = printDescription($this, $receiver.
|
|
1006
|
-
tmp = tmp_13 + printBlock($this, $receiver.
|
|
1005
|
+
var tmp_13 = printDescription($this, $receiver.t4h_1) + (extend($this, $receiver.x4h_1) + 'enum ' + $receiver.u4h_1 + printDirectives($this, $receiver.v4h_1));
|
|
1006
|
+
tmp = tmp_13 + printBlock($this, $receiver.w4h_1, GraphQLDocumentPrinter$print$lambda_3);
|
|
1007
1007
|
} else {
|
|
1008
1008
|
if ($receiver instanceof InputObjectTypeDefinition) {
|
|
1009
|
-
var tmp_14 = printDescription($this, $receiver.
|
|
1010
|
-
var tmp_15 = extend($this, $receiver.
|
|
1011
|
-
var tmp_16 = printDirectives($this, $receiver.
|
|
1012
|
-
tmp = tmp_14 + (tmp_15 + 'input ' + $receiver.
|
|
1009
|
+
var tmp_14 = printDescription($this, $receiver.y4h_1);
|
|
1010
|
+
var tmp_15 = extend($this, $receiver.c4i_1);
|
|
1011
|
+
var tmp_16 = printDirectives($this, $receiver.a4i_1);
|
|
1012
|
+
tmp = tmp_14 + (tmp_15 + 'input ' + $receiver.z4h_1 + tmp_16 + printBlock($this, $receiver.b4i_1, GraphQLDocumentPrinter$print$lambda_4));
|
|
1013
1013
|
} else {
|
|
1014
1014
|
if ($receiver instanceof DirectiveDefinition) {
|
|
1015
|
-
tmp = printDescription($this, $receiver.
|
|
1015
|
+
tmp = printDescription($this, $receiver.w4i_1) + ('directive @' + $receiver.x4i_1 + printArguments($this, $receiver.y4i_1) + ($receiver.z4i_1 ? ' repeatable' : '') + ' on ' + joinToString($receiver.a4j_1, ' | '));
|
|
1016
1016
|
} else {
|
|
1017
1017
|
noWhenBranchMatchedException();
|
|
1018
1018
|
}
|
|
@@ -1026,22 +1026,22 @@ function print($this, $receiver) {
|
|
|
1026
1026
|
return tmp;
|
|
1027
1027
|
}
|
|
1028
1028
|
function print_0($this, $receiver) {
|
|
1029
|
-
return printDescription($this, $receiver.
|
|
1029
|
+
return printDescription($this, $receiver.f4j_1, ' ') + $receiver.g4j_1 + printArguments($this, $receiver.h4j_1) + ': ' + GraphQLPrinter_instance.k4j($receiver.i4j_1) + printDirectives($this, $receiver.j4j_1);
|
|
1030
1030
|
}
|
|
1031
1031
|
function print_1($this, $receiver, indent) {
|
|
1032
1032
|
indent = indent === VOID ? ' ' : indent;
|
|
1033
|
-
var tmp = printDescription($this, $receiver.
|
|
1034
|
-
var tmp0_safe_receiver = $receiver.
|
|
1033
|
+
var tmp = printDescription($this, $receiver.l4j_1, indent) + $receiver.m4j_1 + ': ' + GraphQLPrinter_instance.k4j($receiver.n4j_1);
|
|
1034
|
+
var tmp0_safe_receiver = $receiver.o4j_1;
|
|
1035
1035
|
var tmp_0;
|
|
1036
1036
|
if (tmp0_safe_receiver == null) {
|
|
1037
1037
|
tmp_0 = null;
|
|
1038
1038
|
} else {
|
|
1039
1039
|
// Inline function 'kotlin.let' call
|
|
1040
|
-
tmp_0 = ' = ' + GraphQLPrinter_instance.
|
|
1040
|
+
tmp_0 = ' = ' + GraphQLPrinter_instance.q4j(tmp0_safe_receiver);
|
|
1041
1041
|
}
|
|
1042
1042
|
// Inline function 'kotlin.text.orEmpty' call
|
|
1043
1043
|
var tmp0_elvis_lhs = tmp_0;
|
|
1044
|
-
return tmp + (tmp0_elvis_lhs == null ? '' : tmp0_elvis_lhs) + printDirectives($this, $receiver.
|
|
1044
|
+
return tmp + (tmp0_elvis_lhs == null ? '' : tmp0_elvis_lhs) + printDirectives($this, $receiver.p4j_1);
|
|
1045
1045
|
}
|
|
1046
1046
|
function printArguments($this, $receiver) {
|
|
1047
1047
|
// Inline function 'kotlin.takeIf' call
|
|
@@ -1107,7 +1107,7 @@ function printDescription($this, $receiver, indent) {
|
|
|
1107
1107
|
tmp = null;
|
|
1108
1108
|
} else {
|
|
1109
1109
|
// Inline function 'kotlin.let' call
|
|
1110
|
-
tmp = GraphQLPrinter_instance.
|
|
1110
|
+
tmp = GraphQLPrinter_instance.r4j($receiver) + '\n' + indent;
|
|
1111
1111
|
}
|
|
1112
1112
|
// Inline function 'kotlin.text.orEmpty' call
|
|
1113
1113
|
var tmp0_elvis_lhs = tmp;
|
|
@@ -1120,7 +1120,7 @@ function GraphQLDocumentPrinter$print$lambda(it) {
|
|
|
1120
1120
|
return print(GraphQLDocumentPrinter_instance, it);
|
|
1121
1121
|
}
|
|
1122
1122
|
function GraphQLDocumentPrinter$print$lambda_0(it) {
|
|
1123
|
-
return ' ' + it.
|
|
1123
|
+
return ' ' + it.s4j_1.s4g_1 + ': ' + it.t4j_1;
|
|
1124
1124
|
}
|
|
1125
1125
|
function GraphQLDocumentPrinter$print$lambda_1(it) {
|
|
1126
1126
|
return print_0(GraphQLDocumentPrinter_instance, it);
|
|
@@ -1129,7 +1129,7 @@ function GraphQLDocumentPrinter$print$lambda_2(it) {
|
|
|
1129
1129
|
return print_0(GraphQLDocumentPrinter_instance, it);
|
|
1130
1130
|
}
|
|
1131
1131
|
function GraphQLDocumentPrinter$print$lambda_3(it) {
|
|
1132
|
-
return printDescription(GraphQLDocumentPrinter_instance, it.
|
|
1132
|
+
return printDescription(GraphQLDocumentPrinter_instance, it.u4j_1, ' ') + it.v4j_1 + printDirectives(GraphQLDocumentPrinter_instance, it.w4j_1);
|
|
1133
1133
|
}
|
|
1134
1134
|
function GraphQLDocumentPrinter$print$lambda_4(it) {
|
|
1135
1135
|
return print_1(GraphQLDocumentPrinter_instance, it);
|
|
@@ -1143,12 +1143,12 @@ function GraphQLDocumentPrinter$printBlock$lambda($item) {
|
|
|
1143
1143
|
};
|
|
1144
1144
|
}
|
|
1145
1145
|
function GraphQLDocumentPrinter$printDirectives$lambda(it) {
|
|
1146
|
-
return ' ' + GraphQLPrinter_instance.
|
|
1146
|
+
return ' ' + GraphQLPrinter_instance.x4j(it);
|
|
1147
1147
|
}
|
|
1148
1148
|
function GraphQLDocumentPrinter() {
|
|
1149
1149
|
}
|
|
1150
|
-
protoOf(GraphQLDocumentPrinter).
|
|
1151
|
-
return joinToString(_this__u8e3s4.
|
|
1150
|
+
protoOf(GraphQLDocumentPrinter).y4j = function (_this__u8e3s4) {
|
|
1151
|
+
return joinToString(_this__u8e3s4.z4j_1, '\n\n', VOID, VOID, VOID, VOID, GraphQLDocumentPrinter$print$lambda) + '\n';
|
|
1152
1152
|
};
|
|
1153
1153
|
var GraphQLDocumentPrinter_instance;
|
|
1154
1154
|
function GraphQLDocumentPrinter_getInstance() {
|
|
@@ -1156,14 +1156,14 @@ function GraphQLDocumentPrinter_getInstance() {
|
|
|
1156
1156
|
}
|
|
1157
1157
|
function GraphQLEmitter() {
|
|
1158
1158
|
GraphQLEmitter_instance = this;
|
|
1159
|
-
this.
|
|
1160
|
-
this.
|
|
1159
|
+
this.a4k_1 = FileExtension_GraphQL_getInstance();
|
|
1160
|
+
this.b4k_1 = true;
|
|
1161
1161
|
}
|
|
1162
1162
|
protoOf(GraphQLEmitter).wp = function () {
|
|
1163
|
-
return this.
|
|
1163
|
+
return this.a4k_1;
|
|
1164
1164
|
};
|
|
1165
1165
|
protoOf(GraphQLEmitter).vp = function () {
|
|
1166
|
-
return this.
|
|
1166
|
+
return this.b4k_1;
|
|
1167
1167
|
};
|
|
1168
1168
|
protoOf(GraphQLEmitter).to = function (ast, logger) {
|
|
1169
1169
|
// Inline function 'kotlin.collections.onEach' call
|
|
@@ -1189,7 +1189,7 @@ protoOf(GraphQLEmitter).to = function (ast, logger) {
|
|
|
1189
1189
|
// Inline function 'kotlin.let' call
|
|
1190
1190
|
var it = _NonEmptyList___init__impl__fxd0xp(destination);
|
|
1191
1191
|
// Inline function 'kotlin.let' call
|
|
1192
|
-
var it_0 = GraphQLDocumentPrinter_instance.
|
|
1192
|
+
var it_0 = GraphQLDocumentPrinter_instance.y4j((new WirespecToGraphQL(new NonEmptyList(it))).o4k());
|
|
1193
1193
|
return nonEmptyListOf(new Emitted('schema.graphql', it_0), []);
|
|
1194
1194
|
};
|
|
1195
1195
|
var GraphQLEmitter_instance;
|
|
@@ -1199,18 +1199,18 @@ function GraphQLEmitter_getInstance() {
|
|
|
1199
1199
|
return GraphQLEmitter_instance;
|
|
1200
1200
|
}
|
|
1201
1201
|
function Punctuator(value, offset) {
|
|
1202
|
-
this.
|
|
1203
|
-
this.
|
|
1202
|
+
this.d4i_1 = value;
|
|
1203
|
+
this.e4i_1 = offset;
|
|
1204
1204
|
}
|
|
1205
|
-
protoOf(Punctuator).
|
|
1206
|
-
return this.
|
|
1205
|
+
protoOf(Punctuator).q4i = function () {
|
|
1206
|
+
return this.e4i_1;
|
|
1207
1207
|
};
|
|
1208
1208
|
protoOf(Punctuator).toString = function () {
|
|
1209
|
-
return 'Punctuator(value=' + this.
|
|
1209
|
+
return 'Punctuator(value=' + this.d4i_1 + ', offset=' + this.e4i_1 + ')';
|
|
1210
1210
|
};
|
|
1211
1211
|
protoOf(Punctuator).hashCode = function () {
|
|
1212
|
-
var result = getStringHashCode(this.
|
|
1213
|
-
result = imul(result, 31) + this.
|
|
1212
|
+
var result = getStringHashCode(this.d4i_1);
|
|
1213
|
+
result = imul(result, 31) + this.e4i_1 | 0;
|
|
1214
1214
|
return result;
|
|
1215
1215
|
};
|
|
1216
1216
|
protoOf(Punctuator).equals = function (other) {
|
|
@@ -1218,25 +1218,25 @@ protoOf(Punctuator).equals = function (other) {
|
|
|
1218
1218
|
return true;
|
|
1219
1219
|
if (!(other instanceof Punctuator))
|
|
1220
1220
|
return false;
|
|
1221
|
-
if (!(this.
|
|
1221
|
+
if (!(this.d4i_1 === other.d4i_1))
|
|
1222
1222
|
return false;
|
|
1223
|
-
if (!(this.
|
|
1223
|
+
if (!(this.e4i_1 === other.e4i_1))
|
|
1224
1224
|
return false;
|
|
1225
1225
|
return true;
|
|
1226
1226
|
};
|
|
1227
1227
|
function Name(value, offset) {
|
|
1228
|
-
this.
|
|
1229
|
-
this.
|
|
1228
|
+
this.f4i_1 = value;
|
|
1229
|
+
this.g4i_1 = offset;
|
|
1230
1230
|
}
|
|
1231
|
-
protoOf(Name).
|
|
1232
|
-
return this.
|
|
1231
|
+
protoOf(Name).q4i = function () {
|
|
1232
|
+
return this.g4i_1;
|
|
1233
1233
|
};
|
|
1234
1234
|
protoOf(Name).toString = function () {
|
|
1235
|
-
return 'Name(value=' + this.
|
|
1235
|
+
return 'Name(value=' + this.f4i_1 + ', offset=' + this.g4i_1 + ')';
|
|
1236
1236
|
};
|
|
1237
1237
|
protoOf(Name).hashCode = function () {
|
|
1238
|
-
var result = getStringHashCode(this.
|
|
1239
|
-
result = imul(result, 31) + this.
|
|
1238
|
+
var result = getStringHashCode(this.f4i_1);
|
|
1239
|
+
result = imul(result, 31) + this.g4i_1 | 0;
|
|
1240
1240
|
return result;
|
|
1241
1241
|
};
|
|
1242
1242
|
protoOf(Name).equals = function (other) {
|
|
@@ -1244,25 +1244,25 @@ protoOf(Name).equals = function (other) {
|
|
|
1244
1244
|
return true;
|
|
1245
1245
|
if (!(other instanceof Name))
|
|
1246
1246
|
return false;
|
|
1247
|
-
if (!(this.
|
|
1247
|
+
if (!(this.f4i_1 === other.f4i_1))
|
|
1248
1248
|
return false;
|
|
1249
|
-
if (!(this.
|
|
1249
|
+
if (!(this.g4i_1 === other.g4i_1))
|
|
1250
1250
|
return false;
|
|
1251
1251
|
return true;
|
|
1252
1252
|
};
|
|
1253
1253
|
function IntValue(raw, offset) {
|
|
1254
|
-
this.
|
|
1255
|
-
this.
|
|
1254
|
+
this.l4i_1 = raw;
|
|
1255
|
+
this.m4i_1 = offset;
|
|
1256
1256
|
}
|
|
1257
|
-
protoOf(IntValue).
|
|
1258
|
-
return this.
|
|
1257
|
+
protoOf(IntValue).q4i = function () {
|
|
1258
|
+
return this.m4i_1;
|
|
1259
1259
|
};
|
|
1260
1260
|
protoOf(IntValue).toString = function () {
|
|
1261
|
-
return 'IntValue(raw=' + this.
|
|
1261
|
+
return 'IntValue(raw=' + this.l4i_1 + ', offset=' + this.m4i_1 + ')';
|
|
1262
1262
|
};
|
|
1263
1263
|
protoOf(IntValue).hashCode = function () {
|
|
1264
|
-
var result = getStringHashCode(this.
|
|
1265
|
-
result = imul(result, 31) + this.
|
|
1264
|
+
var result = getStringHashCode(this.l4i_1);
|
|
1265
|
+
result = imul(result, 31) + this.m4i_1 | 0;
|
|
1266
1266
|
return result;
|
|
1267
1267
|
};
|
|
1268
1268
|
protoOf(IntValue).equals = function (other) {
|
|
@@ -1270,25 +1270,25 @@ protoOf(IntValue).equals = function (other) {
|
|
|
1270
1270
|
return true;
|
|
1271
1271
|
if (!(other instanceof IntValue))
|
|
1272
1272
|
return false;
|
|
1273
|
-
if (!(this.
|
|
1273
|
+
if (!(this.l4i_1 === other.l4i_1))
|
|
1274
1274
|
return false;
|
|
1275
|
-
if (!(this.
|
|
1275
|
+
if (!(this.m4i_1 === other.m4i_1))
|
|
1276
1276
|
return false;
|
|
1277
1277
|
return true;
|
|
1278
1278
|
};
|
|
1279
1279
|
function FloatValue(raw, offset) {
|
|
1280
|
-
this.
|
|
1281
|
-
this.
|
|
1280
|
+
this.j4i_1 = raw;
|
|
1281
|
+
this.k4i_1 = offset;
|
|
1282
1282
|
}
|
|
1283
|
-
protoOf(FloatValue).
|
|
1284
|
-
return this.
|
|
1283
|
+
protoOf(FloatValue).q4i = function () {
|
|
1284
|
+
return this.k4i_1;
|
|
1285
1285
|
};
|
|
1286
1286
|
protoOf(FloatValue).toString = function () {
|
|
1287
|
-
return 'FloatValue(raw=' + this.
|
|
1287
|
+
return 'FloatValue(raw=' + this.j4i_1 + ', offset=' + this.k4i_1 + ')';
|
|
1288
1288
|
};
|
|
1289
1289
|
protoOf(FloatValue).hashCode = function () {
|
|
1290
|
-
var result = getStringHashCode(this.
|
|
1291
|
-
result = imul(result, 31) + this.
|
|
1290
|
+
var result = getStringHashCode(this.j4i_1);
|
|
1291
|
+
result = imul(result, 31) + this.k4i_1 | 0;
|
|
1292
1292
|
return result;
|
|
1293
1293
|
};
|
|
1294
1294
|
protoOf(FloatValue).equals = function (other) {
|
|
@@ -1296,25 +1296,25 @@ protoOf(FloatValue).equals = function (other) {
|
|
|
1296
1296
|
return true;
|
|
1297
1297
|
if (!(other instanceof FloatValue))
|
|
1298
1298
|
return false;
|
|
1299
|
-
if (!(this.
|
|
1299
|
+
if (!(this.j4i_1 === other.j4i_1))
|
|
1300
1300
|
return false;
|
|
1301
|
-
if (!(this.
|
|
1301
|
+
if (!(this.k4i_1 === other.k4i_1))
|
|
1302
1302
|
return false;
|
|
1303
1303
|
return true;
|
|
1304
1304
|
};
|
|
1305
1305
|
function StringValue_0(value, offset) {
|
|
1306
|
-
this.
|
|
1307
|
-
this.
|
|
1306
|
+
this.h4i_1 = value;
|
|
1307
|
+
this.i4i_1 = offset;
|
|
1308
1308
|
}
|
|
1309
|
-
protoOf(StringValue_0).
|
|
1310
|
-
return this.
|
|
1309
|
+
protoOf(StringValue_0).q4i = function () {
|
|
1310
|
+
return this.i4i_1;
|
|
1311
1311
|
};
|
|
1312
1312
|
protoOf(StringValue_0).toString = function () {
|
|
1313
|
-
return 'StringValue(value=' + this.
|
|
1313
|
+
return 'StringValue(value=' + this.h4i_1 + ', offset=' + this.i4i_1 + ')';
|
|
1314
1314
|
};
|
|
1315
1315
|
protoOf(StringValue_0).hashCode = function () {
|
|
1316
|
-
var result = getStringHashCode(this.
|
|
1317
|
-
result = imul(result, 31) + this.
|
|
1316
|
+
var result = getStringHashCode(this.h4i_1);
|
|
1317
|
+
result = imul(result, 31) + this.i4i_1 | 0;
|
|
1318
1318
|
return result;
|
|
1319
1319
|
};
|
|
1320
1320
|
protoOf(StringValue_0).equals = function (other) {
|
|
@@ -1322,30 +1322,30 @@ protoOf(StringValue_0).equals = function (other) {
|
|
|
1322
1322
|
return true;
|
|
1323
1323
|
if (!(other instanceof StringValue_0))
|
|
1324
1324
|
return false;
|
|
1325
|
-
if (!(this.
|
|
1325
|
+
if (!(this.h4i_1 === other.h4i_1))
|
|
1326
1326
|
return false;
|
|
1327
|
-
if (!(this.
|
|
1327
|
+
if (!(this.i4i_1 === other.i4i_1))
|
|
1328
1328
|
return false;
|
|
1329
1329
|
return true;
|
|
1330
1330
|
};
|
|
1331
1331
|
function EndOfFile(offset) {
|
|
1332
|
-
this.
|
|
1332
|
+
this.p4k_1 = offset;
|
|
1333
1333
|
}
|
|
1334
|
-
protoOf(EndOfFile).
|
|
1335
|
-
return this.
|
|
1334
|
+
protoOf(EndOfFile).q4i = function () {
|
|
1335
|
+
return this.p4k_1;
|
|
1336
1336
|
};
|
|
1337
1337
|
protoOf(EndOfFile).toString = function () {
|
|
1338
|
-
return 'EndOfFile(offset=' + this.
|
|
1338
|
+
return 'EndOfFile(offset=' + this.p4k_1 + ')';
|
|
1339
1339
|
};
|
|
1340
1340
|
protoOf(EndOfFile).hashCode = function () {
|
|
1341
|
-
return this.
|
|
1341
|
+
return this.p4k_1;
|
|
1342
1342
|
};
|
|
1343
1343
|
protoOf(EndOfFile).equals = function (other) {
|
|
1344
1344
|
if (this === other)
|
|
1345
1345
|
return true;
|
|
1346
1346
|
if (!(other instanceof EndOfFile))
|
|
1347
1347
|
return false;
|
|
1348
|
-
if (!(this.
|
|
1348
|
+
if (!(this.p4k_1 === other.p4k_1))
|
|
1349
1349
|
return false;
|
|
1350
1350
|
return true;
|
|
1351
1351
|
};
|
|
@@ -1401,8 +1401,8 @@ function indentation($this, $receiver) {
|
|
|
1401
1401
|
}
|
|
1402
1402
|
function nextToken($this) {
|
|
1403
1403
|
skipIgnored($this);
|
|
1404
|
-
var start = $this.
|
|
1405
|
-
var tmp0_elvis_lhs = getOrNull($this.
|
|
1404
|
+
var start = $this.t4i_1;
|
|
1405
|
+
var tmp0_elvis_lhs = getOrNull($this.s4i_1, $this.t4i_1);
|
|
1406
1406
|
var tmp;
|
|
1407
1407
|
var tmp_0 = tmp0_elvis_lhs;
|
|
1408
1408
|
if ((tmp_0 == null ? null : new Char(tmp_0)) == null) {
|
|
@@ -1412,24 +1412,24 @@ function nextToken($this) {
|
|
|
1412
1412
|
}
|
|
1413
1413
|
var char = tmp;
|
|
1414
1414
|
var tmp_1;
|
|
1415
|
-
if (Companion_getInstance_0().
|
|
1415
|
+
if (Companion_getInstance_0().q4k_1.i1(new Char(char))) {
|
|
1416
1416
|
// Inline function 'kotlin.also' call
|
|
1417
1417
|
var this_0 = new Punctuator(toString_1(char), start);
|
|
1418
|
-
$this.
|
|
1418
|
+
$this.t4i_1 = $this.t4i_1 + 1 | 0;
|
|
1419
1419
|
tmp_1 = this_0;
|
|
1420
1420
|
} else if (char === _Char___init__impl__6a9atx(46)) {
|
|
1421
1421
|
var tmp_2;
|
|
1422
|
-
if (startsWith($this.
|
|
1422
|
+
if (startsWith($this.s4i_1, '...', $this.t4i_1)) {
|
|
1423
1423
|
// Inline function 'kotlin.also' call
|
|
1424
1424
|
var this_1 = new Punctuator('...', start);
|
|
1425
|
-
$this.
|
|
1425
|
+
$this.t4i_1 = $this.t4i_1 + 3 | 0;
|
|
1426
1426
|
tmp_2 = this_1;
|
|
1427
1427
|
} else {
|
|
1428
1428
|
fail_0($this, "Unexpected character '.'", start);
|
|
1429
1429
|
}
|
|
1430
1430
|
tmp_1 = tmp_2;
|
|
1431
1431
|
} else if (char === _Char___init__impl__6a9atx(34)) {
|
|
1432
|
-
tmp_1 = startsWith($this.
|
|
1432
|
+
tmp_1 = startsWith($this.s4i_1, '"""', $this.t4i_1) ? new StringValue_0(readBlockString($this), start) : new StringValue_0(readString($this), start);
|
|
1433
1433
|
} else if (char === _Char___init__impl__6a9atx(45)) {
|
|
1434
1434
|
tmp_1 = readNumber($this);
|
|
1435
1435
|
} else {
|
|
@@ -1446,34 +1446,34 @@ function nextToken($this) {
|
|
|
1446
1446
|
return tmp_1;
|
|
1447
1447
|
}
|
|
1448
1448
|
function skipIgnored($this) {
|
|
1449
|
-
while ($this.
|
|
1450
|
-
var tmp0_subject = charCodeAt($this.
|
|
1449
|
+
while ($this.t4i_1 < $this.s4i_1.length) {
|
|
1450
|
+
var tmp0_subject = charCodeAt($this.s4i_1, $this.t4i_1);
|
|
1451
1451
|
if (tmp0_subject === _Char___init__impl__6a9atx(65279) || (tmp0_subject === _Char___init__impl__6a9atx(32) || tmp0_subject === _Char___init__impl__6a9atx(9)) || (tmp0_subject === _Char___init__impl__6a9atx(10) || (tmp0_subject === _Char___init__impl__6a9atx(13) || tmp0_subject === _Char___init__impl__6a9atx(44)))) {
|
|
1452
|
-
$this.
|
|
1452
|
+
$this.t4i_1 = $this.t4i_1 + 1 | 0;
|
|
1453
1453
|
} else if (tmp0_subject === _Char___init__impl__6a9atx(35)) {
|
|
1454
|
-
while ($this.
|
|
1455
|
-
$this.
|
|
1454
|
+
while ($this.t4i_1 < $this.s4i_1.length && !(charCodeAt($this.s4i_1, $this.t4i_1) === _Char___init__impl__6a9atx(10)) && !(charCodeAt($this.s4i_1, $this.t4i_1) === _Char___init__impl__6a9atx(13))) {
|
|
1455
|
+
$this.t4i_1 = $this.t4i_1 + 1 | 0;
|
|
1456
1456
|
}
|
|
1457
1457
|
} else
|
|
1458
1458
|
return Unit_instance;
|
|
1459
1459
|
}
|
|
1460
1460
|
}
|
|
1461
1461
|
function readName($this) {
|
|
1462
|
-
var start = $this.
|
|
1463
|
-
while ($this.
|
|
1464
|
-
$this.
|
|
1462
|
+
var start = $this.t4i_1;
|
|
1463
|
+
while ($this.t4i_1 < $this.s4i_1.length && isNameContinue(Companion_getInstance_0(), charCodeAt($this.s4i_1, $this.t4i_1))) {
|
|
1464
|
+
$this.t4i_1 = $this.t4i_1 + 1 | 0;
|
|
1465
1465
|
}
|
|
1466
|
-
return substring($this.
|
|
1466
|
+
return substring($this.s4i_1, start, $this.t4i_1);
|
|
1467
1467
|
}
|
|
1468
1468
|
function readNumber($this) {
|
|
1469
|
-
var start = $this.
|
|
1470
|
-
if (charCodeAt($this.
|
|
1471
|
-
$this.
|
|
1469
|
+
var start = $this.t4i_1;
|
|
1470
|
+
if (charCodeAt($this.s4i_1, $this.t4i_1) === _Char___init__impl__6a9atx(45)) {
|
|
1471
|
+
$this.t4i_1 = $this.t4i_1 + 1 | 0;
|
|
1472
1472
|
}
|
|
1473
|
-
var tmp = getOrNull($this.
|
|
1473
|
+
var tmp = getOrNull($this.s4i_1, $this.t4i_1);
|
|
1474
1474
|
if (equals(tmp == null ? null : new Char(tmp), new Char(_Char___init__impl__6a9atx(48)))) {
|
|
1475
|
-
$this.
|
|
1476
|
-
var tmp0_safe_receiver = getOrNull($this.
|
|
1475
|
+
$this.t4i_1 = $this.t4i_1 + 1 | 0;
|
|
1476
|
+
var tmp0_safe_receiver = getOrNull($this.s4i_1, $this.t4i_1);
|
|
1477
1477
|
var tmp_0;
|
|
1478
1478
|
var tmp_1 = tmp0_safe_receiver;
|
|
1479
1479
|
if ((tmp_1 == null ? null : new Char(tmp_1)) == null) {
|
|
@@ -1482,42 +1482,42 @@ function readNumber($this) {
|
|
|
1482
1482
|
tmp_0 = isAsciiDigit(Companion_getInstance_0(), tmp0_safe_receiver);
|
|
1483
1483
|
}
|
|
1484
1484
|
if (tmp_0 === true) {
|
|
1485
|
-
fail_0($this, 'Invalid number, unexpected digit after 0', $this.
|
|
1485
|
+
fail_0($this, 'Invalid number, unexpected digit after 0', $this.t4i_1);
|
|
1486
1486
|
}
|
|
1487
1487
|
} else {
|
|
1488
1488
|
readDigits($this);
|
|
1489
1489
|
}
|
|
1490
|
-
var tmp_2 = getOrNull($this.
|
|
1490
|
+
var tmp_2 = getOrNull($this.s4i_1, $this.t4i_1);
|
|
1491
1491
|
var fraction = equals(tmp_2 == null ? null : new Char(tmp_2), new Char(_Char___init__impl__6a9atx(46)));
|
|
1492
1492
|
if (fraction) {
|
|
1493
|
-
$this.
|
|
1493
|
+
$this.t4i_1 = $this.t4i_1 + 1 | 0;
|
|
1494
1494
|
readDigits($this);
|
|
1495
1495
|
}
|
|
1496
1496
|
var tmp_3;
|
|
1497
|
-
var tmp_4 = getOrNull($this.
|
|
1497
|
+
var tmp_4 = getOrNull($this.s4i_1, $this.t4i_1);
|
|
1498
1498
|
if (equals(tmp_4 == null ? null : new Char(tmp_4), new Char(_Char___init__impl__6a9atx(101)))) {
|
|
1499
1499
|
tmp_3 = true;
|
|
1500
1500
|
} else {
|
|
1501
|
-
var tmp_5 = getOrNull($this.
|
|
1501
|
+
var tmp_5 = getOrNull($this.s4i_1, $this.t4i_1);
|
|
1502
1502
|
tmp_3 = equals(tmp_5 == null ? null : new Char(tmp_5), new Char(_Char___init__impl__6a9atx(69)));
|
|
1503
1503
|
}
|
|
1504
1504
|
var exponent = tmp_3;
|
|
1505
1505
|
if (exponent) {
|
|
1506
|
-
$this.
|
|
1506
|
+
$this.t4i_1 = $this.t4i_1 + 1 | 0;
|
|
1507
1507
|
var tmp_6;
|
|
1508
|
-
var tmp_7 = getOrNull($this.
|
|
1508
|
+
var tmp_7 = getOrNull($this.s4i_1, $this.t4i_1);
|
|
1509
1509
|
if (equals(tmp_7 == null ? null : new Char(tmp_7), new Char(_Char___init__impl__6a9atx(43)))) {
|
|
1510
1510
|
tmp_6 = true;
|
|
1511
1511
|
} else {
|
|
1512
|
-
var tmp_8 = getOrNull($this.
|
|
1512
|
+
var tmp_8 = getOrNull($this.s4i_1, $this.t4i_1);
|
|
1513
1513
|
tmp_6 = equals(tmp_8 == null ? null : new Char(tmp_8), new Char(_Char___init__impl__6a9atx(45)));
|
|
1514
1514
|
}
|
|
1515
1515
|
if (tmp_6) {
|
|
1516
|
-
$this.
|
|
1516
|
+
$this.t4i_1 = $this.t4i_1 + 1 | 0;
|
|
1517
1517
|
}
|
|
1518
1518
|
readDigits($this);
|
|
1519
1519
|
}
|
|
1520
|
-
var tmp1_safe_receiver = getOrNull($this.
|
|
1520
|
+
var tmp1_safe_receiver = getOrNull($this.s4i_1, $this.t4i_1);
|
|
1521
1521
|
var tmp_9;
|
|
1522
1522
|
var tmp_10 = tmp1_safe_receiver;
|
|
1523
1523
|
if ((tmp_10 == null ? null : new Char(tmp_10)) == null) {
|
|
@@ -1544,13 +1544,13 @@ function readNumber($this) {
|
|
|
1544
1544
|
var tmp_15 = tmp2_safe_receiver;
|
|
1545
1545
|
// Inline function 'kotlin.let' call
|
|
1546
1546
|
var it_0 = (tmp_15 == null ? null : new Char(tmp_15)).k1_1;
|
|
1547
|
-
fail_0($this, "Invalid number, unexpected character '" + toString_1(it_0) + "'", $this.
|
|
1547
|
+
fail_0($this, "Invalid number, unexpected character '" + toString_1(it_0) + "'", $this.t4i_1);
|
|
1548
1548
|
}
|
|
1549
|
-
var raw = substring($this.
|
|
1549
|
+
var raw = substring($this.s4i_1, start, $this.t4i_1);
|
|
1550
1550
|
return fraction || exponent ? new FloatValue(raw, start) : new IntValue(raw, start);
|
|
1551
1551
|
}
|
|
1552
1552
|
function readDigits($this) {
|
|
1553
|
-
var tmp0_safe_receiver = getOrNull($this.
|
|
1553
|
+
var tmp0_safe_receiver = getOrNull($this.s4i_1, $this.t4i_1);
|
|
1554
1554
|
var tmp;
|
|
1555
1555
|
var tmp_0 = tmp0_safe_receiver;
|
|
1556
1556
|
if ((tmp_0 == null ? null : new Char(tmp_0)) == null) {
|
|
@@ -1559,10 +1559,10 @@ function readDigits($this) {
|
|
|
1559
1559
|
tmp = isAsciiDigit(Companion_getInstance_0(), tmp0_safe_receiver);
|
|
1560
1560
|
}
|
|
1561
1561
|
if (!(tmp === true)) {
|
|
1562
|
-
fail_0($this, 'Invalid number, expected digit', $this.
|
|
1562
|
+
fail_0($this, 'Invalid number, expected digit', $this.t4i_1);
|
|
1563
1563
|
}
|
|
1564
1564
|
$l$loop: while (true) {
|
|
1565
|
-
var tmp1_safe_receiver = getOrNull($this.
|
|
1565
|
+
var tmp1_safe_receiver = getOrNull($this.s4i_1, $this.t4i_1);
|
|
1566
1566
|
var tmp_1;
|
|
1567
1567
|
var tmp_2 = tmp1_safe_receiver;
|
|
1568
1568
|
if ((tmp_2 == null ? null : new Char(tmp_2)) == null) {
|
|
@@ -1573,18 +1573,18 @@ function readDigits($this) {
|
|
|
1573
1573
|
if (!(tmp_1 === true)) {
|
|
1574
1574
|
break $l$loop;
|
|
1575
1575
|
}
|
|
1576
|
-
$this.
|
|
1576
|
+
$this.t4i_1 = $this.t4i_1 + 1 | 0;
|
|
1577
1577
|
}
|
|
1578
1578
|
}
|
|
1579
1579
|
function readString($this) {
|
|
1580
|
-
var start = $this.
|
|
1581
|
-
$this.
|
|
1580
|
+
var start = $this.t4i_1;
|
|
1581
|
+
$this.t4i_1 = $this.t4i_1 + 1 | 0;
|
|
1582
1582
|
// Inline function 'kotlin.text.buildString' call
|
|
1583
1583
|
// Inline function 'kotlin.apply' call
|
|
1584
1584
|
var this_0 = StringBuilder_init_$Create$();
|
|
1585
1585
|
$l$block: {
|
|
1586
1586
|
while (true) {
|
|
1587
|
-
var char = getOrNull($this.
|
|
1587
|
+
var char = getOrNull($this.s4i_1, $this.t4i_1);
|
|
1588
1588
|
var tmp;
|
|
1589
1589
|
var tmp_0 = char;
|
|
1590
1590
|
if ((tmp_0 == null ? null : new Char(tmp_0)) == null) {
|
|
@@ -1605,7 +1605,7 @@ function readString($this) {
|
|
|
1605
1605
|
} else {
|
|
1606
1606
|
var tmp_4 = char;
|
|
1607
1607
|
if (equals(tmp_4 == null ? null : new Char(tmp_4), new Char(_Char___init__impl__6a9atx(34)))) {
|
|
1608
|
-
$this.
|
|
1608
|
+
$this.t4i_1 = $this.t4i_1 + 1 | 0;
|
|
1609
1609
|
break $l$block;
|
|
1610
1610
|
} else {
|
|
1611
1611
|
var tmp_5 = char;
|
|
@@ -1614,7 +1614,7 @@ function readString($this) {
|
|
|
1614
1614
|
} else {
|
|
1615
1615
|
// Inline function 'kotlin.also' call
|
|
1616
1616
|
this_0.s(char);
|
|
1617
|
-
$this.
|
|
1617
|
+
$this.t4i_1 = $this.t4i_1 + 1 | 0;
|
|
1618
1618
|
}
|
|
1619
1619
|
}
|
|
1620
1620
|
}
|
|
@@ -1623,9 +1623,9 @@ function readString($this) {
|
|
|
1623
1623
|
return this_0.toString();
|
|
1624
1624
|
}
|
|
1625
1625
|
function readEscape($this, $receiver) {
|
|
1626
|
-
var start = $this.
|
|
1627
|
-
$this.
|
|
1628
|
-
var tmp0_subject = getOrNull($this.
|
|
1626
|
+
var start = $this.t4i_1;
|
|
1627
|
+
$this.t4i_1 = $this.t4i_1 + 2 | 0;
|
|
1628
|
+
var tmp0_subject = getOrNull($this.s4i_1, start + 1 | 0);
|
|
1629
1629
|
var tmp = tmp0_subject;
|
|
1630
1630
|
if (equals(tmp == null ? null : new Char(tmp), new Char(_Char___init__impl__6a9atx(34))))
|
|
1631
1631
|
$receiver.s(_Char___init__impl__6a9atx(34));
|
|
@@ -1660,12 +1660,12 @@ function readEscape($this, $receiver) {
|
|
|
1660
1660
|
else {
|
|
1661
1661
|
var tmp_7 = tmp0_subject;
|
|
1662
1662
|
if (equals(tmp_7 == null ? null : new Char(tmp_7), new Char(_Char___init__impl__6a9atx(117)))) {
|
|
1663
|
-
var tmp_8 = getOrNull($this.
|
|
1663
|
+
var tmp_8 = getOrNull($this.s4i_1, $this.t4i_1);
|
|
1664
1664
|
if (equals(tmp_8 == null ? null : new Char(tmp_8), new Char(_Char___init__impl__6a9atx(123)))) {
|
|
1665
1665
|
// Inline function 'kotlin.takeIf' call
|
|
1666
|
-
var this_0 = indexOf($this.
|
|
1666
|
+
var this_0 = indexOf($this.s4i_1, _Char___init__impl__6a9atx(125), $this.t4i_1);
|
|
1667
1667
|
var tmp_9;
|
|
1668
|
-
if (this_0 > ($this.
|
|
1668
|
+
if (this_0 > ($this.t4i_1 + 1 | 0)) {
|
|
1669
1669
|
tmp_9 = this_0;
|
|
1670
1670
|
} else {
|
|
1671
1671
|
tmp_9 = null;
|
|
@@ -1677,8 +1677,8 @@ function readEscape($this, $receiver) {
|
|
|
1677
1677
|
} else {
|
|
1678
1678
|
// Inline function 'kotlin.let' call
|
|
1679
1679
|
// Inline function 'kotlin.also' call
|
|
1680
|
-
var this_1 = substring($this.
|
|
1681
|
-
$this.
|
|
1680
|
+
var this_1 = substring($this.s4i_1, $this.t4i_1 + 1 | 0, tmp2_safe_receiver);
|
|
1681
|
+
$this.t4i_1 = tmp2_safe_receiver + 1 | 0;
|
|
1682
1682
|
tmp_10 = this_1;
|
|
1683
1683
|
}
|
|
1684
1684
|
var tmp3_safe_receiver = tmp_10;
|
|
@@ -1737,13 +1737,13 @@ function readEscape($this, $receiver) {
|
|
|
1737
1737
|
fail_0($this, 'Invalid unicode escape sequence', start);
|
|
1738
1738
|
}
|
|
1739
1739
|
} else {
|
|
1740
|
-
var tmp_16 = $this.
|
|
1741
|
-
var tmp0 = $this.
|
|
1740
|
+
var tmp_16 = $this.t4i_1;
|
|
1741
|
+
var tmp0 = $this.t4i_1 + 4 | 0;
|
|
1742
1742
|
// Inline function 'kotlin.comparisons.minOf' call
|
|
1743
|
-
var b = $this.
|
|
1743
|
+
var b = $this.s4i_1.length;
|
|
1744
1744
|
var tmp$ret$14 = Math.min(tmp0, b);
|
|
1745
1745
|
// Inline function 'kotlin.takeIf' call
|
|
1746
|
-
var this_2 = substring($this.
|
|
1746
|
+
var this_2 = substring($this.s4i_1, tmp_16, tmp$ret$14);
|
|
1747
1747
|
var tmp_17;
|
|
1748
1748
|
var tmp_18;
|
|
1749
1749
|
if (this_2.length === 4) {
|
|
@@ -1777,7 +1777,7 @@ function readEscape($this, $receiver) {
|
|
|
1777
1777
|
tmp_19 = null;
|
|
1778
1778
|
} else {
|
|
1779
1779
|
// Inline function 'kotlin.also' call
|
|
1780
|
-
$this.
|
|
1780
|
+
$this.t4i_1 = $this.t4i_1 + 4 | 0;
|
|
1781
1781
|
tmp_19 = tmp9_safe_receiver;
|
|
1782
1782
|
}
|
|
1783
1783
|
var tmp10_safe_receiver = tmp_19;
|
|
@@ -1815,38 +1815,38 @@ function appendCodePoint($this, $receiver, codePoint) {
|
|
|
1815
1815
|
}
|
|
1816
1816
|
}
|
|
1817
1817
|
function readBlockString($this) {
|
|
1818
|
-
var start = $this.
|
|
1819
|
-
$this.
|
|
1818
|
+
var start = $this.t4i_1;
|
|
1819
|
+
$this.t4i_1 = $this.t4i_1 + 3 | 0;
|
|
1820
1820
|
// Inline function 'kotlin.text.buildString' call
|
|
1821
1821
|
// Inline function 'kotlin.apply' call
|
|
1822
1822
|
var this_0 = StringBuilder_init_$Create$();
|
|
1823
1823
|
$l$block: {
|
|
1824
1824
|
while (true) {
|
|
1825
|
-
if ($this.
|
|
1825
|
+
if ($this.t4i_1 >= $this.s4i_1.length) {
|
|
1826
1826
|
fail_0($this, 'Unterminated block string', start);
|
|
1827
|
-
} else if (startsWith($this.
|
|
1828
|
-
$this.
|
|
1827
|
+
} else if (startsWith($this.s4i_1, '"""', $this.t4i_1)) {
|
|
1828
|
+
$this.t4i_1 = $this.t4i_1 + 3 | 0;
|
|
1829
1829
|
break $l$block;
|
|
1830
|
-
} else if (startsWith($this.
|
|
1830
|
+
} else if (startsWith($this.s4i_1, '\\"""', $this.t4i_1)) {
|
|
1831
1831
|
// Inline function 'kotlin.also' call
|
|
1832
1832
|
this_0.q('"""');
|
|
1833
|
-
$this.
|
|
1833
|
+
$this.t4i_1 = $this.t4i_1 + 4 | 0;
|
|
1834
1834
|
} else {
|
|
1835
1835
|
// Inline function 'kotlin.also' call
|
|
1836
|
-
this_0.s(charCodeAt($this.
|
|
1837
|
-
$this.
|
|
1836
|
+
this_0.s(charCodeAt($this.s4i_1, $this.t4i_1));
|
|
1837
|
+
$this.t4i_1 = $this.t4i_1 + 1 | 0;
|
|
1838
1838
|
}
|
|
1839
1839
|
}
|
|
1840
1840
|
}
|
|
1841
1841
|
var raw = this_0.toString();
|
|
1842
|
-
return Companion_getInstance_0().
|
|
1842
|
+
return Companion_getInstance_0().s4k(raw);
|
|
1843
1843
|
}
|
|
1844
1844
|
function fail_0($this, message, offset) {
|
|
1845
1845
|
// Inline function 'kotlin.comparisons.minOf' call
|
|
1846
|
-
var b = $this.
|
|
1846
|
+
var b = $this.s4i_1.length;
|
|
1847
1847
|
var tmp$ret$0 = Math.min(offset, b);
|
|
1848
1848
|
// Inline function 'kotlin.let' call
|
|
1849
|
-
var before = substring($this.
|
|
1849
|
+
var before = substring($this.s4i_1, 0, tmp$ret$0);
|
|
1850
1850
|
// Inline function 'kotlin.text.count' call
|
|
1851
1851
|
var count = 0;
|
|
1852
1852
|
var inductionVariable = 0;
|
|
@@ -1863,13 +1863,13 @@ function fail_0($this, message, offset) {
|
|
|
1863
1863
|
}
|
|
1864
1864
|
function Companion_0() {
|
|
1865
1865
|
Companion_instance_0 = this;
|
|
1866
|
-
this.
|
|
1867
|
-
this.
|
|
1866
|
+
this.q4k_1 = setOf([new Char(_Char___init__impl__6a9atx(33)), new Char(_Char___init__impl__6a9atx(36)), new Char(_Char___init__impl__6a9atx(38)), new Char(_Char___init__impl__6a9atx(40)), new Char(_Char___init__impl__6a9atx(41)), new Char(_Char___init__impl__6a9atx(58)), new Char(_Char___init__impl__6a9atx(61)), new Char(_Char___init__impl__6a9atx(64)), new Char(_Char___init__impl__6a9atx(91)), new Char(_Char___init__impl__6a9atx(93)), new Char(_Char___init__impl__6a9atx(123)), new Char(_Char___init__impl__6a9atx(124)), new Char(_Char___init__impl__6a9atx(125))]);
|
|
1867
|
+
this.r4k_1 = Regex_init_$Create$('\r\n|\n|\r');
|
|
1868
1868
|
}
|
|
1869
|
-
protoOf(Companion_0).
|
|
1869
|
+
protoOf(Companion_0).s4k = function (raw) {
|
|
1870
1870
|
// Inline function 'kotlin.text.split' call
|
|
1871
1871
|
// Inline function 'kotlin.let' call
|
|
1872
|
-
var lines = this.
|
|
1872
|
+
var lines = this.r4k_1.ed(raw, 0);
|
|
1873
1873
|
// Inline function 'kotlin.collections.filterNot' call
|
|
1874
1874
|
var tmp0 = drop(lines, 1);
|
|
1875
1875
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
@@ -1953,10 +1953,10 @@ function Companion_getInstance_0() {
|
|
|
1953
1953
|
}
|
|
1954
1954
|
function GraphQLLexer(source) {
|
|
1955
1955
|
Companion_getInstance_0();
|
|
1956
|
-
this.
|
|
1957
|
-
this.
|
|
1956
|
+
this.s4i_1 = source;
|
|
1957
|
+
this.t4i_1 = 0;
|
|
1958
1958
|
}
|
|
1959
|
-
protoOf(GraphQLLexer).
|
|
1959
|
+
protoOf(GraphQLLexer).u4i = function () {
|
|
1960
1960
|
// Inline function 'kotlin.collections.buildList' call
|
|
1961
1961
|
// Inline function 'kotlin.collections.buildListInternal' call
|
|
1962
1962
|
// Inline function 'kotlin.apply' call
|
|
@@ -1993,128 +1993,128 @@ function Operation_initEntries() {
|
|
|
1993
1993
|
}
|
|
1994
1994
|
var $ENTRIES;
|
|
1995
1995
|
function Named(name) {
|
|
1996
|
-
this.
|
|
1996
|
+
this.t4k_1 = name;
|
|
1997
1997
|
}
|
|
1998
1998
|
protoOf(Named).toString = function () {
|
|
1999
|
-
return 'Named(name=' + this.
|
|
1999
|
+
return 'Named(name=' + this.t4k_1 + ')';
|
|
2000
2000
|
};
|
|
2001
2001
|
protoOf(Named).hashCode = function () {
|
|
2002
|
-
return getStringHashCode(this.
|
|
2002
|
+
return getStringHashCode(this.t4k_1);
|
|
2003
2003
|
};
|
|
2004
2004
|
protoOf(Named).equals = function (other) {
|
|
2005
2005
|
if (this === other)
|
|
2006
2006
|
return true;
|
|
2007
2007
|
if (!(other instanceof Named))
|
|
2008
2008
|
return false;
|
|
2009
|
-
if (!(this.
|
|
2009
|
+
if (!(this.t4k_1 === other.t4k_1))
|
|
2010
2010
|
return false;
|
|
2011
2011
|
return true;
|
|
2012
2012
|
};
|
|
2013
2013
|
function ListOf(type) {
|
|
2014
|
-
this.
|
|
2014
|
+
this.u4k_1 = type;
|
|
2015
2015
|
}
|
|
2016
2016
|
protoOf(ListOf).toString = function () {
|
|
2017
|
-
return 'ListOf(type=' + toString_0(this.
|
|
2017
|
+
return 'ListOf(type=' + toString_0(this.u4k_1) + ')';
|
|
2018
2018
|
};
|
|
2019
2019
|
protoOf(ListOf).hashCode = function () {
|
|
2020
|
-
return hashCode(this.
|
|
2020
|
+
return hashCode(this.u4k_1);
|
|
2021
2021
|
};
|
|
2022
2022
|
protoOf(ListOf).equals = function (other) {
|
|
2023
2023
|
if (this === other)
|
|
2024
2024
|
return true;
|
|
2025
2025
|
if (!(other instanceof ListOf))
|
|
2026
2026
|
return false;
|
|
2027
|
-
if (!equals(this.
|
|
2027
|
+
if (!equals(this.u4k_1, other.u4k_1))
|
|
2028
2028
|
return false;
|
|
2029
2029
|
return true;
|
|
2030
2030
|
};
|
|
2031
2031
|
function NonNull(type) {
|
|
2032
|
-
this.
|
|
2032
|
+
this.v4k_1 = type;
|
|
2033
2033
|
}
|
|
2034
2034
|
protoOf(NonNull).toString = function () {
|
|
2035
|
-
return 'NonNull(type=' + toString_0(this.
|
|
2035
|
+
return 'NonNull(type=' + toString_0(this.v4k_1) + ')';
|
|
2036
2036
|
};
|
|
2037
2037
|
protoOf(NonNull).hashCode = function () {
|
|
2038
|
-
return hashCode(this.
|
|
2038
|
+
return hashCode(this.v4k_1);
|
|
2039
2039
|
};
|
|
2040
2040
|
protoOf(NonNull).equals = function (other) {
|
|
2041
2041
|
if (this === other)
|
|
2042
2042
|
return true;
|
|
2043
2043
|
if (!(other instanceof NonNull))
|
|
2044
2044
|
return false;
|
|
2045
|
-
if (!equals(this.
|
|
2045
|
+
if (!equals(this.v4k_1, other.v4k_1))
|
|
2046
2046
|
return false;
|
|
2047
2047
|
return true;
|
|
2048
2048
|
};
|
|
2049
2049
|
function IntValue_0(raw) {
|
|
2050
|
-
this.
|
|
2050
|
+
this.w4k_1 = raw;
|
|
2051
2051
|
}
|
|
2052
2052
|
protoOf(IntValue_0).toString = function () {
|
|
2053
|
-
return 'IntValue(raw=' + this.
|
|
2053
|
+
return 'IntValue(raw=' + this.w4k_1 + ')';
|
|
2054
2054
|
};
|
|
2055
2055
|
protoOf(IntValue_0).hashCode = function () {
|
|
2056
|
-
return getStringHashCode(this.
|
|
2056
|
+
return getStringHashCode(this.w4k_1);
|
|
2057
2057
|
};
|
|
2058
2058
|
protoOf(IntValue_0).equals = function (other) {
|
|
2059
2059
|
if (this === other)
|
|
2060
2060
|
return true;
|
|
2061
2061
|
if (!(other instanceof IntValue_0))
|
|
2062
2062
|
return false;
|
|
2063
|
-
if (!(this.
|
|
2063
|
+
if (!(this.w4k_1 === other.w4k_1))
|
|
2064
2064
|
return false;
|
|
2065
2065
|
return true;
|
|
2066
2066
|
};
|
|
2067
2067
|
function FloatValue_0(raw) {
|
|
2068
|
-
this.
|
|
2068
|
+
this.x4k_1 = raw;
|
|
2069
2069
|
}
|
|
2070
2070
|
protoOf(FloatValue_0).toString = function () {
|
|
2071
|
-
return 'FloatValue(raw=' + this.
|
|
2071
|
+
return 'FloatValue(raw=' + this.x4k_1 + ')';
|
|
2072
2072
|
};
|
|
2073
2073
|
protoOf(FloatValue_0).hashCode = function () {
|
|
2074
|
-
return getStringHashCode(this.
|
|
2074
|
+
return getStringHashCode(this.x4k_1);
|
|
2075
2075
|
};
|
|
2076
2076
|
protoOf(FloatValue_0).equals = function (other) {
|
|
2077
2077
|
if (this === other)
|
|
2078
2078
|
return true;
|
|
2079
2079
|
if (!(other instanceof FloatValue_0))
|
|
2080
2080
|
return false;
|
|
2081
|
-
if (!(this.
|
|
2081
|
+
if (!(this.x4k_1 === other.x4k_1))
|
|
2082
2082
|
return false;
|
|
2083
2083
|
return true;
|
|
2084
2084
|
};
|
|
2085
2085
|
function StringValue_1(value) {
|
|
2086
|
-
this.
|
|
2086
|
+
this.y4k_1 = value;
|
|
2087
2087
|
}
|
|
2088
2088
|
protoOf(StringValue_1).toString = function () {
|
|
2089
|
-
return 'StringValue(value=' + this.
|
|
2089
|
+
return 'StringValue(value=' + this.y4k_1 + ')';
|
|
2090
2090
|
};
|
|
2091
2091
|
protoOf(StringValue_1).hashCode = function () {
|
|
2092
|
-
return getStringHashCode(this.
|
|
2092
|
+
return getStringHashCode(this.y4k_1);
|
|
2093
2093
|
};
|
|
2094
2094
|
protoOf(StringValue_1).equals = function (other) {
|
|
2095
2095
|
if (this === other)
|
|
2096
2096
|
return true;
|
|
2097
2097
|
if (!(other instanceof StringValue_1))
|
|
2098
2098
|
return false;
|
|
2099
|
-
if (!(this.
|
|
2099
|
+
if (!(this.y4k_1 === other.y4k_1))
|
|
2100
2100
|
return false;
|
|
2101
2101
|
return true;
|
|
2102
2102
|
};
|
|
2103
2103
|
function BooleanValue_0(value) {
|
|
2104
|
-
this.
|
|
2104
|
+
this.z4k_1 = value;
|
|
2105
2105
|
}
|
|
2106
2106
|
protoOf(BooleanValue_0).toString = function () {
|
|
2107
|
-
return 'BooleanValue(value=' + this.
|
|
2107
|
+
return 'BooleanValue(value=' + this.z4k_1 + ')';
|
|
2108
2108
|
};
|
|
2109
2109
|
protoOf(BooleanValue_0).hashCode = function () {
|
|
2110
|
-
return getBooleanHashCode(this.
|
|
2110
|
+
return getBooleanHashCode(this.z4k_1);
|
|
2111
2111
|
};
|
|
2112
2112
|
protoOf(BooleanValue_0).equals = function (other) {
|
|
2113
2113
|
if (this === other)
|
|
2114
2114
|
return true;
|
|
2115
2115
|
if (!(other instanceof BooleanValue_0))
|
|
2116
2116
|
return false;
|
|
2117
|
-
if (!(this.
|
|
2117
|
+
if (!(this.z4k_1 === other.z4k_1))
|
|
2118
2118
|
return false;
|
|
2119
2119
|
return true;
|
|
2120
2120
|
};
|
|
@@ -2138,74 +2138,74 @@ function NullValue_getInstance() {
|
|
|
2138
2138
|
return NullValue_instance_0;
|
|
2139
2139
|
}
|
|
2140
2140
|
function EnumValue_0(name) {
|
|
2141
|
-
this.
|
|
2141
|
+
this.a4l_1 = name;
|
|
2142
2142
|
}
|
|
2143
2143
|
protoOf(EnumValue_0).toString = function () {
|
|
2144
|
-
return 'EnumValue(name=' + this.
|
|
2144
|
+
return 'EnumValue(name=' + this.a4l_1 + ')';
|
|
2145
2145
|
};
|
|
2146
2146
|
protoOf(EnumValue_0).hashCode = function () {
|
|
2147
|
-
return getStringHashCode(this.
|
|
2147
|
+
return getStringHashCode(this.a4l_1);
|
|
2148
2148
|
};
|
|
2149
2149
|
protoOf(EnumValue_0).equals = function (other) {
|
|
2150
2150
|
if (this === other)
|
|
2151
2151
|
return true;
|
|
2152
2152
|
if (!(other instanceof EnumValue_0))
|
|
2153
2153
|
return false;
|
|
2154
|
-
if (!(this.
|
|
2154
|
+
if (!(this.a4l_1 === other.a4l_1))
|
|
2155
2155
|
return false;
|
|
2156
2156
|
return true;
|
|
2157
2157
|
};
|
|
2158
2158
|
function ListValue(values) {
|
|
2159
|
-
this.
|
|
2159
|
+
this.b4l_1 = values;
|
|
2160
2160
|
}
|
|
2161
2161
|
protoOf(ListValue).toString = function () {
|
|
2162
|
-
return 'ListValue(values=' + toString_0(this.
|
|
2162
|
+
return 'ListValue(values=' + toString_0(this.b4l_1) + ')';
|
|
2163
2163
|
};
|
|
2164
2164
|
protoOf(ListValue).hashCode = function () {
|
|
2165
|
-
return hashCode(this.
|
|
2165
|
+
return hashCode(this.b4l_1);
|
|
2166
2166
|
};
|
|
2167
2167
|
protoOf(ListValue).equals = function (other) {
|
|
2168
2168
|
if (this === other)
|
|
2169
2169
|
return true;
|
|
2170
2170
|
if (!(other instanceof ListValue))
|
|
2171
2171
|
return false;
|
|
2172
|
-
if (!equals(this.
|
|
2172
|
+
if (!equals(this.b4l_1, other.b4l_1))
|
|
2173
2173
|
return false;
|
|
2174
2174
|
return true;
|
|
2175
2175
|
};
|
|
2176
2176
|
function ObjectValue(fields) {
|
|
2177
|
-
this.
|
|
2177
|
+
this.c4l_1 = fields;
|
|
2178
2178
|
}
|
|
2179
2179
|
protoOf(ObjectValue).toString = function () {
|
|
2180
|
-
return 'ObjectValue(fields=' + toString_0(this.
|
|
2180
|
+
return 'ObjectValue(fields=' + toString_0(this.c4l_1) + ')';
|
|
2181
2181
|
};
|
|
2182
2182
|
protoOf(ObjectValue).hashCode = function () {
|
|
2183
|
-
return hashCode(this.
|
|
2183
|
+
return hashCode(this.c4l_1);
|
|
2184
2184
|
};
|
|
2185
2185
|
protoOf(ObjectValue).equals = function (other) {
|
|
2186
2186
|
if (this === other)
|
|
2187
2187
|
return true;
|
|
2188
2188
|
if (!(other instanceof ObjectValue))
|
|
2189
2189
|
return false;
|
|
2190
|
-
if (!equals(this.
|
|
2190
|
+
if (!equals(this.c4l_1, other.c4l_1))
|
|
2191
2191
|
return false;
|
|
2192
2192
|
return true;
|
|
2193
2193
|
};
|
|
2194
2194
|
function Document(definitions) {
|
|
2195
|
-
this.
|
|
2195
|
+
this.z4j_1 = definitions;
|
|
2196
2196
|
}
|
|
2197
2197
|
protoOf(Document).toString = function () {
|
|
2198
|
-
return 'Document(definitions=' + toString_0(this.
|
|
2198
|
+
return 'Document(definitions=' + toString_0(this.z4j_1) + ')';
|
|
2199
2199
|
};
|
|
2200
2200
|
protoOf(Document).hashCode = function () {
|
|
2201
|
-
return hashCode(this.
|
|
2201
|
+
return hashCode(this.z4j_1);
|
|
2202
2202
|
};
|
|
2203
2203
|
protoOf(Document).equals = function (other) {
|
|
2204
2204
|
if (this === other)
|
|
2205
2205
|
return true;
|
|
2206
2206
|
if (!(other instanceof Document))
|
|
2207
2207
|
return false;
|
|
2208
|
-
if (!equals(this.
|
|
2208
|
+
if (!equals(this.z4j_1, other.z4j_1))
|
|
2209
2209
|
return false;
|
|
2210
2210
|
return true;
|
|
2211
2211
|
};
|
|
@@ -2214,19 +2214,19 @@ function TypeDefinition() {
|
|
|
2214
2214
|
function ImplementingTypeDefinition() {
|
|
2215
2215
|
}
|
|
2216
2216
|
function SchemaDefinition(description, directives, operationTypes, extension) {
|
|
2217
|
-
this.
|
|
2218
|
-
this.
|
|
2219
|
-
this.
|
|
2220
|
-
this.
|
|
2217
|
+
this.b4j_1 = description;
|
|
2218
|
+
this.c4j_1 = directives;
|
|
2219
|
+
this.d4j_1 = operationTypes;
|
|
2220
|
+
this.e4j_1 = extension;
|
|
2221
2221
|
}
|
|
2222
2222
|
protoOf(SchemaDefinition).toString = function () {
|
|
2223
|
-
return 'SchemaDefinition(description=' + this.
|
|
2223
|
+
return 'SchemaDefinition(description=' + this.b4j_1 + ', directives=' + toString_0(this.c4j_1) + ', operationTypes=' + toString_0(this.d4j_1) + ', extension=' + this.e4j_1 + ')';
|
|
2224
2224
|
};
|
|
2225
2225
|
protoOf(SchemaDefinition).hashCode = function () {
|
|
2226
|
-
var result = this.
|
|
2227
|
-
result = imul(result, 31) + hashCode(this.
|
|
2228
|
-
result = imul(result, 31) + hashCode(this.
|
|
2229
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
2226
|
+
var result = this.b4j_1 == null ? 0 : getStringHashCode(this.b4j_1);
|
|
2227
|
+
result = imul(result, 31) + hashCode(this.c4j_1) | 0;
|
|
2228
|
+
result = imul(result, 31) + hashCode(this.d4j_1) | 0;
|
|
2229
|
+
result = imul(result, 31) + getBooleanHashCode(this.e4j_1) | 0;
|
|
2230
2230
|
return result;
|
|
2231
2231
|
};
|
|
2232
2232
|
protoOf(SchemaDefinition).equals = function (other) {
|
|
@@ -2234,26 +2234,26 @@ protoOf(SchemaDefinition).equals = function (other) {
|
|
|
2234
2234
|
return true;
|
|
2235
2235
|
if (!(other instanceof SchemaDefinition))
|
|
2236
2236
|
return false;
|
|
2237
|
-
if (!(this.
|
|
2237
|
+
if (!(this.b4j_1 == other.b4j_1))
|
|
2238
2238
|
return false;
|
|
2239
|
-
if (!equals(this.
|
|
2239
|
+
if (!equals(this.c4j_1, other.c4j_1))
|
|
2240
2240
|
return false;
|
|
2241
|
-
if (!equals(this.
|
|
2241
|
+
if (!equals(this.d4j_1, other.d4j_1))
|
|
2242
2242
|
return false;
|
|
2243
|
-
if (!(this.
|
|
2243
|
+
if (!(this.e4j_1 === other.e4j_1))
|
|
2244
2244
|
return false;
|
|
2245
2245
|
return true;
|
|
2246
2246
|
};
|
|
2247
2247
|
function OperationTypeDefinition(operation, type) {
|
|
2248
|
-
this.
|
|
2249
|
-
this.
|
|
2248
|
+
this.s4j_1 = operation;
|
|
2249
|
+
this.t4j_1 = type;
|
|
2250
2250
|
}
|
|
2251
2251
|
protoOf(OperationTypeDefinition).toString = function () {
|
|
2252
|
-
return 'OperationTypeDefinition(operation=' + this.
|
|
2252
|
+
return 'OperationTypeDefinition(operation=' + this.s4j_1.toString() + ', type=' + this.t4j_1 + ')';
|
|
2253
2253
|
};
|
|
2254
2254
|
protoOf(OperationTypeDefinition).hashCode = function () {
|
|
2255
|
-
var result = this.
|
|
2256
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
2255
|
+
var result = this.s4j_1.hashCode();
|
|
2256
|
+
result = imul(result, 31) + getStringHashCode(this.t4j_1) | 0;
|
|
2257
2257
|
return result;
|
|
2258
2258
|
};
|
|
2259
2259
|
protoOf(OperationTypeDefinition).equals = function (other) {
|
|
@@ -2261,18 +2261,18 @@ protoOf(OperationTypeDefinition).equals = function (other) {
|
|
|
2261
2261
|
return true;
|
|
2262
2262
|
if (!(other instanceof OperationTypeDefinition))
|
|
2263
2263
|
return false;
|
|
2264
|
-
if (!this.
|
|
2264
|
+
if (!this.s4j_1.equals(other.s4j_1))
|
|
2265
2265
|
return false;
|
|
2266
|
-
if (!(this.
|
|
2266
|
+
if (!(this.t4j_1 === other.t4j_1))
|
|
2267
2267
|
return false;
|
|
2268
2268
|
return true;
|
|
2269
2269
|
};
|
|
2270
2270
|
function Operation(name, ordinal, keyword) {
|
|
2271
2271
|
Enum.call(this, name, ordinal);
|
|
2272
|
-
this.
|
|
2272
|
+
this.s4g_1 = keyword;
|
|
2273
2273
|
var tmp = this;
|
|
2274
2274
|
// Inline function 'kotlin.text.replaceFirstChar' call
|
|
2275
|
-
var this_0 = this.
|
|
2275
|
+
var this_0 = this.s4g_1;
|
|
2276
2276
|
var tmp_0;
|
|
2277
2277
|
// Inline function 'kotlin.text.isNotEmpty' call
|
|
2278
2278
|
if (charSequenceLength(this_0) > 0) {
|
|
@@ -2285,28 +2285,28 @@ function Operation(name, ordinal, keyword) {
|
|
|
2285
2285
|
} else {
|
|
2286
2286
|
tmp_0 = this_0;
|
|
2287
2287
|
}
|
|
2288
|
-
tmp.
|
|
2288
|
+
tmp.t4g_1 = tmp_0;
|
|
2289
2289
|
}
|
|
2290
2290
|
function ScalarTypeDefinition(description, name, directives, extension) {
|
|
2291
|
-
this.
|
|
2292
|
-
this.
|
|
2293
|
-
this.
|
|
2294
|
-
this.
|
|
2291
|
+
this.y4g_1 = description;
|
|
2292
|
+
this.z4g_1 = name;
|
|
2293
|
+
this.a4h_1 = directives;
|
|
2294
|
+
this.b4h_1 = extension;
|
|
2295
2295
|
}
|
|
2296
2296
|
protoOf(ScalarTypeDefinition).m = function () {
|
|
2297
|
-
return this.
|
|
2297
|
+
return this.z4g_1;
|
|
2298
2298
|
};
|
|
2299
2299
|
protoOf(ScalarTypeDefinition).wp = function () {
|
|
2300
|
-
return this.
|
|
2300
|
+
return this.b4h_1;
|
|
2301
2301
|
};
|
|
2302
2302
|
protoOf(ScalarTypeDefinition).toString = function () {
|
|
2303
|
-
return 'ScalarTypeDefinition(description=' + this.
|
|
2303
|
+
return 'ScalarTypeDefinition(description=' + this.y4g_1 + ', name=' + this.z4g_1 + ', directives=' + toString_0(this.a4h_1) + ', extension=' + this.b4h_1 + ')';
|
|
2304
2304
|
};
|
|
2305
2305
|
protoOf(ScalarTypeDefinition).hashCode = function () {
|
|
2306
|
-
var result = this.
|
|
2307
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
2308
|
-
result = imul(result, 31) + hashCode(this.
|
|
2309
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
2306
|
+
var result = this.y4g_1 == null ? 0 : getStringHashCode(this.y4g_1);
|
|
2307
|
+
result = imul(result, 31) + getStringHashCode(this.z4g_1) | 0;
|
|
2308
|
+
result = imul(result, 31) + hashCode(this.a4h_1) | 0;
|
|
2309
|
+
result = imul(result, 31) + getBooleanHashCode(this.b4h_1) | 0;
|
|
2310
2310
|
return result;
|
|
2311
2311
|
};
|
|
2312
2312
|
protoOf(ScalarTypeDefinition).equals = function (other) {
|
|
@@ -2314,49 +2314,49 @@ protoOf(ScalarTypeDefinition).equals = function (other) {
|
|
|
2314
2314
|
return true;
|
|
2315
2315
|
if (!(other instanceof ScalarTypeDefinition))
|
|
2316
2316
|
return false;
|
|
2317
|
-
if (!(this.
|
|
2317
|
+
if (!(this.y4g_1 == other.y4g_1))
|
|
2318
2318
|
return false;
|
|
2319
|
-
if (!(this.
|
|
2319
|
+
if (!(this.z4g_1 === other.z4g_1))
|
|
2320
2320
|
return false;
|
|
2321
|
-
if (!equals(this.
|
|
2321
|
+
if (!equals(this.a4h_1, other.a4h_1))
|
|
2322
2322
|
return false;
|
|
2323
|
-
if (!(this.
|
|
2323
|
+
if (!(this.b4h_1 === other.b4h_1))
|
|
2324
2324
|
return false;
|
|
2325
2325
|
return true;
|
|
2326
2326
|
};
|
|
2327
2327
|
function ObjectTypeDefinition(description, name, interfaces, directives, fields, extension) {
|
|
2328
|
-
this.
|
|
2329
|
-
this.
|
|
2330
|
-
this.
|
|
2331
|
-
this.
|
|
2332
|
-
this.
|
|
2333
|
-
this.
|
|
2328
|
+
this.c4h_1 = description;
|
|
2329
|
+
this.d4h_1 = name;
|
|
2330
|
+
this.e4h_1 = interfaces;
|
|
2331
|
+
this.f4h_1 = directives;
|
|
2332
|
+
this.g4h_1 = fields;
|
|
2333
|
+
this.h4h_1 = extension;
|
|
2334
2334
|
}
|
|
2335
2335
|
protoOf(ObjectTypeDefinition).m = function () {
|
|
2336
|
-
return this.
|
|
2336
|
+
return this.d4h_1;
|
|
2337
2337
|
};
|
|
2338
|
-
protoOf(ObjectTypeDefinition).
|
|
2339
|
-
return this.
|
|
2338
|
+
protoOf(ObjectTypeDefinition).d4l = function () {
|
|
2339
|
+
return this.e4h_1;
|
|
2340
2340
|
};
|
|
2341
|
-
protoOf(ObjectTypeDefinition).
|
|
2342
|
-
return this.
|
|
2341
|
+
protoOf(ObjectTypeDefinition).e4l = function () {
|
|
2342
|
+
return this.f4h_1;
|
|
2343
2343
|
};
|
|
2344
|
-
protoOf(ObjectTypeDefinition).
|
|
2345
|
-
return this.
|
|
2344
|
+
protoOf(ObjectTypeDefinition).y1f = function () {
|
|
2345
|
+
return this.g4h_1;
|
|
2346
2346
|
};
|
|
2347
2347
|
protoOf(ObjectTypeDefinition).wp = function () {
|
|
2348
|
-
return this.
|
|
2348
|
+
return this.h4h_1;
|
|
2349
2349
|
};
|
|
2350
2350
|
protoOf(ObjectTypeDefinition).toString = function () {
|
|
2351
|
-
return 'ObjectTypeDefinition(description=' + this.
|
|
2351
|
+
return 'ObjectTypeDefinition(description=' + this.c4h_1 + ', name=' + this.d4h_1 + ', interfaces=' + toString_0(this.e4h_1) + ', directives=' + toString_0(this.f4h_1) + ', fields=' + toString_0(this.g4h_1) + ', extension=' + this.h4h_1 + ')';
|
|
2352
2352
|
};
|
|
2353
2353
|
protoOf(ObjectTypeDefinition).hashCode = function () {
|
|
2354
|
-
var result = this.
|
|
2355
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
2356
|
-
result = imul(result, 31) + hashCode(this.
|
|
2357
|
-
result = imul(result, 31) + hashCode(this.
|
|
2358
|
-
result = imul(result, 31) + hashCode(this.
|
|
2359
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
2354
|
+
var result = this.c4h_1 == null ? 0 : getStringHashCode(this.c4h_1);
|
|
2355
|
+
result = imul(result, 31) + getStringHashCode(this.d4h_1) | 0;
|
|
2356
|
+
result = imul(result, 31) + hashCode(this.e4h_1) | 0;
|
|
2357
|
+
result = imul(result, 31) + hashCode(this.f4h_1) | 0;
|
|
2358
|
+
result = imul(result, 31) + hashCode(this.g4h_1) | 0;
|
|
2359
|
+
result = imul(result, 31) + getBooleanHashCode(this.h4h_1) | 0;
|
|
2360
2360
|
return result;
|
|
2361
2361
|
};
|
|
2362
2362
|
protoOf(ObjectTypeDefinition).equals = function (other) {
|
|
@@ -2364,53 +2364,53 @@ protoOf(ObjectTypeDefinition).equals = function (other) {
|
|
|
2364
2364
|
return true;
|
|
2365
2365
|
if (!(other instanceof ObjectTypeDefinition))
|
|
2366
2366
|
return false;
|
|
2367
|
-
if (!(this.
|
|
2367
|
+
if (!(this.c4h_1 == other.c4h_1))
|
|
2368
2368
|
return false;
|
|
2369
|
-
if (!(this.
|
|
2369
|
+
if (!(this.d4h_1 === other.d4h_1))
|
|
2370
2370
|
return false;
|
|
2371
|
-
if (!equals(this.
|
|
2371
|
+
if (!equals(this.e4h_1, other.e4h_1))
|
|
2372
2372
|
return false;
|
|
2373
|
-
if (!equals(this.
|
|
2373
|
+
if (!equals(this.f4h_1, other.f4h_1))
|
|
2374
2374
|
return false;
|
|
2375
|
-
if (!equals(this.
|
|
2375
|
+
if (!equals(this.g4h_1, other.g4h_1))
|
|
2376
2376
|
return false;
|
|
2377
|
-
if (!(this.
|
|
2377
|
+
if (!(this.h4h_1 === other.h4h_1))
|
|
2378
2378
|
return false;
|
|
2379
2379
|
return true;
|
|
2380
2380
|
};
|
|
2381
2381
|
function InterfaceTypeDefinition(description, name, interfaces, directives, fields, extension) {
|
|
2382
|
-
this.
|
|
2383
|
-
this.
|
|
2384
|
-
this.
|
|
2385
|
-
this.
|
|
2386
|
-
this.
|
|
2387
|
-
this.
|
|
2382
|
+
this.i4h_1 = description;
|
|
2383
|
+
this.j4h_1 = name;
|
|
2384
|
+
this.k4h_1 = interfaces;
|
|
2385
|
+
this.l4h_1 = directives;
|
|
2386
|
+
this.m4h_1 = fields;
|
|
2387
|
+
this.n4h_1 = extension;
|
|
2388
2388
|
}
|
|
2389
2389
|
protoOf(InterfaceTypeDefinition).m = function () {
|
|
2390
|
-
return this.
|
|
2390
|
+
return this.j4h_1;
|
|
2391
2391
|
};
|
|
2392
|
-
protoOf(InterfaceTypeDefinition).
|
|
2393
|
-
return this.
|
|
2392
|
+
protoOf(InterfaceTypeDefinition).d4l = function () {
|
|
2393
|
+
return this.k4h_1;
|
|
2394
2394
|
};
|
|
2395
|
-
protoOf(InterfaceTypeDefinition).
|
|
2396
|
-
return this.
|
|
2395
|
+
protoOf(InterfaceTypeDefinition).e4l = function () {
|
|
2396
|
+
return this.l4h_1;
|
|
2397
2397
|
};
|
|
2398
|
-
protoOf(InterfaceTypeDefinition).
|
|
2399
|
-
return this.
|
|
2398
|
+
protoOf(InterfaceTypeDefinition).y1f = function () {
|
|
2399
|
+
return this.m4h_1;
|
|
2400
2400
|
};
|
|
2401
2401
|
protoOf(InterfaceTypeDefinition).wp = function () {
|
|
2402
|
-
return this.
|
|
2402
|
+
return this.n4h_1;
|
|
2403
2403
|
};
|
|
2404
2404
|
protoOf(InterfaceTypeDefinition).toString = function () {
|
|
2405
|
-
return 'InterfaceTypeDefinition(description=' + this.
|
|
2405
|
+
return 'InterfaceTypeDefinition(description=' + this.i4h_1 + ', name=' + this.j4h_1 + ', interfaces=' + toString_0(this.k4h_1) + ', directives=' + toString_0(this.l4h_1) + ', fields=' + toString_0(this.m4h_1) + ', extension=' + this.n4h_1 + ')';
|
|
2406
2406
|
};
|
|
2407
2407
|
protoOf(InterfaceTypeDefinition).hashCode = function () {
|
|
2408
|
-
var result = this.
|
|
2409
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
2410
|
-
result = imul(result, 31) + hashCode(this.
|
|
2411
|
-
result = imul(result, 31) + hashCode(this.
|
|
2412
|
-
result = imul(result, 31) + hashCode(this.
|
|
2413
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
2408
|
+
var result = this.i4h_1 == null ? 0 : getStringHashCode(this.i4h_1);
|
|
2409
|
+
result = imul(result, 31) + getStringHashCode(this.j4h_1) | 0;
|
|
2410
|
+
result = imul(result, 31) + hashCode(this.k4h_1) | 0;
|
|
2411
|
+
result = imul(result, 31) + hashCode(this.l4h_1) | 0;
|
|
2412
|
+
result = imul(result, 31) + hashCode(this.m4h_1) | 0;
|
|
2413
|
+
result = imul(result, 31) + getBooleanHashCode(this.n4h_1) | 0;
|
|
2414
2414
|
return result;
|
|
2415
2415
|
};
|
|
2416
2416
|
protoOf(InterfaceTypeDefinition).equals = function (other) {
|
|
@@ -2418,42 +2418,42 @@ protoOf(InterfaceTypeDefinition).equals = function (other) {
|
|
|
2418
2418
|
return true;
|
|
2419
2419
|
if (!(other instanceof InterfaceTypeDefinition))
|
|
2420
2420
|
return false;
|
|
2421
|
-
if (!(this.
|
|
2421
|
+
if (!(this.i4h_1 == other.i4h_1))
|
|
2422
2422
|
return false;
|
|
2423
|
-
if (!(this.
|
|
2423
|
+
if (!(this.j4h_1 === other.j4h_1))
|
|
2424
2424
|
return false;
|
|
2425
|
-
if (!equals(this.
|
|
2425
|
+
if (!equals(this.k4h_1, other.k4h_1))
|
|
2426
2426
|
return false;
|
|
2427
|
-
if (!equals(this.
|
|
2427
|
+
if (!equals(this.l4h_1, other.l4h_1))
|
|
2428
2428
|
return false;
|
|
2429
|
-
if (!equals(this.
|
|
2429
|
+
if (!equals(this.m4h_1, other.m4h_1))
|
|
2430
2430
|
return false;
|
|
2431
|
-
if (!(this.
|
|
2431
|
+
if (!(this.n4h_1 === other.n4h_1))
|
|
2432
2432
|
return false;
|
|
2433
2433
|
return true;
|
|
2434
2434
|
};
|
|
2435
2435
|
function UnionTypeDefinition(description, name, directives, members, extension) {
|
|
2436
|
-
this.
|
|
2437
|
-
this.
|
|
2438
|
-
this.
|
|
2439
|
-
this.
|
|
2440
|
-
this.
|
|
2436
|
+
this.o4h_1 = description;
|
|
2437
|
+
this.p4h_1 = name;
|
|
2438
|
+
this.q4h_1 = directives;
|
|
2439
|
+
this.r4h_1 = members;
|
|
2440
|
+
this.s4h_1 = extension;
|
|
2441
2441
|
}
|
|
2442
2442
|
protoOf(UnionTypeDefinition).m = function () {
|
|
2443
|
-
return this.
|
|
2443
|
+
return this.p4h_1;
|
|
2444
2444
|
};
|
|
2445
2445
|
protoOf(UnionTypeDefinition).wp = function () {
|
|
2446
|
-
return this.
|
|
2446
|
+
return this.s4h_1;
|
|
2447
2447
|
};
|
|
2448
2448
|
protoOf(UnionTypeDefinition).toString = function () {
|
|
2449
|
-
return 'UnionTypeDefinition(description=' + this.
|
|
2449
|
+
return 'UnionTypeDefinition(description=' + this.o4h_1 + ', name=' + this.p4h_1 + ', directives=' + toString_0(this.q4h_1) + ', members=' + toString_0(this.r4h_1) + ', extension=' + this.s4h_1 + ')';
|
|
2450
2450
|
};
|
|
2451
2451
|
protoOf(UnionTypeDefinition).hashCode = function () {
|
|
2452
|
-
var result = this.
|
|
2453
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
2454
|
-
result = imul(result, 31) + hashCode(this.
|
|
2455
|
-
result = imul(result, 31) + hashCode(this.
|
|
2456
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
2452
|
+
var result = this.o4h_1 == null ? 0 : getStringHashCode(this.o4h_1);
|
|
2453
|
+
result = imul(result, 31) + getStringHashCode(this.p4h_1) | 0;
|
|
2454
|
+
result = imul(result, 31) + hashCode(this.q4h_1) | 0;
|
|
2455
|
+
result = imul(result, 31) + hashCode(this.r4h_1) | 0;
|
|
2456
|
+
result = imul(result, 31) + getBooleanHashCode(this.s4h_1) | 0;
|
|
2457
2457
|
return result;
|
|
2458
2458
|
};
|
|
2459
2459
|
protoOf(UnionTypeDefinition).equals = function (other) {
|
|
@@ -2461,40 +2461,40 @@ protoOf(UnionTypeDefinition).equals = function (other) {
|
|
|
2461
2461
|
return true;
|
|
2462
2462
|
if (!(other instanceof UnionTypeDefinition))
|
|
2463
2463
|
return false;
|
|
2464
|
-
if (!(this.
|
|
2464
|
+
if (!(this.o4h_1 == other.o4h_1))
|
|
2465
2465
|
return false;
|
|
2466
|
-
if (!(this.
|
|
2466
|
+
if (!(this.p4h_1 === other.p4h_1))
|
|
2467
2467
|
return false;
|
|
2468
|
-
if (!equals(this.
|
|
2468
|
+
if (!equals(this.q4h_1, other.q4h_1))
|
|
2469
2469
|
return false;
|
|
2470
|
-
if (!equals(this.
|
|
2470
|
+
if (!equals(this.r4h_1, other.r4h_1))
|
|
2471
2471
|
return false;
|
|
2472
|
-
if (!(this.
|
|
2472
|
+
if (!(this.s4h_1 === other.s4h_1))
|
|
2473
2473
|
return false;
|
|
2474
2474
|
return true;
|
|
2475
2475
|
};
|
|
2476
2476
|
function EnumTypeDefinition(description, name, directives, values, extension) {
|
|
2477
|
-
this.
|
|
2478
|
-
this.
|
|
2479
|
-
this.
|
|
2480
|
-
this.
|
|
2481
|
-
this.
|
|
2477
|
+
this.t4h_1 = description;
|
|
2478
|
+
this.u4h_1 = name;
|
|
2479
|
+
this.v4h_1 = directives;
|
|
2480
|
+
this.w4h_1 = values;
|
|
2481
|
+
this.x4h_1 = extension;
|
|
2482
2482
|
}
|
|
2483
2483
|
protoOf(EnumTypeDefinition).m = function () {
|
|
2484
|
-
return this.
|
|
2484
|
+
return this.u4h_1;
|
|
2485
2485
|
};
|
|
2486
2486
|
protoOf(EnumTypeDefinition).wp = function () {
|
|
2487
|
-
return this.
|
|
2487
|
+
return this.x4h_1;
|
|
2488
2488
|
};
|
|
2489
2489
|
protoOf(EnumTypeDefinition).toString = function () {
|
|
2490
|
-
return 'EnumTypeDefinition(description=' + this.
|
|
2490
|
+
return 'EnumTypeDefinition(description=' + this.t4h_1 + ', name=' + this.u4h_1 + ', directives=' + toString_0(this.v4h_1) + ', values=' + toString_0(this.w4h_1) + ', extension=' + this.x4h_1 + ')';
|
|
2491
2491
|
};
|
|
2492
2492
|
protoOf(EnumTypeDefinition).hashCode = function () {
|
|
2493
|
-
var result = this.
|
|
2494
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
2495
|
-
result = imul(result, 31) + hashCode(this.
|
|
2496
|
-
result = imul(result, 31) + hashCode(this.
|
|
2497
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
2493
|
+
var result = this.t4h_1 == null ? 0 : getStringHashCode(this.t4h_1);
|
|
2494
|
+
result = imul(result, 31) + getStringHashCode(this.u4h_1) | 0;
|
|
2495
|
+
result = imul(result, 31) + hashCode(this.v4h_1) | 0;
|
|
2496
|
+
result = imul(result, 31) + hashCode(this.w4h_1) | 0;
|
|
2497
|
+
result = imul(result, 31) + getBooleanHashCode(this.x4h_1) | 0;
|
|
2498
2498
|
return result;
|
|
2499
2499
|
};
|
|
2500
2500
|
protoOf(EnumTypeDefinition).equals = function (other) {
|
|
@@ -2502,40 +2502,40 @@ protoOf(EnumTypeDefinition).equals = function (other) {
|
|
|
2502
2502
|
return true;
|
|
2503
2503
|
if (!(other instanceof EnumTypeDefinition))
|
|
2504
2504
|
return false;
|
|
2505
|
-
if (!(this.
|
|
2505
|
+
if (!(this.t4h_1 == other.t4h_1))
|
|
2506
2506
|
return false;
|
|
2507
|
-
if (!(this.
|
|
2507
|
+
if (!(this.u4h_1 === other.u4h_1))
|
|
2508
2508
|
return false;
|
|
2509
|
-
if (!equals(this.
|
|
2509
|
+
if (!equals(this.v4h_1, other.v4h_1))
|
|
2510
2510
|
return false;
|
|
2511
|
-
if (!equals(this.
|
|
2511
|
+
if (!equals(this.w4h_1, other.w4h_1))
|
|
2512
2512
|
return false;
|
|
2513
|
-
if (!(this.
|
|
2513
|
+
if (!(this.x4h_1 === other.x4h_1))
|
|
2514
2514
|
return false;
|
|
2515
2515
|
return true;
|
|
2516
2516
|
};
|
|
2517
2517
|
function InputObjectTypeDefinition(description, name, directives, fields, extension) {
|
|
2518
|
-
this.
|
|
2519
|
-
this.
|
|
2520
|
-
this.
|
|
2521
|
-
this.
|
|
2522
|
-
this.
|
|
2518
|
+
this.y4h_1 = description;
|
|
2519
|
+
this.z4h_1 = name;
|
|
2520
|
+
this.a4i_1 = directives;
|
|
2521
|
+
this.b4i_1 = fields;
|
|
2522
|
+
this.c4i_1 = extension;
|
|
2523
2523
|
}
|
|
2524
2524
|
protoOf(InputObjectTypeDefinition).m = function () {
|
|
2525
|
-
return this.
|
|
2525
|
+
return this.z4h_1;
|
|
2526
2526
|
};
|
|
2527
2527
|
protoOf(InputObjectTypeDefinition).wp = function () {
|
|
2528
|
-
return this.
|
|
2528
|
+
return this.c4i_1;
|
|
2529
2529
|
};
|
|
2530
2530
|
protoOf(InputObjectTypeDefinition).toString = function () {
|
|
2531
|
-
return 'InputObjectTypeDefinition(description=' + this.
|
|
2531
|
+
return 'InputObjectTypeDefinition(description=' + this.y4h_1 + ', name=' + this.z4h_1 + ', directives=' + toString_0(this.a4i_1) + ', fields=' + toString_0(this.b4i_1) + ', extension=' + this.c4i_1 + ')';
|
|
2532
2532
|
};
|
|
2533
2533
|
protoOf(InputObjectTypeDefinition).hashCode = function () {
|
|
2534
|
-
var result = this.
|
|
2535
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
2536
|
-
result = imul(result, 31) + hashCode(this.
|
|
2537
|
-
result = imul(result, 31) + hashCode(this.
|
|
2538
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
2534
|
+
var result = this.y4h_1 == null ? 0 : getStringHashCode(this.y4h_1);
|
|
2535
|
+
result = imul(result, 31) + getStringHashCode(this.z4h_1) | 0;
|
|
2536
|
+
result = imul(result, 31) + hashCode(this.a4i_1) | 0;
|
|
2537
|
+
result = imul(result, 31) + hashCode(this.b4i_1) | 0;
|
|
2538
|
+
result = imul(result, 31) + getBooleanHashCode(this.c4i_1) | 0;
|
|
2539
2539
|
return result;
|
|
2540
2540
|
};
|
|
2541
2541
|
protoOf(InputObjectTypeDefinition).equals = function (other) {
|
|
@@ -2543,34 +2543,34 @@ protoOf(InputObjectTypeDefinition).equals = function (other) {
|
|
|
2543
2543
|
return true;
|
|
2544
2544
|
if (!(other instanceof InputObjectTypeDefinition))
|
|
2545
2545
|
return false;
|
|
2546
|
-
if (!(this.
|
|
2546
|
+
if (!(this.y4h_1 == other.y4h_1))
|
|
2547
2547
|
return false;
|
|
2548
|
-
if (!(this.
|
|
2548
|
+
if (!(this.z4h_1 === other.z4h_1))
|
|
2549
2549
|
return false;
|
|
2550
|
-
if (!equals(this.
|
|
2550
|
+
if (!equals(this.a4i_1, other.a4i_1))
|
|
2551
2551
|
return false;
|
|
2552
|
-
if (!equals(this.
|
|
2552
|
+
if (!equals(this.b4i_1, other.b4i_1))
|
|
2553
2553
|
return false;
|
|
2554
|
-
if (!(this.
|
|
2554
|
+
if (!(this.c4i_1 === other.c4i_1))
|
|
2555
2555
|
return false;
|
|
2556
2556
|
return true;
|
|
2557
2557
|
};
|
|
2558
2558
|
function DirectiveDefinition(description, name, arguments_0, repeatable, locations) {
|
|
2559
|
-
this.
|
|
2560
|
-
this.
|
|
2561
|
-
this.
|
|
2562
|
-
this.
|
|
2563
|
-
this.
|
|
2559
|
+
this.w4i_1 = description;
|
|
2560
|
+
this.x4i_1 = name;
|
|
2561
|
+
this.y4i_1 = arguments_0;
|
|
2562
|
+
this.z4i_1 = repeatable;
|
|
2563
|
+
this.a4j_1 = locations;
|
|
2564
2564
|
}
|
|
2565
2565
|
protoOf(DirectiveDefinition).toString = function () {
|
|
2566
|
-
return 'DirectiveDefinition(description=' + this.
|
|
2566
|
+
return 'DirectiveDefinition(description=' + this.w4i_1 + ', name=' + this.x4i_1 + ', arguments=' + toString_0(this.y4i_1) + ', repeatable=' + this.z4i_1 + ', locations=' + toString_0(this.a4j_1) + ')';
|
|
2567
2567
|
};
|
|
2568
2568
|
protoOf(DirectiveDefinition).hashCode = function () {
|
|
2569
|
-
var result = this.
|
|
2570
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
2571
|
-
result = imul(result, 31) + hashCode(this.
|
|
2572
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
2573
|
-
result = imul(result, 31) + hashCode(this.
|
|
2569
|
+
var result = this.w4i_1 == null ? 0 : getStringHashCode(this.w4i_1);
|
|
2570
|
+
result = imul(result, 31) + getStringHashCode(this.x4i_1) | 0;
|
|
2571
|
+
result = imul(result, 31) + hashCode(this.y4i_1) | 0;
|
|
2572
|
+
result = imul(result, 31) + getBooleanHashCode(this.z4i_1) | 0;
|
|
2573
|
+
result = imul(result, 31) + hashCode(this.a4j_1) | 0;
|
|
2574
2574
|
return result;
|
|
2575
2575
|
};
|
|
2576
2576
|
protoOf(DirectiveDefinition).equals = function (other) {
|
|
@@ -2578,34 +2578,34 @@ protoOf(DirectiveDefinition).equals = function (other) {
|
|
|
2578
2578
|
return true;
|
|
2579
2579
|
if (!(other instanceof DirectiveDefinition))
|
|
2580
2580
|
return false;
|
|
2581
|
-
if (!(this.
|
|
2581
|
+
if (!(this.w4i_1 == other.w4i_1))
|
|
2582
2582
|
return false;
|
|
2583
|
-
if (!(this.
|
|
2583
|
+
if (!(this.x4i_1 === other.x4i_1))
|
|
2584
2584
|
return false;
|
|
2585
|
-
if (!equals(this.
|
|
2585
|
+
if (!equals(this.y4i_1, other.y4i_1))
|
|
2586
2586
|
return false;
|
|
2587
|
-
if (!(this.
|
|
2587
|
+
if (!(this.z4i_1 === other.z4i_1))
|
|
2588
2588
|
return false;
|
|
2589
|
-
if (!equals(this.
|
|
2589
|
+
if (!equals(this.a4j_1, other.a4j_1))
|
|
2590
2590
|
return false;
|
|
2591
2591
|
return true;
|
|
2592
2592
|
};
|
|
2593
2593
|
function FieldDefinition(description, name, arguments_0, type, directives) {
|
|
2594
|
-
this.
|
|
2595
|
-
this.
|
|
2596
|
-
this.
|
|
2597
|
-
this.
|
|
2598
|
-
this.
|
|
2594
|
+
this.f4j_1 = description;
|
|
2595
|
+
this.g4j_1 = name;
|
|
2596
|
+
this.h4j_1 = arguments_0;
|
|
2597
|
+
this.i4j_1 = type;
|
|
2598
|
+
this.j4j_1 = directives;
|
|
2599
2599
|
}
|
|
2600
2600
|
protoOf(FieldDefinition).toString = function () {
|
|
2601
|
-
return 'FieldDefinition(description=' + this.
|
|
2601
|
+
return 'FieldDefinition(description=' + this.f4j_1 + ', name=' + this.g4j_1 + ', arguments=' + toString_0(this.h4j_1) + ', type=' + toString_0(this.i4j_1) + ', directives=' + toString_0(this.j4j_1) + ')';
|
|
2602
2602
|
};
|
|
2603
2603
|
protoOf(FieldDefinition).hashCode = function () {
|
|
2604
|
-
var result = this.
|
|
2605
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
2606
|
-
result = imul(result, 31) + hashCode(this.
|
|
2607
|
-
result = imul(result, 31) + hashCode(this.
|
|
2608
|
-
result = imul(result, 31) + hashCode(this.
|
|
2604
|
+
var result = this.f4j_1 == null ? 0 : getStringHashCode(this.f4j_1);
|
|
2605
|
+
result = imul(result, 31) + getStringHashCode(this.g4j_1) | 0;
|
|
2606
|
+
result = imul(result, 31) + hashCode(this.h4j_1) | 0;
|
|
2607
|
+
result = imul(result, 31) + hashCode(this.i4j_1) | 0;
|
|
2608
|
+
result = imul(result, 31) + hashCode(this.j4j_1) | 0;
|
|
2609
2609
|
return result;
|
|
2610
2610
|
};
|
|
2611
2611
|
protoOf(FieldDefinition).equals = function (other) {
|
|
@@ -2613,34 +2613,34 @@ protoOf(FieldDefinition).equals = function (other) {
|
|
|
2613
2613
|
return true;
|
|
2614
2614
|
if (!(other instanceof FieldDefinition))
|
|
2615
2615
|
return false;
|
|
2616
|
-
if (!(this.
|
|
2616
|
+
if (!(this.f4j_1 == other.f4j_1))
|
|
2617
2617
|
return false;
|
|
2618
|
-
if (!(this.
|
|
2618
|
+
if (!(this.g4j_1 === other.g4j_1))
|
|
2619
2619
|
return false;
|
|
2620
|
-
if (!equals(this.
|
|
2620
|
+
if (!equals(this.h4j_1, other.h4j_1))
|
|
2621
2621
|
return false;
|
|
2622
|
-
if (!equals(this.
|
|
2622
|
+
if (!equals(this.i4j_1, other.i4j_1))
|
|
2623
2623
|
return false;
|
|
2624
|
-
if (!equals(this.
|
|
2624
|
+
if (!equals(this.j4j_1, other.j4j_1))
|
|
2625
2625
|
return false;
|
|
2626
2626
|
return true;
|
|
2627
2627
|
};
|
|
2628
2628
|
function InputValueDefinition(description, name, type, defaultValue, directives) {
|
|
2629
|
-
this.
|
|
2630
|
-
this.
|
|
2631
|
-
this.
|
|
2632
|
-
this.
|
|
2633
|
-
this.
|
|
2629
|
+
this.l4j_1 = description;
|
|
2630
|
+
this.m4j_1 = name;
|
|
2631
|
+
this.n4j_1 = type;
|
|
2632
|
+
this.o4j_1 = defaultValue;
|
|
2633
|
+
this.p4j_1 = directives;
|
|
2634
2634
|
}
|
|
2635
2635
|
protoOf(InputValueDefinition).toString = function () {
|
|
2636
|
-
return 'InputValueDefinition(description=' + this.
|
|
2636
|
+
return 'InputValueDefinition(description=' + this.l4j_1 + ', name=' + this.m4j_1 + ', type=' + toString_0(this.n4j_1) + ', defaultValue=' + toString_2(this.o4j_1) + ', directives=' + toString_0(this.p4j_1) + ')';
|
|
2637
2637
|
};
|
|
2638
2638
|
protoOf(InputValueDefinition).hashCode = function () {
|
|
2639
|
-
var result = this.
|
|
2640
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
2641
|
-
result = imul(result, 31) + hashCode(this.
|
|
2642
|
-
result = imul(result, 31) + (this.
|
|
2643
|
-
result = imul(result, 31) + hashCode(this.
|
|
2639
|
+
var result = this.l4j_1 == null ? 0 : getStringHashCode(this.l4j_1);
|
|
2640
|
+
result = imul(result, 31) + getStringHashCode(this.m4j_1) | 0;
|
|
2641
|
+
result = imul(result, 31) + hashCode(this.n4j_1) | 0;
|
|
2642
|
+
result = imul(result, 31) + (this.o4j_1 == null ? 0 : hashCode(this.o4j_1)) | 0;
|
|
2643
|
+
result = imul(result, 31) + hashCode(this.p4j_1) | 0;
|
|
2644
2644
|
return result;
|
|
2645
2645
|
};
|
|
2646
2646
|
protoOf(InputValueDefinition).equals = function (other) {
|
|
@@ -2648,30 +2648,30 @@ protoOf(InputValueDefinition).equals = function (other) {
|
|
|
2648
2648
|
return true;
|
|
2649
2649
|
if (!(other instanceof InputValueDefinition))
|
|
2650
2650
|
return false;
|
|
2651
|
-
if (!(this.
|
|
2651
|
+
if (!(this.l4j_1 == other.l4j_1))
|
|
2652
2652
|
return false;
|
|
2653
|
-
if (!(this.
|
|
2653
|
+
if (!(this.m4j_1 === other.m4j_1))
|
|
2654
2654
|
return false;
|
|
2655
|
-
if (!equals(this.
|
|
2655
|
+
if (!equals(this.n4j_1, other.n4j_1))
|
|
2656
2656
|
return false;
|
|
2657
|
-
if (!equals(this.
|
|
2657
|
+
if (!equals(this.o4j_1, other.o4j_1))
|
|
2658
2658
|
return false;
|
|
2659
|
-
if (!equals(this.
|
|
2659
|
+
if (!equals(this.p4j_1, other.p4j_1))
|
|
2660
2660
|
return false;
|
|
2661
2661
|
return true;
|
|
2662
2662
|
};
|
|
2663
2663
|
function EnumValueDefinition(description, name, directives) {
|
|
2664
|
-
this.
|
|
2665
|
-
this.
|
|
2666
|
-
this.
|
|
2664
|
+
this.u4j_1 = description;
|
|
2665
|
+
this.v4j_1 = name;
|
|
2666
|
+
this.w4j_1 = directives;
|
|
2667
2667
|
}
|
|
2668
2668
|
protoOf(EnumValueDefinition).toString = function () {
|
|
2669
|
-
return 'EnumValueDefinition(description=' + this.
|
|
2669
|
+
return 'EnumValueDefinition(description=' + this.u4j_1 + ', name=' + this.v4j_1 + ', directives=' + toString_0(this.w4j_1) + ')';
|
|
2670
2670
|
};
|
|
2671
2671
|
protoOf(EnumValueDefinition).hashCode = function () {
|
|
2672
|
-
var result = this.
|
|
2673
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
2674
|
-
result = imul(result, 31) + hashCode(this.
|
|
2672
|
+
var result = this.u4j_1 == null ? 0 : getStringHashCode(this.u4j_1);
|
|
2673
|
+
result = imul(result, 31) + getStringHashCode(this.v4j_1) | 0;
|
|
2674
|
+
result = imul(result, 31) + hashCode(this.w4j_1) | 0;
|
|
2675
2675
|
return result;
|
|
2676
2676
|
};
|
|
2677
2677
|
protoOf(EnumValueDefinition).equals = function (other) {
|
|
@@ -2679,24 +2679,24 @@ protoOf(EnumValueDefinition).equals = function (other) {
|
|
|
2679
2679
|
return true;
|
|
2680
2680
|
if (!(other instanceof EnumValueDefinition))
|
|
2681
2681
|
return false;
|
|
2682
|
-
if (!(this.
|
|
2682
|
+
if (!(this.u4j_1 == other.u4j_1))
|
|
2683
2683
|
return false;
|
|
2684
|
-
if (!(this.
|
|
2684
|
+
if (!(this.v4j_1 === other.v4j_1))
|
|
2685
2685
|
return false;
|
|
2686
|
-
if (!equals(this.
|
|
2686
|
+
if (!equals(this.w4j_1, other.w4j_1))
|
|
2687
2687
|
return false;
|
|
2688
2688
|
return true;
|
|
2689
2689
|
};
|
|
2690
2690
|
function Directive(name, arguments_0) {
|
|
2691
|
-
this.
|
|
2692
|
-
this.
|
|
2691
|
+
this.f4l_1 = name;
|
|
2692
|
+
this.g4l_1 = arguments_0;
|
|
2693
2693
|
}
|
|
2694
2694
|
protoOf(Directive).toString = function () {
|
|
2695
|
-
return 'Directive(name=' + this.
|
|
2695
|
+
return 'Directive(name=' + this.f4l_1 + ', arguments=' + toString_0(this.g4l_1) + ')';
|
|
2696
2696
|
};
|
|
2697
2697
|
protoOf(Directive).hashCode = function () {
|
|
2698
|
-
var result = getStringHashCode(this.
|
|
2699
|
-
result = imul(result, 31) + hashCode(this.
|
|
2698
|
+
var result = getStringHashCode(this.f4l_1);
|
|
2699
|
+
result = imul(result, 31) + hashCode(this.g4l_1) | 0;
|
|
2700
2700
|
return result;
|
|
2701
2701
|
};
|
|
2702
2702
|
protoOf(Directive).equals = function (other) {
|
|
@@ -2704,22 +2704,22 @@ protoOf(Directive).equals = function (other) {
|
|
|
2704
2704
|
return true;
|
|
2705
2705
|
if (!(other instanceof Directive))
|
|
2706
2706
|
return false;
|
|
2707
|
-
if (!(this.
|
|
2707
|
+
if (!(this.f4l_1 === other.f4l_1))
|
|
2708
2708
|
return false;
|
|
2709
|
-
if (!equals(this.
|
|
2709
|
+
if (!equals(this.g4l_1, other.g4l_1))
|
|
2710
2710
|
return false;
|
|
2711
2711
|
return true;
|
|
2712
2712
|
};
|
|
2713
2713
|
function Argument(name, value) {
|
|
2714
|
-
this.
|
|
2715
|
-
this.
|
|
2714
|
+
this.h4l_1 = name;
|
|
2715
|
+
this.i4l_1 = value;
|
|
2716
2716
|
}
|
|
2717
2717
|
protoOf(Argument).toString = function () {
|
|
2718
|
-
return 'Argument(name=' + this.
|
|
2718
|
+
return 'Argument(name=' + this.h4l_1 + ', value=' + toString_0(this.i4l_1) + ')';
|
|
2719
2719
|
};
|
|
2720
2720
|
protoOf(Argument).hashCode = function () {
|
|
2721
|
-
var result = getStringHashCode(this.
|
|
2722
|
-
result = imul(result, 31) + hashCode(this.
|
|
2721
|
+
var result = getStringHashCode(this.h4l_1);
|
|
2722
|
+
result = imul(result, 31) + hashCode(this.i4l_1) | 0;
|
|
2723
2723
|
return result;
|
|
2724
2724
|
};
|
|
2725
2725
|
protoOf(Argument).equals = function (other) {
|
|
@@ -2727,9 +2727,9 @@ protoOf(Argument).equals = function (other) {
|
|
|
2727
2727
|
return true;
|
|
2728
2728
|
if (!(other instanceof Argument))
|
|
2729
2729
|
return false;
|
|
2730
|
-
if (!(this.
|
|
2730
|
+
if (!(this.h4l_1 === other.h4l_1))
|
|
2731
2731
|
return false;
|
|
2732
|
-
if (!equals(this.
|
|
2732
|
+
if (!equals(this.i4l_1, other.i4l_1))
|
|
2733
2733
|
return false;
|
|
2734
2734
|
return true;
|
|
2735
2735
|
};
|
|
@@ -2747,10 +2747,10 @@ function Operation_SUBSCRIPTION_getInstance() {
|
|
|
2747
2747
|
}
|
|
2748
2748
|
function GraphQLParser() {
|
|
2749
2749
|
}
|
|
2750
|
-
protoOf(GraphQLParser).
|
|
2750
|
+
protoOf(GraphQLParser).q30 = function (moduleContent, strict) {
|
|
2751
2751
|
// Inline function 'kotlin.let' call
|
|
2752
|
-
var it = (new GraphQLDocumentParser(moduleContent.do_1)).
|
|
2753
|
-
var tmp$ret$0 = (new GraphQLConverter(it)).
|
|
2752
|
+
var it = (new GraphQLDocumentParser(moduleContent.do_1)).v4i();
|
|
2753
|
+
var tmp$ret$0 = (new GraphQLConverter(it)).o4k();
|
|
2754
2754
|
var tmp0_safe_receiver = toNonEmptyListOrNull(tmp$ret$0);
|
|
2755
2755
|
var tmp;
|
|
2756
2756
|
var tmp_0 = tmp0_safe_receiver;
|
|
@@ -2778,49 +2778,49 @@ function GraphQLParser_getInstance() {
|
|
|
2778
2778
|
return GraphQLParser_instance;
|
|
2779
2779
|
}
|
|
2780
2780
|
function convert($this, $receiver) {
|
|
2781
|
-
var tmp = claim($this, $receiver.
|
|
2781
|
+
var tmp = claim($this, $receiver.e4j_1 ? 'SchemaExtension' : 'Schema');
|
|
2782
2782
|
var tmp_0 = GraphQLAnnotations_instance;
|
|
2783
2783
|
// Inline function 'kotlin.collections.map' call
|
|
2784
|
-
var this_0 = $receiver.
|
|
2784
|
+
var this_0 = $receiver.d4j_1;
|
|
2785
2785
|
// Inline function 'kotlin.collections.mapTo' call
|
|
2786
2786
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
2787
2787
|
var _iterator__ex2g4s = this_0.t();
|
|
2788
2788
|
while (_iterator__ex2g4s.u()) {
|
|
2789
2789
|
var item = _iterator__ex2g4s.v();
|
|
2790
|
-
var tmp$ret$2 = GraphQLAnnotations_instance.
|
|
2790
|
+
var tmp$ret$2 = GraphQLAnnotations_instance.w4g(item.s4j_1.s4g_1, item.t4j_1);
|
|
2791
2791
|
destination.x(tmp$ret$2);
|
|
2792
2792
|
}
|
|
2793
2793
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
2794
2794
|
var tmp$ret$3 = copyToArray(destination);
|
|
2795
|
-
var tmp_1 = listOf(tmp_0.
|
|
2795
|
+
var tmp_1 = listOf(tmp_0.u4g('GraphQLSchema', tmp$ret$3.slice()));
|
|
2796
2796
|
// Inline function 'kotlin.takeIf' call
|
|
2797
|
-
var this_1 = GraphQLAnnotations_instance.
|
|
2797
|
+
var this_1 = GraphQLAnnotations_instance.u4g('GraphQLExtend', []);
|
|
2798
2798
|
var tmp_2;
|
|
2799
|
-
if ($receiver.
|
|
2799
|
+
if ($receiver.e4j_1) {
|
|
2800
2800
|
tmp_2 = this_1;
|
|
2801
2801
|
} else {
|
|
2802
2802
|
tmp_2 = null;
|
|
2803
2803
|
}
|
|
2804
2804
|
var tmp$ret$4 = tmp_2;
|
|
2805
|
-
return type($this, tmp, plus(plus(plus(tmp_1, listOfNotNull(tmp$ret$4)), toAnnotations($this, $receiver.
|
|
2805
|
+
return type($this, tmp, plus(plus(plus(tmp_1, listOfNotNull(tmp$ret$4)), toAnnotations($this, $receiver.b4j_1)), toAnnotations_0($this, $receiver.c4j_1)), emptyList());
|
|
2806
2806
|
}
|
|
2807
2807
|
function convert_0($this, $receiver) {
|
|
2808
|
-
var tmp = claim($this, Companion_getInstance_1().
|
|
2808
|
+
var tmp = claim($this, Companion_getInstance_1().c4m($receiver.x4i_1) + 'Directive');
|
|
2809
2809
|
var tmp_0 = GraphQLAnnotations_instance;
|
|
2810
|
-
var tmp_1 = GraphQLAnnotations_instance.
|
|
2811
|
-
var tmp_2 = GraphQLAnnotations_instance.
|
|
2810
|
+
var tmp_1 = GraphQLAnnotations_instance.w4g('name', $receiver.x4i_1);
|
|
2811
|
+
var tmp_2 = GraphQLAnnotations_instance.x4g('locations', $receiver.a4j_1);
|
|
2812
2812
|
// Inline function 'kotlin.takeIf' call
|
|
2813
|
-
var this_0 = GraphQLAnnotations_instance.
|
|
2813
|
+
var this_0 = GraphQLAnnotations_instance.w4g('repeatable', 'true');
|
|
2814
2814
|
var tmp_3;
|
|
2815
|
-
if ($receiver.
|
|
2815
|
+
if ($receiver.z4i_1) {
|
|
2816
2816
|
tmp_3 = this_0;
|
|
2817
2817
|
} else {
|
|
2818
2818
|
tmp_3 = null;
|
|
2819
2819
|
}
|
|
2820
2820
|
var tmp$ret$0 = tmp_3;
|
|
2821
|
-
var tmp_4 = plus(listOf(tmp_0.
|
|
2821
|
+
var tmp_4 = plus(listOf(tmp_0.u4g('GraphQLDirectiveDefinition', [tmp_1, tmp_2, tmp$ret$0])), toAnnotations($this, $receiver.w4i_1));
|
|
2822
2822
|
// Inline function 'kotlin.collections.map' call
|
|
2823
|
-
var this_1 = $receiver.
|
|
2823
|
+
var this_1 = $receiver.y4i_1;
|
|
2824
2824
|
// Inline function 'kotlin.collections.mapTo' call
|
|
2825
2825
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_1, 10));
|
|
2826
2826
|
var _iterator__ex2g4s = this_1.t();
|
|
@@ -2832,23 +2832,23 @@ function convert_0($this, $receiver) {
|
|
|
2832
2832
|
return type($this, tmp, tmp_4, destination);
|
|
2833
2833
|
}
|
|
2834
2834
|
function convert_1($this, $receiver) {
|
|
2835
|
-
return new Refined(null, commonAnnotations($this, $receiver), new DefinitionIdentifier(identifier($this, $receiver)), new Primitive(scalarType($this, $receiver.
|
|
2835
|
+
return new Refined(null, commonAnnotations($this, $receiver), new DefinitionIdentifier(identifier($this, $receiver)), new Primitive(scalarType($this, $receiver.z4g_1), false));
|
|
2836
2836
|
}
|
|
2837
2837
|
function convert_2($this, $receiver) {
|
|
2838
|
-
var tmp0_subject = $receiver.
|
|
2838
|
+
var tmp0_subject = $receiver.d4h_1;
|
|
2839
2839
|
var tmp;
|
|
2840
|
-
if ($this.
|
|
2841
|
-
var tmp1_elvis_lhs = $this.
|
|
2840
|
+
if ($this.l4l_1.i1(tmp0_subject)) {
|
|
2841
|
+
var tmp1_elvis_lhs = $this.s4l_1.s2($receiver.d4h_1);
|
|
2842
2842
|
// Inline function 'kotlin.let' call
|
|
2843
|
-
var prefix = tmp1_elvis_lhs == null ? Companion_getInstance_1().
|
|
2844
|
-
var tmp0 = $this.
|
|
2843
|
+
var prefix = tmp1_elvis_lhs == null ? Companion_getInstance_1().c4m($receiver.d4h_1) : tmp1_elvis_lhs;
|
|
2844
|
+
var tmp0 = $this.k4l_1.m1();
|
|
2845
2845
|
var tmp$ret$2;
|
|
2846
2846
|
$l$block: {
|
|
2847
2847
|
// Inline function 'kotlin.collections.first' call
|
|
2848
2848
|
var _iterator__ex2g4s = tmp0.t();
|
|
2849
2849
|
while (_iterator__ex2g4s.u()) {
|
|
2850
2850
|
var element = _iterator__ex2g4s.v();
|
|
2851
|
-
if (element.o1() === $receiver.
|
|
2851
|
+
if (element.o1() === $receiver.d4h_1) {
|
|
2852
2852
|
tmp$ret$2 = element;
|
|
2853
2853
|
break $l$block;
|
|
2854
2854
|
}
|
|
@@ -2860,9 +2860,9 @@ function convert_2($this, $receiver) {
|
|
|
2860
2860
|
if (needsType($this, $receiver)) {
|
|
2861
2861
|
// Inline function 'kotlin.let' call
|
|
2862
2862
|
var identifier_0 = identifier($this, $receiver);
|
|
2863
|
-
var tmp_1 = listOf(type($this, identifier_0, commonAnnotations($this, $receiver, $receiver.
|
|
2863
|
+
var tmp_1 = listOf(type($this, identifier_0, commonAnnotations($this, $receiver, $receiver.e4h_1), emptyList()));
|
|
2864
2864
|
// Inline function 'kotlin.collections.map' call
|
|
2865
|
-
var this_0 = $receiver.
|
|
2865
|
+
var this_0 = $receiver.g4h_1;
|
|
2866
2866
|
// Inline function 'kotlin.collections.mapTo' call
|
|
2867
2867
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
2868
2868
|
var _iterator__ex2g4s_0 = this_0.t();
|
|
@@ -2874,13 +2874,13 @@ function convert_2($this, $receiver) {
|
|
|
2874
2874
|
tmp_0 = plus(tmp_1, destination);
|
|
2875
2875
|
} else {
|
|
2876
2876
|
// Inline function 'kotlin.collections.map' call
|
|
2877
|
-
var this_1 = $receiver.
|
|
2877
|
+
var this_1 = $receiver.g4h_1;
|
|
2878
2878
|
// Inline function 'kotlin.collections.mapTo' call
|
|
2879
2879
|
var destination_0 = ArrayList_init_$Create$(collectionSizeOrDefault(this_1, 10));
|
|
2880
2880
|
var _iterator__ex2g4s_1 = this_1.t();
|
|
2881
2881
|
while (_iterator__ex2g4s_1.u()) {
|
|
2882
2882
|
var item_0 = _iterator__ex2g4s_1.v();
|
|
2883
|
-
var tmp$ret$11 = toRpc($this, item_0, prefix, operation, $receiver.
|
|
2883
|
+
var tmp$ret$11 = toRpc($this, item_0, prefix, operation, $receiver.d4h_1, extensionBlock($this, $receiver));
|
|
2884
2884
|
destination_0.x(tmp$ret$11);
|
|
2885
2885
|
}
|
|
2886
2886
|
tmp_0 = destination_0;
|
|
@@ -2901,7 +2901,7 @@ function convert_2($this, $receiver) {
|
|
|
2901
2901
|
tmp_3 = null;
|
|
2902
2902
|
} else {
|
|
2903
2903
|
// Inline function 'kotlin.let' call
|
|
2904
|
-
tmp_3 = type($this, identifier($this, $receiver), commonAnnotations($this, $receiver, tmp2_safe_receiver.
|
|
2904
|
+
tmp_3 = type($this, identifier($this, $receiver), commonAnnotations($this, $receiver, tmp2_safe_receiver.g4m_1), tmp2_safe_receiver.d4m_1);
|
|
2905
2905
|
}
|
|
2906
2906
|
// Inline function 'kotlin.let' call
|
|
2907
2907
|
var p0 = tmp_3;
|
|
@@ -2924,14 +2924,14 @@ function convert_3($this, $receiver) {
|
|
|
2924
2924
|
tmp_0 = null;
|
|
2925
2925
|
} else {
|
|
2926
2926
|
// Inline function 'kotlin.let' call
|
|
2927
|
-
var tmp0_safe_receiver_0 = $this.
|
|
2927
|
+
var tmp0_safe_receiver_0 = $this.v4l_1.s2($receiver.j4h_1);
|
|
2928
2928
|
var tmp_1;
|
|
2929
2929
|
if (tmp0_safe_receiver_0 == null) {
|
|
2930
2930
|
tmp_1 = null;
|
|
2931
2931
|
} else {
|
|
2932
2932
|
// Inline function 'kotlin.takeIf' call
|
|
2933
2933
|
var tmp_2;
|
|
2934
|
-
if ($this.
|
|
2934
|
+
if ($this.t4l_1.s2($receiver.j4h_1) === $receiver) {
|
|
2935
2935
|
tmp_2 = tmp0_safe_receiver_0;
|
|
2936
2936
|
} else {
|
|
2937
2937
|
tmp_2 = null;
|
|
@@ -2944,10 +2944,10 @@ function convert_3($this, $receiver) {
|
|
|
2944
2944
|
tmp_3 = null;
|
|
2945
2945
|
} else {
|
|
2946
2946
|
// Inline function 'kotlin.let' call
|
|
2947
|
-
tmp_3 = listOf_0([new Part(null, new DefinitionIdentifier(tmp1_safe_receiver), new Shape(tmp0_safe_receiver.
|
|
2947
|
+
tmp_3 = listOf_0([new Part(null, new DefinitionIdentifier(tmp1_safe_receiver), new Shape(tmp0_safe_receiver.d4m_1)), implementedBy($this, $receiver, plus(listOf(GraphQLAnnotations_instance.v4g('GraphQLInterface', tmp1_safe_receiver)), commonAnnotations($this, $receiver, tmp0_safe_receiver.g4m_1)))]);
|
|
2948
2948
|
}
|
|
2949
2949
|
var tmp2_elvis_lhs = tmp_3;
|
|
2950
|
-
tmp_0 = tmp2_elvis_lhs == null ? listOf(type($this, identifier($this, $receiver), plus(listOf(GraphQLAnnotations_instance.
|
|
2950
|
+
tmp_0 = tmp2_elvis_lhs == null ? listOf(type($this, identifier($this, $receiver), plus(listOf(GraphQLAnnotations_instance.u4g('GraphQLInterface', [])), commonAnnotations($this, $receiver, tmp0_safe_receiver.g4m_1)), tmp0_safe_receiver.d4m_1)) : tmp2_elvis_lhs;
|
|
2951
2951
|
}
|
|
2952
2952
|
// Inline function 'kotlin.collections.orEmpty' call
|
|
2953
2953
|
var tmp0_elvis_lhs = tmp_0;
|
|
@@ -2955,7 +2955,7 @@ function convert_3($this, $receiver) {
|
|
|
2955
2955
|
}
|
|
2956
2956
|
function implementedBy($this, $receiver, annotations) {
|
|
2957
2957
|
// Inline function 'kotlin.takeIf' call
|
|
2958
|
-
var this_0 = implementors($this, $receiver.
|
|
2958
|
+
var this_0 = implementors($this, $receiver.j4h_1);
|
|
2959
2959
|
var tmp;
|
|
2960
2960
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
2961
2961
|
if (!this_0.r()) {
|
|
@@ -2986,7 +2986,7 @@ function implementedBy($this, $receiver, annotations) {
|
|
|
2986
2986
|
}
|
|
2987
2987
|
function implementors($this, interfaceName) {
|
|
2988
2988
|
// Inline function 'kotlin.collections.filterIsInstance' call
|
|
2989
|
-
var tmp0 = $this.
|
|
2989
|
+
var tmp0 = $this.j4l_1.z4j_1;
|
|
2990
2990
|
// Inline function 'kotlin.collections.filterIsInstanceTo' call
|
|
2991
2991
|
var destination = ArrayList_init_$Create$_0();
|
|
2992
2992
|
var _iterator__ex2g4s = tmp0.t();
|
|
@@ -3002,17 +3002,17 @@ function implementors($this, interfaceName) {
|
|
|
3002
3002
|
var _iterator__ex2g4s_0 = destination.t();
|
|
3003
3003
|
while (_iterator__ex2g4s_0.u()) {
|
|
3004
3004
|
var element_0 = _iterator__ex2g4s_0.v();
|
|
3005
|
-
var tmp0_safe_receiver = $this.
|
|
3005
|
+
var tmp0_safe_receiver = $this.w4l_1.s2(element_0);
|
|
3006
3006
|
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.o1();
|
|
3007
3007
|
var tmp;
|
|
3008
3008
|
if (tmp1_safe_receiver == null) {
|
|
3009
3009
|
tmp = null;
|
|
3010
3010
|
} else {
|
|
3011
3011
|
// Inline function 'kotlin.let' call
|
|
3012
|
-
tmp = tmp1_safe_receiver.
|
|
3012
|
+
tmp = tmp1_safe_receiver.f4m_1.i1(interfaceName) || tmp1_safe_receiver.g4m_1.i1(interfaceName);
|
|
3013
3013
|
}
|
|
3014
3014
|
var tmp2_elvis_lhs = tmp;
|
|
3015
|
-
if (tmp2_elvis_lhs == null ? element_0.
|
|
3015
|
+
if (tmp2_elvis_lhs == null ? element_0.e4h_1.i1(interfaceName) : tmp2_elvis_lhs) {
|
|
3016
3016
|
destination_0.x(element_0);
|
|
3017
3017
|
}
|
|
3018
3018
|
}
|
|
@@ -3022,7 +3022,7 @@ function implementors($this, interfaceName) {
|
|
|
3022
3022
|
var _iterator__ex2g4s_1 = destination_0.t();
|
|
3023
3023
|
while (_iterator__ex2g4s_1.u()) {
|
|
3024
3024
|
var item = _iterator__ex2g4s_1.v();
|
|
3025
|
-
var tmp$ret$9 = item.
|
|
3025
|
+
var tmp$ret$9 = item.d4h_1;
|
|
3026
3026
|
destination_1.x(tmp$ret$9);
|
|
3027
3027
|
}
|
|
3028
3028
|
// Inline function 'kotlin.collections.filter' call
|
|
@@ -3032,7 +3032,7 @@ function implementors($this, interfaceName) {
|
|
|
3032
3032
|
var _iterator__ex2g4s_2 = tmp0_0.t();
|
|
3033
3033
|
while (_iterator__ex2g4s_2.u()) {
|
|
3034
3034
|
var element_1 = _iterator__ex2g4s_2.v();
|
|
3035
|
-
var tmp0_1 = $this.
|
|
3035
|
+
var tmp0_1 = $this.j4l_1.z4j_1;
|
|
3036
3036
|
var tmp$ret$13;
|
|
3037
3037
|
$l$block_0: {
|
|
3038
3038
|
// Inline function 'kotlin.collections.any' call
|
|
@@ -3053,17 +3053,17 @@ function implementors($this, interfaceName) {
|
|
|
3053
3053
|
var tmp_2;
|
|
3054
3054
|
var tmp_3;
|
|
3055
3055
|
if (element_2 instanceof ObjectTypeDefinition) {
|
|
3056
|
-
tmp_3 = !element_2.
|
|
3056
|
+
tmp_3 = !element_2.h4h_1;
|
|
3057
3057
|
} else {
|
|
3058
3058
|
tmp_3 = false;
|
|
3059
3059
|
}
|
|
3060
3060
|
if (tmp_3) {
|
|
3061
|
-
tmp_2 = element_2.
|
|
3061
|
+
tmp_2 = element_2.d4h_1 === element_1;
|
|
3062
3062
|
} else {
|
|
3063
3063
|
tmp_2 = false;
|
|
3064
3064
|
}
|
|
3065
3065
|
if (tmp_2) {
|
|
3066
|
-
tmp_1 = !$this.
|
|
3066
|
+
tmp_1 = !$this.l4l_1.i1(element_1) || needsType($this, element_2);
|
|
3067
3067
|
} else {
|
|
3068
3068
|
tmp_1 = false;
|
|
3069
3069
|
}
|
|
@@ -3084,7 +3084,7 @@ function implementors($this, interfaceName) {
|
|
|
3084
3084
|
var _iterator__ex2g4s_4 = destination_2.t();
|
|
3085
3085
|
while (_iterator__ex2g4s_4.u()) {
|
|
3086
3086
|
var item_0 = _iterator__ex2g4s_4.v();
|
|
3087
|
-
var tmp$ret$17 = getValue($this.
|
|
3087
|
+
var tmp$ret$17 = getValue($this.s4l_1, item_0);
|
|
3088
3088
|
destination_3.x(tmp$ret$17);
|
|
3089
3089
|
}
|
|
3090
3090
|
return destination_3;
|
|
@@ -3092,29 +3092,29 @@ function implementors($this, interfaceName) {
|
|
|
3092
3092
|
function Implementation(entries, fields, covered, listed) {
|
|
3093
3093
|
covered = covered === VOID ? emptySet() : covered;
|
|
3094
3094
|
listed = listed === VOID ? emptyList() : listed;
|
|
3095
|
-
this.
|
|
3096
|
-
this.
|
|
3097
|
-
this.
|
|
3098
|
-
this.
|
|
3095
|
+
this.d4m_1 = entries;
|
|
3096
|
+
this.e4m_1 = fields;
|
|
3097
|
+
this.f4m_1 = covered;
|
|
3098
|
+
this.g4m_1 = listed;
|
|
3099
3099
|
}
|
|
3100
|
-
protoOf(Implementation).
|
|
3100
|
+
protoOf(Implementation).h4m = function (entries, fields, covered, listed) {
|
|
3101
3101
|
return new Implementation(entries, fields, covered, listed);
|
|
3102
3102
|
};
|
|
3103
|
-
protoOf(Implementation).
|
|
3104
|
-
entries = entries === VOID ? this.
|
|
3105
|
-
fields = fields === VOID ? this.
|
|
3106
|
-
covered = covered === VOID ? this.
|
|
3107
|
-
listed = listed === VOID ? this.
|
|
3108
|
-
return $super === VOID ? this.
|
|
3103
|
+
protoOf(Implementation).i4m = function (entries, fields, covered, listed, $super) {
|
|
3104
|
+
entries = entries === VOID ? this.d4m_1 : entries;
|
|
3105
|
+
fields = fields === VOID ? this.e4m_1 : fields;
|
|
3106
|
+
covered = covered === VOID ? this.f4m_1 : covered;
|
|
3107
|
+
listed = listed === VOID ? this.g4m_1 : listed;
|
|
3108
|
+
return $super === VOID ? this.h4m(entries, fields, covered, listed) : $super.h4m.call(this, entries, fields, covered, listed);
|
|
3109
3109
|
};
|
|
3110
3110
|
protoOf(Implementation).toString = function () {
|
|
3111
|
-
return 'Implementation(entries=' + toString_0(this.
|
|
3111
|
+
return 'Implementation(entries=' + toString_0(this.d4m_1) + ', fields=' + toString_0(this.e4m_1) + ', covered=' + toString_0(this.f4m_1) + ', listed=' + toString_0(this.g4m_1) + ')';
|
|
3112
3112
|
};
|
|
3113
3113
|
protoOf(Implementation).hashCode = function () {
|
|
3114
|
-
var result = hashCode(this.
|
|
3115
|
-
result = imul(result, 31) + hashCode(this.
|
|
3116
|
-
result = imul(result, 31) + hashCode(this.
|
|
3117
|
-
result = imul(result, 31) + hashCode(this.
|
|
3114
|
+
var result = hashCode(this.d4m_1);
|
|
3115
|
+
result = imul(result, 31) + hashCode(this.e4m_1) | 0;
|
|
3116
|
+
result = imul(result, 31) + hashCode(this.f4m_1) | 0;
|
|
3117
|
+
result = imul(result, 31) + hashCode(this.g4m_1) | 0;
|
|
3118
3118
|
return result;
|
|
3119
3119
|
};
|
|
3120
3120
|
protoOf(Implementation).equals = function (other) {
|
|
@@ -3122,27 +3122,27 @@ protoOf(Implementation).equals = function (other) {
|
|
|
3122
3122
|
return true;
|
|
3123
3123
|
if (!(other instanceof Implementation))
|
|
3124
3124
|
return false;
|
|
3125
|
-
if (!equals(this.
|
|
3125
|
+
if (!equals(this.d4m_1, other.d4m_1))
|
|
3126
3126
|
return false;
|
|
3127
|
-
if (!equals(this.
|
|
3127
|
+
if (!equals(this.e4m_1, other.e4m_1))
|
|
3128
3128
|
return false;
|
|
3129
|
-
if (!equals(this.
|
|
3129
|
+
if (!equals(this.f4m_1, other.f4m_1))
|
|
3130
3130
|
return false;
|
|
3131
|
-
if (!equals(this.
|
|
3131
|
+
if (!equals(this.g4m_1, other.g4m_1))
|
|
3132
3132
|
return false;
|
|
3133
3133
|
return true;
|
|
3134
3134
|
};
|
|
3135
3135
|
function implementation($this, $receiver) {
|
|
3136
|
-
return getValue($this.
|
|
3136
|
+
return getValue($this.w4l_1, $receiver).o1();
|
|
3137
3137
|
}
|
|
3138
3138
|
function implement($this, $receiver) {
|
|
3139
3139
|
var tmp;
|
|
3140
3140
|
if ($receiver.wp()) {
|
|
3141
3141
|
// Inline function 'kotlin.let' call
|
|
3142
|
-
var it = implement_0($this, $receiver, $receiver.
|
|
3143
|
-
tmp = hasBase($this, $receiver) ? it.
|
|
3142
|
+
var it = implement_0($this, $receiver, $receiver.d4l());
|
|
3143
|
+
tmp = hasBase($this, $receiver) ? it.i4m(VOID, VOID, VOID, emptyList()) : it;
|
|
3144
3144
|
} else {
|
|
3145
|
-
var tmp_0 = $receiver.
|
|
3145
|
+
var tmp_0 = $receiver.d4l();
|
|
3146
3146
|
// Inline function 'kotlin.collections.flatMap' call
|
|
3147
3147
|
var tmp0 = extensions($this, $receiver);
|
|
3148
3148
|
// Inline function 'kotlin.collections.flatMapTo' call
|
|
@@ -3150,7 +3150,7 @@ function implement($this, $receiver) {
|
|
|
3150
3150
|
var _iterator__ex2g4s = tmp0.t();
|
|
3151
3151
|
while (_iterator__ex2g4s.u()) {
|
|
3152
3152
|
var element = _iterator__ex2g4s.v();
|
|
3153
|
-
var list = implement_0($this, element, element.
|
|
3153
|
+
var list = implement_0($this, element, element.d4l()).g4m_1;
|
|
3154
3154
|
addAll(destination, list);
|
|
3155
3155
|
}
|
|
3156
3156
|
tmp = implement_0($this, $receiver, plus(tmp_0, destination));
|
|
@@ -3165,7 +3165,7 @@ function implement_0($this, $receiver, interfaces) {
|
|
|
3165
3165
|
var tmp$ret$1 = new sam$kotlin_Comparator$0(tmp);
|
|
3166
3166
|
var tmp0 = sortedWith(this_0, tmp$ret$1);
|
|
3167
3167
|
// Inline function 'kotlin.collections.map' call
|
|
3168
|
-
var this_1 = $receiver.
|
|
3168
|
+
var this_1 = $receiver.y1f();
|
|
3169
3169
|
// Inline function 'kotlin.collections.mapTo' call
|
|
3170
3170
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_1, 10));
|
|
3171
3171
|
var _iterator__ex2g4s = this_1.t();
|
|
@@ -3182,18 +3182,18 @@ function implement_0($this, $receiver, interfaces) {
|
|
|
3182
3182
|
var element = _iterator__ex2g4s_0.v();
|
|
3183
3183
|
var implementation = accumulator;
|
|
3184
3184
|
var tmp_0;
|
|
3185
|
-
if (implementation.
|
|
3185
|
+
if (implementation.f4m_1.i1(element)) {
|
|
3186
3186
|
tmp_0 = implementation;
|
|
3187
3187
|
} else {
|
|
3188
3188
|
var tmp1_elvis_lhs = spread($this, $receiver, implementation, element);
|
|
3189
|
-
tmp_0 = tmp1_elvis_lhs == null ? implementation.
|
|
3189
|
+
tmp_0 = tmp1_elvis_lhs == null ? implementation.i4m(VOID, VOID, VOID, plus_0(implementation.g4m_1, element)) : tmp1_elvis_lhs;
|
|
3190
3190
|
}
|
|
3191
3191
|
accumulator = tmp_0;
|
|
3192
3192
|
}
|
|
3193
3193
|
return accumulator;
|
|
3194
3194
|
}
|
|
3195
3195
|
function spread($this, $receiver, implementation_0, candidate) {
|
|
3196
|
-
var tmp0_safe_receiver = $this.
|
|
3196
|
+
var tmp0_safe_receiver = $this.v4l_1.s2(candidate);
|
|
3197
3197
|
var tmp;
|
|
3198
3198
|
if (tmp0_safe_receiver == null) {
|
|
3199
3199
|
tmp = null;
|
|
@@ -3214,9 +3214,9 @@ function spread($this, $receiver, implementation_0, candidate) {
|
|
|
3214
3214
|
} else {
|
|
3215
3215
|
// Inline function 'kotlin.let' call
|
|
3216
3216
|
// Inline function 'kotlin.let' call
|
|
3217
|
-
var spread = implementation($this, getValue($this.
|
|
3217
|
+
var spread = implementation($this, getValue($this.t4l_1, candidate));
|
|
3218
3218
|
// Inline function 'kotlin.collections.map' call
|
|
3219
|
-
var this_0 = spread.
|
|
3219
|
+
var this_0 = spread.e4m_1;
|
|
3220
3220
|
// Inline function 'kotlin.collections.mapTo' call
|
|
3221
3221
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
3222
3222
|
var _iterator__ex2g4s = this_0.t();
|
|
@@ -3229,7 +3229,7 @@ function spread($this, $receiver, implementation_0, candidate) {
|
|
|
3229
3229
|
var this_1 = toSet(destination);
|
|
3230
3230
|
var tmp_2;
|
|
3231
3231
|
// Inline function 'kotlin.collections.filterIsInstance' call
|
|
3232
|
-
var tmp0 = implementation_0.
|
|
3232
|
+
var tmp0 = implementation_0.d4m_1;
|
|
3233
3233
|
// Inline function 'kotlin.collections.filterIsInstanceTo' call
|
|
3234
3234
|
var destination_0 = ArrayList_init_$Create$_0();
|
|
3235
3235
|
var _iterator__ex2g4s_0 = tmp0.t();
|
|
@@ -3260,15 +3260,15 @@ function spread($this, $receiver, implementation_0, candidate) {
|
|
|
3260
3260
|
} else {
|
|
3261
3261
|
// Inline function 'kotlin.let' call
|
|
3262
3262
|
var tmp_4 = listOf(new Spread(new Custom(tmp1_safe_receiver, false)));
|
|
3263
|
-
var tmp_5 = replace($this, implementation_0.
|
|
3264
|
-
tmp_3 = new Implementation(tmp_5, replace($this, implementation_0.
|
|
3263
|
+
var tmp_5 = replace($this, implementation_0.d4m_1, tmp_4, GraphQLConverter$spread$lambda(tmp0_safe_receiver_0));
|
|
3264
|
+
tmp_3 = new Implementation(tmp_5, replace($this, implementation_0.e4m_1, spread.e4m_1, GraphQLConverter$spread$lambda_0(tmp0_safe_receiver_0)), plus_2(plus_2(plus_1(implementation_0.f4m_1, candidate), spread.f4m_1), spread.g4m_1), implementation_0.g4m_1);
|
|
3265
3265
|
}
|
|
3266
3266
|
tmp_1 = tmp_3;
|
|
3267
3267
|
}
|
|
3268
3268
|
return tmp_1;
|
|
3269
3269
|
}
|
|
3270
3270
|
function hasBase($this, $receiver) {
|
|
3271
|
-
var tmp0 = $this.
|
|
3271
|
+
var tmp0 = $this.w4l_1.t2();
|
|
3272
3272
|
var tmp$ret$0;
|
|
3273
3273
|
$l$block_0: {
|
|
3274
3274
|
// Inline function 'kotlin.collections.any' call
|
|
@@ -3296,7 +3296,7 @@ function hasBase($this, $receiver) {
|
|
|
3296
3296
|
}
|
|
3297
3297
|
function extensions($this, $receiver) {
|
|
3298
3298
|
// Inline function 'kotlin.collections.filter' call
|
|
3299
|
-
var tmp0 = $this.
|
|
3299
|
+
var tmp0 = $this.w4l_1.t2();
|
|
3300
3300
|
// Inline function 'kotlin.collections.filterTo' call
|
|
3301
3301
|
var destination = ArrayList_init_$Create$_0();
|
|
3302
3302
|
var _iterator__ex2g4s = tmp0.t();
|
|
@@ -3309,25 +3309,25 @@ function extensions($this, $receiver) {
|
|
|
3309
3309
|
return destination;
|
|
3310
3310
|
}
|
|
3311
3311
|
function bringsNothing($this, $receiver, implementation) {
|
|
3312
|
-
return $receiver.wp() && $receiver.
|
|
3312
|
+
return $receiver.wp() && $receiver.e4l().r() && implementation.d4m_1.r() && implementation.g4m_1.r();
|
|
3313
3313
|
}
|
|
3314
3314
|
function reachable($this, name) {
|
|
3315
3315
|
// Inline function 'kotlin.collections.orEmpty' call
|
|
3316
|
-
var tmp0_elvis_lhs = $this.
|
|
3316
|
+
var tmp0_elvis_lhs = $this.u4l_1.s2(name);
|
|
3317
3317
|
var tmp$ret$0 = tmp0_elvis_lhs == null ? emptyList() : tmp0_elvis_lhs;
|
|
3318
3318
|
var tmp = toSet(tmp$ret$0);
|
|
3319
3319
|
return last(generateSequence(tmp, GraphQLConverter$reachable$lambda($this)));
|
|
3320
3320
|
}
|
|
3321
3321
|
function convert_4($this, $receiver) {
|
|
3322
3322
|
var tmp;
|
|
3323
|
-
if ($receiver.
|
|
3324
|
-
tmp = type($this, identifier($this, $receiver), plus(listOf(GraphQLAnnotations_instance.
|
|
3323
|
+
if ($receiver.r4h_1.r()) {
|
|
3324
|
+
tmp = type($this, identifier($this, $receiver), plus(listOf(GraphQLAnnotations_instance.u4g('GraphQLUnion', [])), commonAnnotations($this, $receiver)), emptyList());
|
|
3325
3325
|
} else {
|
|
3326
3326
|
var tmp_0 = commonAnnotations($this, $receiver);
|
|
3327
3327
|
// Inline function 'kotlin.takeIf' call
|
|
3328
|
-
var this_0 = GraphQLAnnotations_instance.
|
|
3328
|
+
var this_0 = GraphQLAnnotations_instance.u4g('GraphQLUnionMembers', [GraphQLAnnotations_instance.x4g('default', $receiver.r4h_1)]);
|
|
3329
3329
|
var tmp_1;
|
|
3330
|
-
var tmp0 = $receiver.
|
|
3330
|
+
var tmp0 = $receiver.r4h_1;
|
|
3331
3331
|
var tmp$ret$2;
|
|
3332
3332
|
$l$block_0: {
|
|
3333
3333
|
// Inline function 'kotlin.collections.any' call
|
|
@@ -3344,7 +3344,7 @@ function convert_4($this, $receiver) {
|
|
|
3344
3344
|
var _iterator__ex2g4s = tmp0.t();
|
|
3345
3345
|
while (_iterator__ex2g4s.u()) {
|
|
3346
3346
|
var element = _iterator__ex2g4s.v();
|
|
3347
|
-
if ($this.
|
|
3347
|
+
if ($this.q4l_1.i1(element)) {
|
|
3348
3348
|
tmp$ret$2 = true;
|
|
3349
3349
|
break $l$block_0;
|
|
3350
3350
|
}
|
|
@@ -3360,7 +3360,7 @@ function convert_4($this, $receiver) {
|
|
|
3360
3360
|
var tmp_3 = plus(tmp_0, listOfNotNull(tmp$ret$0));
|
|
3361
3361
|
var tmp_4 = new DefinitionIdentifier(identifier($this, $receiver));
|
|
3362
3362
|
// Inline function 'kotlin.collections.map' call
|
|
3363
|
-
var this_1 = $receiver.
|
|
3363
|
+
var this_1 = $receiver.r4h_1;
|
|
3364
3364
|
// Inline function 'kotlin.collections.mapTo' call
|
|
3365
3365
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_1, 10));
|
|
3366
3366
|
var _iterator__ex2g4s_0 = this_1.t();
|
|
@@ -3375,23 +3375,23 @@ function convert_4($this, $receiver) {
|
|
|
3375
3375
|
}
|
|
3376
3376
|
function convert_5($this, $receiver) {
|
|
3377
3377
|
var tmp;
|
|
3378
|
-
if ($receiver.
|
|
3379
|
-
tmp = type($this, identifier($this, $receiver), plus(listOf(GraphQLAnnotations_instance.
|
|
3378
|
+
if ($receiver.w4h_1.r()) {
|
|
3379
|
+
tmp = type($this, identifier($this, $receiver), plus(listOf(GraphQLAnnotations_instance.u4g('GraphQLEnum', [])), commonAnnotations($this, $receiver)), emptyList());
|
|
3380
3380
|
} else {
|
|
3381
3381
|
var tmp_0 = commonAnnotations($this, $receiver);
|
|
3382
3382
|
// Inline function 'kotlin.collections.filter' call
|
|
3383
|
-
var tmp0 = $receiver.
|
|
3383
|
+
var tmp0 = $receiver.w4h_1;
|
|
3384
3384
|
// Inline function 'kotlin.collections.filterTo' call
|
|
3385
3385
|
var destination = ArrayList_init_$Create$_0();
|
|
3386
3386
|
var _iterator__ex2g4s = tmp0.t();
|
|
3387
3387
|
while (_iterator__ex2g4s.u()) {
|
|
3388
3388
|
var element = _iterator__ex2g4s.v();
|
|
3389
3389
|
var tmp_1;
|
|
3390
|
-
if (!(element.
|
|
3390
|
+
if (!(element.u4j_1 == null)) {
|
|
3391
3391
|
tmp_1 = true;
|
|
3392
3392
|
} else {
|
|
3393
3393
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
3394
|
-
tmp_1 = !element.
|
|
3394
|
+
tmp_1 = !element.w4j_1.r();
|
|
3395
3395
|
}
|
|
3396
3396
|
if (tmp_1) {
|
|
3397
3397
|
destination.x(element);
|
|
@@ -3404,40 +3404,40 @@ function convert_5($this, $receiver) {
|
|
|
3404
3404
|
while (_iterator__ex2g4s_0.u()) {
|
|
3405
3405
|
var item = _iterator__ex2g4s_0.v();
|
|
3406
3406
|
var tmp_2 = GraphQLAnnotations_instance;
|
|
3407
|
-
var tmp_3 = GraphQLAnnotations_instance.
|
|
3408
|
-
var tmp0_safe_receiver = item.
|
|
3407
|
+
var tmp_3 = GraphQLAnnotations_instance.w4g('value', item.v4j_1);
|
|
3408
|
+
var tmp0_safe_receiver = item.u4j_1;
|
|
3409
3409
|
var tmp_4;
|
|
3410
3410
|
if (tmp0_safe_receiver == null) {
|
|
3411
3411
|
tmp_4 = null;
|
|
3412
3412
|
} else {
|
|
3413
3413
|
// Inline function 'kotlin.let' call
|
|
3414
|
-
tmp_4 = GraphQLAnnotations_instance.
|
|
3414
|
+
tmp_4 = GraphQLAnnotations_instance.w4g('description', tmp0_safe_receiver);
|
|
3415
3415
|
}
|
|
3416
3416
|
var tmp_5 = tmp_4;
|
|
3417
3417
|
var tmp_6 = GraphQLAnnotations_instance;
|
|
3418
3418
|
// Inline function 'kotlin.collections.map' call
|
|
3419
|
-
var this_0 = item.
|
|
3419
|
+
var this_0 = item.w4j_1;
|
|
3420
3420
|
// Inline function 'kotlin.collections.mapTo' call
|
|
3421
3421
|
var destination_1 = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
3422
3422
|
var _iterator__ex2g4s_1 = this_0.t();
|
|
3423
3423
|
while (_iterator__ex2g4s_1.u()) {
|
|
3424
3424
|
var item_0 = _iterator__ex2g4s_1.v();
|
|
3425
|
-
var tmp$ret$11 = GraphQLPrinter_instance.
|
|
3425
|
+
var tmp$ret$11 = GraphQLPrinter_instance.x4j(item_0);
|
|
3426
3426
|
destination_1.x(tmp$ret$11);
|
|
3427
3427
|
}
|
|
3428
|
-
var tmp$ret$6 = tmp_2.
|
|
3428
|
+
var tmp$ret$6 = tmp_2.u4g('GraphQLEnumValue', [tmp_3, tmp_5, tmp_6.x4g('directives', destination_1)]);
|
|
3429
3429
|
destination_0.x(tmp$ret$6);
|
|
3430
3430
|
}
|
|
3431
3431
|
var tmp_7 = plus(tmp_0, destination_0);
|
|
3432
3432
|
var tmp_8 = new DefinitionIdentifier(identifier($this, $receiver));
|
|
3433
3433
|
// Inline function 'kotlin.collections.map' call
|
|
3434
|
-
var this_1 = $receiver.
|
|
3434
|
+
var this_1 = $receiver.w4h_1;
|
|
3435
3435
|
// Inline function 'kotlin.collections.mapTo' call
|
|
3436
3436
|
var destination_2 = ArrayList_init_$Create$(collectionSizeOrDefault(this_1, 10));
|
|
3437
3437
|
var _iterator__ex2g4s_2 = this_1.t();
|
|
3438
3438
|
while (_iterator__ex2g4s_2.u()) {
|
|
3439
3439
|
var item_1 = _iterator__ex2g4s_2.v();
|
|
3440
|
-
var tmp$ret$14 = item_1.
|
|
3440
|
+
var tmp$ret$14 = item_1.v4j_1;
|
|
3441
3441
|
destination_2.x(tmp$ret$14);
|
|
3442
3442
|
}
|
|
3443
3443
|
tmp = new Enum_0(null, tmp_7, tmp_8, toSet(destination_2));
|
|
@@ -3446,9 +3446,9 @@ function convert_5($this, $receiver) {
|
|
|
3446
3446
|
}
|
|
3447
3447
|
function convert_6($this, $receiver) {
|
|
3448
3448
|
var tmp = identifier($this, $receiver);
|
|
3449
|
-
var tmp_0 = plus(listOf(GraphQLAnnotations_instance.
|
|
3449
|
+
var tmp_0 = plus(listOf(GraphQLAnnotations_instance.u4g('GraphQLInput', [])), commonAnnotations($this, $receiver));
|
|
3450
3450
|
// Inline function 'kotlin.collections.map' call
|
|
3451
|
-
var this_0 = $receiver.
|
|
3451
|
+
var this_0 = $receiver.b4i_1;
|
|
3452
3452
|
// Inline function 'kotlin.collections.mapTo' call
|
|
3453
3453
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
3454
3454
|
var _iterator__ex2g4s = this_0.t();
|
|
@@ -3460,9 +3460,9 @@ function convert_6($this, $receiver) {
|
|
|
3460
3460
|
return type($this, tmp, tmp_0, destination);
|
|
3461
3461
|
}
|
|
3462
3462
|
function toField($this, $receiver) {
|
|
3463
|
-
var tmp = toAnnotations($this, $receiver.
|
|
3463
|
+
var tmp = toAnnotations($this, $receiver.f4j_1);
|
|
3464
3464
|
// Inline function 'kotlin.collections.map' call
|
|
3465
|
-
var this_0 = $receiver.
|
|
3465
|
+
var this_0 = $receiver.h4j_1;
|
|
3466
3466
|
// Inline function 'kotlin.collections.mapTo' call
|
|
3467
3467
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
3468
3468
|
var _iterator__ex2g4s = this_0.t();
|
|
@@ -3471,41 +3471,41 @@ function toField($this, $receiver) {
|
|
|
3471
3471
|
var tmp$ret$2 = toArgumentAnnotation($this, item);
|
|
3472
3472
|
destination.x(tmp$ret$2);
|
|
3473
3473
|
}
|
|
3474
|
-
return new Field(plus(plus(plus(tmp, destination), toAnnotations_0($this, $receiver.
|
|
3474
|
+
return new Field(plus(plus(plus(tmp, destination), toAnnotations_0($this, $receiver.j4j_1)), toAnnotations_1($this, $receiver.i4j_1)), new FieldIdentifier($receiver.g4j_1), toReference($this, $receiver.i4j_1));
|
|
3475
3475
|
}
|
|
3476
3476
|
function needsType($this, $receiver) {
|
|
3477
3477
|
var tmp;
|
|
3478
3478
|
var tmp_0;
|
|
3479
3479
|
var tmp_1;
|
|
3480
3480
|
var tmp_2;
|
|
3481
|
-
if (!($receiver.
|
|
3481
|
+
if (!($receiver.c4h_1 == null)) {
|
|
3482
3482
|
tmp_2 = true;
|
|
3483
3483
|
} else {
|
|
3484
3484
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
3485
|
-
tmp_2 = !$receiver.
|
|
3485
|
+
tmp_2 = !$receiver.f4h_1.r();
|
|
3486
3486
|
}
|
|
3487
3487
|
if (tmp_2) {
|
|
3488
3488
|
tmp_1 = true;
|
|
3489
3489
|
} else {
|
|
3490
3490
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
3491
|
-
tmp_1 = !$receiver.
|
|
3491
|
+
tmp_1 = !$receiver.e4h_1.r();
|
|
3492
3492
|
}
|
|
3493
3493
|
if (tmp_1) {
|
|
3494
3494
|
tmp_0 = true;
|
|
3495
3495
|
} else {
|
|
3496
|
-
tmp_0 = $receiver.
|
|
3496
|
+
tmp_0 = $receiver.g4h_1.r();
|
|
3497
3497
|
}
|
|
3498
3498
|
if (tmp_0) {
|
|
3499
3499
|
tmp = true;
|
|
3500
3500
|
} else {
|
|
3501
|
-
tmp = (!$receiver.
|
|
3501
|
+
tmp = (!$receiver.h4h_1 && $this.m4l_1.i1($receiver.d4h_1));
|
|
3502
3502
|
}
|
|
3503
3503
|
return tmp;
|
|
3504
3504
|
}
|
|
3505
3505
|
function extensionBlock($this, $receiver) {
|
|
3506
3506
|
// Inline function 'kotlin.takeIf' call
|
|
3507
3507
|
var tmp;
|
|
3508
|
-
if ($receiver.
|
|
3508
|
+
if ($receiver.h4h_1) {
|
|
3509
3509
|
tmp = $receiver;
|
|
3510
3510
|
} else {
|
|
3511
3511
|
tmp = null;
|
|
@@ -3516,7 +3516,7 @@ function extensionBlock($this, $receiver) {
|
|
|
3516
3516
|
} else {
|
|
3517
3517
|
// Inline function 'kotlin.let' call
|
|
3518
3518
|
// Inline function 'kotlin.collections.filterIsInstance' call
|
|
3519
|
-
var tmp0 = $this.
|
|
3519
|
+
var tmp0 = $this.j4l_1.z4j_1;
|
|
3520
3520
|
// Inline function 'kotlin.collections.filterIsInstanceTo' call
|
|
3521
3521
|
var destination = ArrayList_init_$Create$_0();
|
|
3522
3522
|
var _iterator__ex2g4s = tmp0.t();
|
|
@@ -3532,7 +3532,7 @@ function extensionBlock($this, $receiver) {
|
|
|
3532
3532
|
var _iterator__ex2g4s_0 = destination.t();
|
|
3533
3533
|
while (_iterator__ex2g4s_0.u()) {
|
|
3534
3534
|
var element_0 = _iterator__ex2g4s_0.v();
|
|
3535
|
-
if (element_0.
|
|
3535
|
+
if (element_0.h4h_1 && element_0.d4h_1 === $receiver.d4h_1 && !needsType($this, element_0)) {
|
|
3536
3536
|
destination_0.x(element_0);
|
|
3537
3537
|
}
|
|
3538
3538
|
}
|
|
@@ -3557,7 +3557,7 @@ function extensionBlock($this, $receiver) {
|
|
|
3557
3557
|
}
|
|
3558
3558
|
function toRpc($this, $receiver, prefix, operation, rootType, extensionBlock) {
|
|
3559
3559
|
// Inline function 'kotlin.text.replaceFirstChar' call
|
|
3560
|
-
var this_0 = trimStart($receiver.
|
|
3560
|
+
var this_0 = trimStart($receiver.g4j_1, charArrayOf([_Char___init__impl__6a9atx(95)]));
|
|
3561
3561
|
var tmp;
|
|
3562
3562
|
// Inline function 'kotlin.text.isNotEmpty' call
|
|
3563
3563
|
if (charSequenceLength(this_0) > 0) {
|
|
@@ -3572,12 +3572,12 @@ function toRpc($this, $receiver, prefix, operation, rootType, extensionBlock) {
|
|
|
3572
3572
|
}
|
|
3573
3573
|
// Inline function 'kotlin.let' call
|
|
3574
3574
|
var it = tmp;
|
|
3575
|
-
var identifier = claim($this, Companion_getInstance_1().
|
|
3575
|
+
var identifier = claim($this, Companion_getInstance_1().j4m(it) && !$this.r4l_1.i1(it) ? it : prefix + it);
|
|
3576
3576
|
var tmp_0 = GraphQLAnnotations_instance;
|
|
3577
|
-
var tmp_1 = GraphQLAnnotations_instance.
|
|
3577
|
+
var tmp_1 = GraphQLAnnotations_instance.p4g(operation);
|
|
3578
3578
|
// Inline function 'kotlin.takeIf' call
|
|
3579
3579
|
var tmp_2;
|
|
3580
|
-
if (!(rootType === operation.
|
|
3580
|
+
if (!(rootType === operation.t4g_1)) {
|
|
3581
3581
|
tmp_2 = rootType;
|
|
3582
3582
|
} else {
|
|
3583
3583
|
tmp_2 = null;
|
|
@@ -3588,7 +3588,7 @@ function toRpc($this, $receiver, prefix, operation, rootType, extensionBlock) {
|
|
|
3588
3588
|
tmp_3 = null;
|
|
3589
3589
|
} else {
|
|
3590
3590
|
// Inline function 'kotlin.let' call
|
|
3591
|
-
tmp_3 = GraphQLAnnotations_instance.
|
|
3591
|
+
tmp_3 = GraphQLAnnotations_instance.w4g('default', tmp0_safe_receiver);
|
|
3592
3592
|
}
|
|
3593
3593
|
var tmp_4 = tmp_3;
|
|
3594
3594
|
var tmp_5;
|
|
@@ -3596,11 +3596,11 @@ function toRpc($this, $receiver, prefix, operation, rootType, extensionBlock) {
|
|
|
3596
3596
|
tmp_5 = null;
|
|
3597
3597
|
} else {
|
|
3598
3598
|
// Inline function 'kotlin.let' call
|
|
3599
|
-
tmp_5 = GraphQLAnnotations_instance.
|
|
3599
|
+
tmp_5 = GraphQLAnnotations_instance.w4g('extend', extensionBlock.toString());
|
|
3600
3600
|
}
|
|
3601
|
-
var tmp_6 = listOf(tmp_0.
|
|
3601
|
+
var tmp_6 = listOf(tmp_0.u4g(tmp_1, [tmp_4, tmp_5]));
|
|
3602
3602
|
// Inline function 'kotlin.takeIf' call
|
|
3603
|
-
var this_2 = GraphQLAnnotations_instance.
|
|
3603
|
+
var this_2 = GraphQLAnnotations_instance.v4g('GraphQLName', $receiver.g4j_1);
|
|
3604
3604
|
var tmp_7;
|
|
3605
3605
|
// Inline function 'kotlin.text.replaceFirstChar' call
|
|
3606
3606
|
var tmp_8;
|
|
@@ -3615,16 +3615,16 @@ function toRpc($this, $receiver, prefix, operation, rootType, extensionBlock) {
|
|
|
3615
3615
|
} else {
|
|
3616
3616
|
tmp_8 = identifier;
|
|
3617
3617
|
}
|
|
3618
|
-
if (!(tmp_8 === $receiver.
|
|
3618
|
+
if (!(tmp_8 === $receiver.g4j_1)) {
|
|
3619
3619
|
tmp_7 = this_2;
|
|
3620
3620
|
} else {
|
|
3621
3621
|
tmp_7 = null;
|
|
3622
3622
|
}
|
|
3623
3623
|
var tmp$ret$14 = tmp_7;
|
|
3624
|
-
var tmp_9 = plus(plus(plus(plus(tmp_6, listOfNotNull(tmp$ret$14)), toAnnotations($this, $receiver.
|
|
3624
|
+
var tmp_9 = plus(plus(plus(plus(tmp_6, listOfNotNull(tmp$ret$14)), toAnnotations($this, $receiver.f4j_1)), toAnnotations_0($this, $receiver.j4j_1)), toAnnotations_1($this, $receiver.i4j_1));
|
|
3625
3625
|
var tmp_10 = new DefinitionIdentifier(identifier);
|
|
3626
3626
|
// Inline function 'kotlin.collections.map' call
|
|
3627
|
-
var this_4 = $receiver.
|
|
3627
|
+
var this_4 = $receiver.h4j_1;
|
|
3628
3628
|
// Inline function 'kotlin.collections.mapTo' call
|
|
3629
3629
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_4, 10));
|
|
3630
3630
|
var _iterator__ex2g4s = this_4.t();
|
|
@@ -3633,13 +3633,13 @@ function toRpc($this, $receiver, prefix, operation, rootType, extensionBlock) {
|
|
|
3633
3633
|
var tmp$ret$24 = toParameter($this, item);
|
|
3634
3634
|
destination.x(tmp$ret$24);
|
|
3635
3635
|
}
|
|
3636
|
-
return new Rpc(null, tmp_9, tmp_10, new Shape(destination), toReference($this, $receiver.
|
|
3636
|
+
return new Rpc(null, tmp_9, tmp_10, new Shape(destination), toReference($this, $receiver.i4j_1), null);
|
|
3637
3637
|
}
|
|
3638
3638
|
function toField_0($this, $receiver) {
|
|
3639
3639
|
// Inline function 'kotlin.let' call
|
|
3640
|
-
var reference = toReference($this, $receiver.
|
|
3641
|
-
var tmp0_safe_receiver = $receiver.
|
|
3642
|
-
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : Companion_getInstance_1().
|
|
3640
|
+
var reference = toReference($this, $receiver.n4j_1);
|
|
3641
|
+
var tmp0_safe_receiver = $receiver.o4j_1;
|
|
3642
|
+
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : Companion_getInstance_1().k4m(tmp0_safe_receiver, reference);
|
|
3643
3643
|
var tmp;
|
|
3644
3644
|
if (tmp1_safe_receiver == null) {
|
|
3645
3645
|
tmp = null;
|
|
@@ -3650,7 +3650,7 @@ function toField_0($this, $receiver) {
|
|
|
3650
3650
|
if (!(tmp1_safe_receiver instanceof EnumValue)) {
|
|
3651
3651
|
tmp_1 = true;
|
|
3652
3652
|
} else {
|
|
3653
|
-
tmp_1 = isEntryOf($this, tmp1_safe_receiver, Companion_getInstance_1().
|
|
3653
|
+
tmp_1 = isEntryOf($this, tmp1_safe_receiver, Companion_getInstance_1().l4m($receiver.n4j_1));
|
|
3654
3654
|
}
|
|
3655
3655
|
if (tmp_1) {
|
|
3656
3656
|
tmp_0 = tmp1_safe_receiver;
|
|
@@ -3663,7 +3663,7 @@ function toField_0($this, $receiver) {
|
|
|
3663
3663
|
}
|
|
3664
3664
|
function isEntryOf($this, $receiver, enum_0) {
|
|
3665
3665
|
// Inline function 'kotlin.collections.filterIsInstance' call
|
|
3666
|
-
var tmp0 = $this.
|
|
3666
|
+
var tmp0 = $this.j4l_1.z4j_1;
|
|
3667
3667
|
// Inline function 'kotlin.collections.filterIsInstanceTo' call
|
|
3668
3668
|
var destination = ArrayList_init_$Create$_0();
|
|
3669
3669
|
var _iterator__ex2g4s = tmp0.t();
|
|
@@ -3690,8 +3690,8 @@ function isEntryOf($this, $receiver, enum_0) {
|
|
|
3690
3690
|
while (_iterator__ex2g4s_0.u()) {
|
|
3691
3691
|
var element_0 = _iterator__ex2g4s_0.v();
|
|
3692
3692
|
var tmp_0;
|
|
3693
|
-
if (!element_0.
|
|
3694
|
-
var tmp0_0 = element_0.
|
|
3693
|
+
if (!element_0.x4h_1 && element_0.u4h_1 === enum_0) {
|
|
3694
|
+
var tmp0_0 = element_0.w4h_1;
|
|
3695
3695
|
var tmp$ret$4;
|
|
3696
3696
|
$l$block_1: {
|
|
3697
3697
|
// Inline function 'kotlin.collections.any' call
|
|
@@ -3708,7 +3708,7 @@ function isEntryOf($this, $receiver, enum_0) {
|
|
|
3708
3708
|
var _iterator__ex2g4s_1 = tmp0_0.t();
|
|
3709
3709
|
while (_iterator__ex2g4s_1.u()) {
|
|
3710
3710
|
var element_1 = _iterator__ex2g4s_1.v();
|
|
3711
|
-
if (element_1.
|
|
3711
|
+
if (element_1.v4j_1 === $receiver.r1a_1) {
|
|
3712
3712
|
tmp$ret$4 = true;
|
|
3713
3713
|
break $l$block_1;
|
|
3714
3714
|
}
|
|
@@ -3729,11 +3729,11 @@ function isEntryOf($this, $receiver, enum_0) {
|
|
|
3729
3729
|
return tmp$ret$2;
|
|
3730
3730
|
}
|
|
3731
3731
|
function toParameter($this, $receiver) {
|
|
3732
|
-
return toField_1($this, $receiver, toReference($this, $receiver.
|
|
3732
|
+
return toField_1($this, $receiver, toReference($this, $receiver.n4j_1), null);
|
|
3733
3733
|
}
|
|
3734
3734
|
function toField_1($this, $receiver, reference, native) {
|
|
3735
|
-
var tmp = toAnnotations($this, $receiver.
|
|
3736
|
-
var tmp0_safe_receiver = $receiver.
|
|
3735
|
+
var tmp = toAnnotations($this, $receiver.l4j_1);
|
|
3736
|
+
var tmp0_safe_receiver = $receiver.o4j_1;
|
|
3737
3737
|
var tmp_0;
|
|
3738
3738
|
if (tmp0_safe_receiver == null) {
|
|
3739
3739
|
tmp_0 = null;
|
|
@@ -3753,59 +3753,59 @@ function toField_1($this, $receiver, reference, native) {
|
|
|
3753
3753
|
tmp_2 = null;
|
|
3754
3754
|
} else {
|
|
3755
3755
|
// Inline function 'kotlin.let' call
|
|
3756
|
-
tmp_2 = GraphQLAnnotations_instance.
|
|
3756
|
+
tmp_2 = GraphQLAnnotations_instance.v4g('GraphQLDefault', GraphQLPrinter_instance.q4j(tmp1_safe_receiver));
|
|
3757
3757
|
}
|
|
3758
|
-
return new Field(plus(plus(plus(tmp, listOfNotNull(tmp_2)), toAnnotations_0($this, $receiver.
|
|
3758
|
+
return new Field(plus(plus(plus(tmp, listOfNotNull(tmp_2)), toAnnotations_0($this, $receiver.p4j_1)), toAnnotations_1($this, $receiver.n4j_1)), new FieldIdentifier($receiver.m4j_1), reference, native);
|
|
3759
3759
|
}
|
|
3760
3760
|
function toArgumentAnnotation($this, $receiver) {
|
|
3761
3761
|
var tmp = GraphQLAnnotations_instance;
|
|
3762
|
-
var tmp_0 = GraphQLAnnotations_instance.
|
|
3763
|
-
var tmp_1 = GraphQLAnnotations_instance.
|
|
3764
|
-
var tmp0_safe_receiver = $receiver.
|
|
3762
|
+
var tmp_0 = GraphQLAnnotations_instance.w4g('name', $receiver.m4j_1);
|
|
3763
|
+
var tmp_1 = GraphQLAnnotations_instance.w4g('type', GraphQLPrinter_instance.k4j($receiver.n4j_1));
|
|
3764
|
+
var tmp0_safe_receiver = $receiver.o4j_1;
|
|
3765
3765
|
var tmp_2;
|
|
3766
3766
|
if (tmp0_safe_receiver == null) {
|
|
3767
3767
|
tmp_2 = null;
|
|
3768
3768
|
} else {
|
|
3769
3769
|
// Inline function 'kotlin.let' call
|
|
3770
|
-
tmp_2 = GraphQLAnnotations_instance.
|
|
3770
|
+
tmp_2 = GraphQLAnnotations_instance.w4g('defaultValue', GraphQLPrinter_instance.q4j(tmp0_safe_receiver));
|
|
3771
3771
|
}
|
|
3772
3772
|
var tmp_3 = tmp_2;
|
|
3773
|
-
var tmp1_safe_receiver = $receiver.
|
|
3773
|
+
var tmp1_safe_receiver = $receiver.l4j_1;
|
|
3774
3774
|
var tmp_4;
|
|
3775
3775
|
if (tmp1_safe_receiver == null) {
|
|
3776
3776
|
tmp_4 = null;
|
|
3777
3777
|
} else {
|
|
3778
3778
|
// Inline function 'kotlin.let' call
|
|
3779
|
-
tmp_4 = GraphQLAnnotations_instance.
|
|
3779
|
+
tmp_4 = GraphQLAnnotations_instance.w4g('description', tmp1_safe_receiver);
|
|
3780
3780
|
}
|
|
3781
3781
|
var tmp_5 = tmp_4;
|
|
3782
3782
|
var tmp_6 = GraphQLAnnotations_instance;
|
|
3783
3783
|
// Inline function 'kotlin.collections.map' call
|
|
3784
|
-
var this_0 = $receiver.
|
|
3784
|
+
var this_0 = $receiver.p4j_1;
|
|
3785
3785
|
// Inline function 'kotlin.collections.mapTo' call
|
|
3786
3786
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
3787
3787
|
var _iterator__ex2g4s = this_0.t();
|
|
3788
3788
|
while (_iterator__ex2g4s.u()) {
|
|
3789
3789
|
var item = _iterator__ex2g4s.v();
|
|
3790
|
-
var tmp$ret$6 = GraphQLPrinter_instance.
|
|
3790
|
+
var tmp$ret$6 = GraphQLPrinter_instance.x4j(item);
|
|
3791
3791
|
destination.x(tmp$ret$6);
|
|
3792
3792
|
}
|
|
3793
|
-
return tmp.
|
|
3793
|
+
return tmp.u4g('GraphQLArgument', [tmp_0, tmp_1, tmp_3, tmp_5, tmp_6.x4g('directives', destination)]);
|
|
3794
3794
|
}
|
|
3795
3795
|
function identifier($this, $receiver) {
|
|
3796
3796
|
var tmp;
|
|
3797
3797
|
if ($receiver.wp()) {
|
|
3798
|
-
var tmp0_elvis_lhs = $this.
|
|
3799
|
-
tmp = claim($this, (tmp0_elvis_lhs == null ? Companion_getInstance_1().
|
|
3798
|
+
var tmp0_elvis_lhs = $this.s4l_1.s2($receiver.m());
|
|
3799
|
+
tmp = claim($this, (tmp0_elvis_lhs == null ? Companion_getInstance_1().c4m($receiver.m()) : tmp0_elvis_lhs) + 'Extension');
|
|
3800
3800
|
} else {
|
|
3801
|
-
tmp = getValue($this.
|
|
3801
|
+
tmp = getValue($this.s4l_1, $receiver.m());
|
|
3802
3802
|
}
|
|
3803
3803
|
return tmp;
|
|
3804
3804
|
}
|
|
3805
3805
|
function commonAnnotations($this, $receiver, interfaces) {
|
|
3806
3806
|
interfaces = interfaces === VOID ? emptyList() : interfaces;
|
|
3807
3807
|
// Inline function 'kotlin.takeIf' call
|
|
3808
|
-
var this_0 = GraphQLAnnotations_instance.
|
|
3808
|
+
var this_0 = GraphQLAnnotations_instance.v4g('GraphQLExtend', $receiver.m());
|
|
3809
3809
|
var tmp;
|
|
3810
3810
|
if ($receiver.wp()) {
|
|
3811
3811
|
tmp = this_0;
|
|
@@ -3814,16 +3814,16 @@ function commonAnnotations($this, $receiver, interfaces) {
|
|
|
3814
3814
|
}
|
|
3815
3815
|
var tmp_0 = tmp;
|
|
3816
3816
|
// Inline function 'kotlin.takeIf' call
|
|
3817
|
-
var this_1 = GraphQLAnnotations_instance.
|
|
3817
|
+
var this_1 = GraphQLAnnotations_instance.v4g('GraphQLName', $receiver.m());
|
|
3818
3818
|
var tmp_1;
|
|
3819
|
-
if (!$receiver.wp() && !($this.
|
|
3819
|
+
if (!$receiver.wp() && !($this.s4l_1.s2($receiver.m()) === $receiver.m())) {
|
|
3820
3820
|
tmp_1 = this_1;
|
|
3821
3821
|
} else {
|
|
3822
3822
|
tmp_1 = null;
|
|
3823
3823
|
}
|
|
3824
3824
|
var tmp_2 = tmp_1;
|
|
3825
3825
|
// Inline function 'kotlin.takeIf' call
|
|
3826
|
-
var this_2 = GraphQLAnnotations_instance.
|
|
3826
|
+
var this_2 = GraphQLAnnotations_instance.u4g('GraphQLImplements', [GraphQLAnnotations_instance.x4g('default', interfaces)]);
|
|
3827
3827
|
var tmp_3;
|
|
3828
3828
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
3829
3829
|
if (!interfaces.r()) {
|
|
@@ -3837,22 +3837,22 @@ function commonAnnotations($this, $receiver, interfaces) {
|
|
|
3837
3837
|
function description($this, $receiver) {
|
|
3838
3838
|
var tmp;
|
|
3839
3839
|
if ($receiver instanceof ScalarTypeDefinition) {
|
|
3840
|
-
tmp = $receiver.
|
|
3840
|
+
tmp = $receiver.y4g_1;
|
|
3841
3841
|
} else {
|
|
3842
3842
|
if ($receiver instanceof ObjectTypeDefinition) {
|
|
3843
|
-
tmp = $receiver.
|
|
3843
|
+
tmp = $receiver.c4h_1;
|
|
3844
3844
|
} else {
|
|
3845
3845
|
if ($receiver instanceof InterfaceTypeDefinition) {
|
|
3846
|
-
tmp = $receiver.
|
|
3846
|
+
tmp = $receiver.i4h_1;
|
|
3847
3847
|
} else {
|
|
3848
3848
|
if ($receiver instanceof UnionTypeDefinition) {
|
|
3849
|
-
tmp = $receiver.
|
|
3849
|
+
tmp = $receiver.o4h_1;
|
|
3850
3850
|
} else {
|
|
3851
3851
|
if ($receiver instanceof EnumTypeDefinition) {
|
|
3852
|
-
tmp = $receiver.
|
|
3852
|
+
tmp = $receiver.t4h_1;
|
|
3853
3853
|
} else {
|
|
3854
3854
|
if ($receiver instanceof InputObjectTypeDefinition) {
|
|
3855
|
-
tmp = $receiver.
|
|
3855
|
+
tmp = $receiver.y4h_1;
|
|
3856
3856
|
} else {
|
|
3857
3857
|
noWhenBranchMatchedException();
|
|
3858
3858
|
}
|
|
@@ -3866,22 +3866,22 @@ function description($this, $receiver) {
|
|
|
3866
3866
|
function directives($this, $receiver) {
|
|
3867
3867
|
var tmp;
|
|
3868
3868
|
if ($receiver instanceof ScalarTypeDefinition) {
|
|
3869
|
-
tmp = $receiver.
|
|
3869
|
+
tmp = $receiver.a4h_1;
|
|
3870
3870
|
} else {
|
|
3871
3871
|
if ($receiver instanceof ObjectTypeDefinition) {
|
|
3872
|
-
tmp = $receiver.
|
|
3872
|
+
tmp = $receiver.f4h_1;
|
|
3873
3873
|
} else {
|
|
3874
3874
|
if ($receiver instanceof InterfaceTypeDefinition) {
|
|
3875
|
-
tmp = $receiver.
|
|
3875
|
+
tmp = $receiver.l4h_1;
|
|
3876
3876
|
} else {
|
|
3877
3877
|
if ($receiver instanceof UnionTypeDefinition) {
|
|
3878
|
-
tmp = $receiver.
|
|
3878
|
+
tmp = $receiver.q4h_1;
|
|
3879
3879
|
} else {
|
|
3880
3880
|
if ($receiver instanceof EnumTypeDefinition) {
|
|
3881
|
-
tmp = $receiver.
|
|
3881
|
+
tmp = $receiver.v4h_1;
|
|
3882
3882
|
} else {
|
|
3883
3883
|
if ($receiver instanceof InputObjectTypeDefinition) {
|
|
3884
|
-
tmp = $receiver.
|
|
3884
|
+
tmp = $receiver.a4i_1;
|
|
3885
3885
|
} else {
|
|
3886
3886
|
noWhenBranchMatchedException();
|
|
3887
3887
|
}
|
|
@@ -3898,7 +3898,7 @@ function toAnnotations($this, $receiver) {
|
|
|
3898
3898
|
tmp = null;
|
|
3899
3899
|
} else {
|
|
3900
3900
|
// Inline function 'kotlin.let' call
|
|
3901
|
-
tmp = GraphQLAnnotations_instance.
|
|
3901
|
+
tmp = GraphQLAnnotations_instance.v4g('Description', $receiver);
|
|
3902
3902
|
}
|
|
3903
3903
|
return listOfNotNull(tmp);
|
|
3904
3904
|
}
|
|
@@ -3909,16 +3909,16 @@ function toAnnotations_0($this, $receiver) {
|
|
|
3909
3909
|
var _iterator__ex2g4s = $receiver.t();
|
|
3910
3910
|
while (_iterator__ex2g4s.u()) {
|
|
3911
3911
|
var item = _iterator__ex2g4s.v();
|
|
3912
|
-
var tmp$ret$2 = GraphQLAnnotations_instance.
|
|
3912
|
+
var tmp$ret$2 = GraphQLAnnotations_instance.v4g('GraphQLDirective', GraphQLPrinter_instance.x4j(item));
|
|
3913
3913
|
destination.x(tmp$ret$2);
|
|
3914
3914
|
}
|
|
3915
3915
|
return destination;
|
|
3916
3916
|
}
|
|
3917
3917
|
function toAnnotations_1($this, $receiver) {
|
|
3918
3918
|
// Inline function 'kotlin.takeIf' call
|
|
3919
|
-
var this_0 = GraphQLAnnotations_instance.
|
|
3919
|
+
var this_0 = GraphQLAnnotations_instance.v4g('GraphQLType', GraphQLPrinter_instance.k4j($receiver));
|
|
3920
3920
|
var tmp;
|
|
3921
|
-
if ($this.
|
|
3921
|
+
if ($this.q4l_1.i1(name($this, $receiver))) {
|
|
3922
3922
|
tmp = this_0;
|
|
3923
3923
|
} else {
|
|
3924
3924
|
tmp = null;
|
|
@@ -3929,13 +3929,13 @@ function toAnnotations_1($this, $receiver) {
|
|
|
3929
3929
|
function name($this, $receiver) {
|
|
3930
3930
|
var tmp;
|
|
3931
3931
|
if ($receiver instanceof Named) {
|
|
3932
|
-
tmp = $receiver.
|
|
3932
|
+
tmp = $receiver.t4k_1;
|
|
3933
3933
|
} else {
|
|
3934
3934
|
if ($receiver instanceof ListOf) {
|
|
3935
|
-
tmp = name($this, $receiver.
|
|
3935
|
+
tmp = name($this, $receiver.u4k_1);
|
|
3936
3936
|
} else {
|
|
3937
3937
|
if ($receiver instanceof NonNull) {
|
|
3938
|
-
tmp = name($this, $receiver.
|
|
3938
|
+
tmp = name($this, $receiver.v4k_1);
|
|
3939
3939
|
} else {
|
|
3940
3940
|
noWhenBranchMatchedException();
|
|
3941
3941
|
}
|
|
@@ -3947,13 +3947,13 @@ function toReference($this, $receiver, isNullable) {
|
|
|
3947
3947
|
isNullable = isNullable === VOID ? true : isNullable;
|
|
3948
3948
|
var tmp;
|
|
3949
3949
|
if ($receiver instanceof NonNull) {
|
|
3950
|
-
tmp = toReference($this, $receiver.
|
|
3950
|
+
tmp = toReference($this, $receiver.v4k_1, false);
|
|
3951
3951
|
} else {
|
|
3952
3952
|
if ($receiver instanceof ListOf) {
|
|
3953
|
-
tmp = new Iterable(toReference($this, $receiver.
|
|
3953
|
+
tmp = new Iterable(toReference($this, $receiver.u4k_1), isNullable);
|
|
3954
3954
|
} else {
|
|
3955
3955
|
if ($receiver instanceof Named) {
|
|
3956
|
-
switch ($receiver.
|
|
3956
|
+
switch ($receiver.t4k_1) {
|
|
3957
3957
|
case 'Int':
|
|
3958
3958
|
tmp = new Primitive(new Integer(Precision_P32_getInstance(), null), isNullable);
|
|
3959
3959
|
break;
|
|
@@ -3967,7 +3967,7 @@ function toReference($this, $receiver, isNullable) {
|
|
|
3967
3967
|
tmp = new Primitive(Boolean_instance, isNullable);
|
|
3968
3968
|
break;
|
|
3969
3969
|
default:
|
|
3970
|
-
tmp = new Custom(resolve($this, $receiver.
|
|
3970
|
+
tmp = new Custom(resolve($this, $receiver.t4k_1), isNullable);
|
|
3971
3971
|
break;
|
|
3972
3972
|
}
|
|
3973
3973
|
} else {
|
|
@@ -3978,7 +3978,7 @@ function toReference($this, $receiver, isNullable) {
|
|
|
3978
3978
|
return tmp;
|
|
3979
3979
|
}
|
|
3980
3980
|
function resolve($this, $receiver) {
|
|
3981
|
-
var tmp0_elvis_lhs = $this.
|
|
3981
|
+
var tmp0_elvis_lhs = $this.s4l_1.s2($receiver);
|
|
3982
3982
|
return tmp0_elvis_lhs == null ? $receiver : tmp0_elvis_lhs;
|
|
3983
3983
|
}
|
|
3984
3984
|
function scalarType($this, $receiver) {
|
|
@@ -3995,9 +3995,9 @@ function scalarType($this, $receiver) {
|
|
|
3995
3995
|
}
|
|
3996
3996
|
function builtInId($this) {
|
|
3997
3997
|
// Inline function 'kotlin.takeIf' call
|
|
3998
|
-
var this_0 = new Refined(null, listOf(GraphQLAnnotations_instance.
|
|
3998
|
+
var this_0 = new Refined(null, listOf(GraphQLAnnotations_instance.u4g('GraphQLBuiltIn', [])), new DefinitionIdentifier('ID'), new Primitive(new String_0(null), false));
|
|
3999
3999
|
var tmp;
|
|
4000
|
-
if ($this.
|
|
4000
|
+
if ($this.p4l_1) {
|
|
4001
4001
|
tmp = this_0;
|
|
4002
4002
|
} else {
|
|
4003
4003
|
tmp = null;
|
|
@@ -4050,7 +4050,7 @@ function claim($this, candidate) {
|
|
|
4050
4050
|
var _iterator__ex2g4s = tmp0.t();
|
|
4051
4051
|
while (_iterator__ex2g4s.u()) {
|
|
4052
4052
|
var element = _iterator__ex2g4s.v();
|
|
4053
|
-
if (!$this.
|
|
4053
|
+
if (!$this.r4l_1.i1(element)) {
|
|
4054
4054
|
tmp$ret$2 = element;
|
|
4055
4055
|
break $l$block;
|
|
4056
4056
|
}
|
|
@@ -4060,21 +4060,21 @@ function claim($this, candidate) {
|
|
|
4060
4060
|
// Inline function 'kotlin.also' call
|
|
4061
4061
|
var this_0 = tmp$ret$2;
|
|
4062
4062
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
4063
|
-
$this.
|
|
4063
|
+
$this.r4l_1.x(this_0);
|
|
4064
4064
|
return this_0;
|
|
4065
4065
|
}
|
|
4066
4066
|
function Companion_1() {
|
|
4067
4067
|
Companion_instance_1 = this;
|
|
4068
|
-
this.
|
|
4069
|
-
this.
|
|
4070
|
-
this.
|
|
4071
|
-
this.
|
|
4072
|
-
this.
|
|
4068
|
+
this.x4l_1 = 'ID';
|
|
4069
|
+
this.y4l_1 = setOf(['Int', 'Float', 'String', 'Boolean']);
|
|
4070
|
+
this.z4l_1 = Regex_init_$Create$('[A-Z][a-zA-Z0-9_]*');
|
|
4071
|
+
this.a4m_1 = setOf(['Any', 'Boolean', 'Bytes', 'Integer', 'Integer32', 'Number', 'Number32', 'String', 'Unit', 'GET', 'POST', 'PUT', 'DELETE', 'OPTIONS', 'HEAD', 'PATCH', 'TRACE']);
|
|
4072
|
+
this.b4m_1 = Regex_init_$Create$('-?[0-9]+\\.[0-9]+');
|
|
4073
4073
|
}
|
|
4074
|
-
protoOf(Companion_1).
|
|
4075
|
-
return this.
|
|
4074
|
+
protoOf(Companion_1).j4m = function (_this__u8e3s4) {
|
|
4075
|
+
return this.z4l_1.rc(_this__u8e3s4) && !this.a4m_1.i1(_this__u8e3s4);
|
|
4076
4076
|
};
|
|
4077
|
-
protoOf(Companion_1).
|
|
4077
|
+
protoOf(Companion_1).c4m = function (_this__u8e3s4) {
|
|
4078
4078
|
// Inline function 'kotlin.text.replaceFirstChar' call
|
|
4079
4079
|
var this_0 = trimStart(_this__u8e3s4, charArrayOf([_Char___init__impl__6a9atx(95)]));
|
|
4080
4080
|
var tmp;
|
|
@@ -4102,7 +4102,7 @@ protoOf(Companion_1).y4h = function (_this__u8e3s4) {
|
|
|
4102
4102
|
tmp_2 = isLetter(tmp0_safe_receiver);
|
|
4103
4103
|
}
|
|
4104
4104
|
if (tmp_2 === true) {
|
|
4105
|
-
tmp_1 = !Companion_getInstance_1().
|
|
4105
|
+
tmp_1 = !Companion_getInstance_1().a4m_1.i1(it);
|
|
4106
4106
|
} else {
|
|
4107
4107
|
tmp_1 = false;
|
|
4108
4108
|
}
|
|
@@ -4113,9 +4113,9 @@ protoOf(Companion_1).y4h = function (_this__u8e3s4) {
|
|
|
4113
4113
|
}
|
|
4114
4114
|
return tmp_0;
|
|
4115
4115
|
};
|
|
4116
|
-
protoOf(Companion_1).
|
|
4116
|
+
protoOf(Companion_1).m4m = function (_this__u8e3s4) {
|
|
4117
4117
|
// Inline function 'kotlin.collections.flatMap' call
|
|
4118
|
-
var tmp0 = _this__u8e3s4.
|
|
4118
|
+
var tmp0 = _this__u8e3s4.z4j_1;
|
|
4119
4119
|
// Inline function 'kotlin.collections.flatMapTo' call
|
|
4120
4120
|
var destination = ArrayList_init_$Create$_0();
|
|
4121
4121
|
var _iterator__ex2g4s = tmp0.t();
|
|
@@ -4124,26 +4124,26 @@ protoOf(Companion_1).i4i = function (_this__u8e3s4) {
|
|
|
4124
4124
|
var tmp;
|
|
4125
4125
|
if (element instanceof SchemaDefinition) {
|
|
4126
4126
|
// Inline function 'kotlin.collections.map' call
|
|
4127
|
-
var this_0 = element.
|
|
4127
|
+
var this_0 = element.d4j_1;
|
|
4128
4128
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4129
4129
|
var destination_0 = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
4130
4130
|
var _iterator__ex2g4s_0 = this_0.t();
|
|
4131
4131
|
while (_iterator__ex2g4s_0.u()) {
|
|
4132
4132
|
var item = _iterator__ex2g4s_0.v();
|
|
4133
|
-
var tmp$ret$5 = item.
|
|
4133
|
+
var tmp$ret$5 = item.t4j_1;
|
|
4134
4134
|
destination_0.x(tmp$ret$5);
|
|
4135
4135
|
}
|
|
4136
4136
|
tmp = destination_0;
|
|
4137
4137
|
} else {
|
|
4138
4138
|
if (element instanceof DirectiveDefinition) {
|
|
4139
4139
|
// Inline function 'kotlin.collections.map' call
|
|
4140
|
-
var this_1 = element.
|
|
4140
|
+
var this_1 = element.y4i_1;
|
|
4141
4141
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4142
4142
|
var destination_1 = ArrayList_init_$Create$(collectionSizeOrDefault(this_1, 10));
|
|
4143
4143
|
var _iterator__ex2g4s_1 = this_1.t();
|
|
4144
4144
|
while (_iterator__ex2g4s_1.u()) {
|
|
4145
4145
|
var item_0 = _iterator__ex2g4s_1.v();
|
|
4146
|
-
var tmp$ret$8 = Companion_getInstance_1().
|
|
4146
|
+
var tmp$ret$8 = Companion_getInstance_1().l4m(item_0.n4j_1);
|
|
4147
4147
|
destination_1.x(tmp$ret$8);
|
|
4148
4148
|
}
|
|
4149
4149
|
tmp = destination_1;
|
|
@@ -4153,45 +4153,45 @@ protoOf(Companion_1).i4i = function (_this__u8e3s4) {
|
|
|
4153
4153
|
} else {
|
|
4154
4154
|
if (element instanceof ObjectTypeDefinition) {
|
|
4155
4155
|
// Inline function 'kotlin.collections.flatMap' call
|
|
4156
|
-
var tmp0_0 = element.
|
|
4156
|
+
var tmp0_0 = element.g4h_1;
|
|
4157
4157
|
// Inline function 'kotlin.collections.flatMapTo' call
|
|
4158
4158
|
var destination_2 = ArrayList_init_$Create$_0();
|
|
4159
4159
|
var _iterator__ex2g4s_2 = tmp0_0.t();
|
|
4160
4160
|
while (_iterator__ex2g4s_2.u()) {
|
|
4161
4161
|
var element_0 = _iterator__ex2g4s_2.v();
|
|
4162
|
-
var list = Companion_getInstance_1().
|
|
4162
|
+
var list = Companion_getInstance_1().n4m(element_0);
|
|
4163
4163
|
addAll(destination_2, list);
|
|
4164
4164
|
}
|
|
4165
4165
|
tmp = destination_2;
|
|
4166
4166
|
} else {
|
|
4167
4167
|
if (element instanceof InterfaceTypeDefinition) {
|
|
4168
4168
|
// Inline function 'kotlin.collections.flatMap' call
|
|
4169
|
-
var tmp0_1 = element.
|
|
4169
|
+
var tmp0_1 = element.m4h_1;
|
|
4170
4170
|
// Inline function 'kotlin.collections.flatMapTo' call
|
|
4171
4171
|
var destination_3 = ArrayList_init_$Create$_0();
|
|
4172
4172
|
var _iterator__ex2g4s_3 = tmp0_1.t();
|
|
4173
4173
|
while (_iterator__ex2g4s_3.u()) {
|
|
4174
4174
|
var element_1 = _iterator__ex2g4s_3.v();
|
|
4175
|
-
var list_0 = Companion_getInstance_1().
|
|
4175
|
+
var list_0 = Companion_getInstance_1().n4m(element_1);
|
|
4176
4176
|
addAll(destination_3, list_0);
|
|
4177
4177
|
}
|
|
4178
4178
|
tmp = destination_3;
|
|
4179
4179
|
} else {
|
|
4180
4180
|
if (element instanceof UnionTypeDefinition) {
|
|
4181
|
-
tmp = element.
|
|
4181
|
+
tmp = element.r4h_1;
|
|
4182
4182
|
} else {
|
|
4183
4183
|
if (element instanceof EnumTypeDefinition) {
|
|
4184
4184
|
tmp = emptyList();
|
|
4185
4185
|
} else {
|
|
4186
4186
|
if (element instanceof InputObjectTypeDefinition) {
|
|
4187
4187
|
// Inline function 'kotlin.collections.map' call
|
|
4188
|
-
var this_2 = element.
|
|
4188
|
+
var this_2 = element.b4i_1;
|
|
4189
4189
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4190
4190
|
var destination_4 = ArrayList_init_$Create$(collectionSizeOrDefault(this_2, 10));
|
|
4191
4191
|
var _iterator__ex2g4s_4 = this_2.t();
|
|
4192
4192
|
while (_iterator__ex2g4s_4.u()) {
|
|
4193
4193
|
var item_1 = _iterator__ex2g4s_4.v();
|
|
4194
|
-
var tmp$ret$17 = Companion_getInstance_1().
|
|
4194
|
+
var tmp$ret$17 = Companion_getInstance_1().l4m(item_1.n4j_1);
|
|
4195
4195
|
destination_4.x(tmp$ret$17);
|
|
4196
4196
|
}
|
|
4197
4197
|
tmp = destination_4;
|
|
@@ -4210,33 +4210,33 @@ protoOf(Companion_1).i4i = function (_this__u8e3s4) {
|
|
|
4210
4210
|
}
|
|
4211
4211
|
return destination;
|
|
4212
4212
|
};
|
|
4213
|
-
protoOf(Companion_1).
|
|
4214
|
-
var tmp = listOf(this.
|
|
4213
|
+
protoOf(Companion_1).n4m = function (_this__u8e3s4) {
|
|
4214
|
+
var tmp = listOf(this.l4m(_this__u8e3s4.i4j_1));
|
|
4215
4215
|
// Inline function 'kotlin.collections.map' call
|
|
4216
|
-
var this_0 = _this__u8e3s4.
|
|
4216
|
+
var this_0 = _this__u8e3s4.h4j_1;
|
|
4217
4217
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4218
4218
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
4219
4219
|
var _iterator__ex2g4s = this_0.t();
|
|
4220
4220
|
while (_iterator__ex2g4s.u()) {
|
|
4221
4221
|
var item = _iterator__ex2g4s.v();
|
|
4222
|
-
var tmp$ret$2 = Companion_getInstance_1().
|
|
4222
|
+
var tmp$ret$2 = Companion_getInstance_1().l4m(item.n4j_1);
|
|
4223
4223
|
destination.x(tmp$ret$2);
|
|
4224
4224
|
}
|
|
4225
4225
|
return plus(tmp, destination);
|
|
4226
4226
|
};
|
|
4227
|
-
protoOf(Companion_1).
|
|
4227
|
+
protoOf(Companion_1).k4m = function (_this__u8e3s4, reference) {
|
|
4228
4228
|
var tmp;
|
|
4229
4229
|
if (_this__u8e3s4 instanceof StringValue_1) {
|
|
4230
|
-
tmp = new StringValue(_this__u8e3s4.
|
|
4230
|
+
tmp = new StringValue(_this__u8e3s4.y4k_1);
|
|
4231
4231
|
} else {
|
|
4232
4232
|
if (_this__u8e3s4 instanceof IntValue_0) {
|
|
4233
|
-
tmp = new IntegerValue(_this__u8e3s4.
|
|
4233
|
+
tmp = new IntegerValue(_this__u8e3s4.w4k_1);
|
|
4234
4234
|
} else {
|
|
4235
4235
|
if (_this__u8e3s4 instanceof FloatValue_0) {
|
|
4236
4236
|
// Inline function 'kotlin.takeIf' call
|
|
4237
|
-
var this_0 = new NumberValue(_this__u8e3s4.
|
|
4237
|
+
var this_0 = new NumberValue(_this__u8e3s4.x4k_1);
|
|
4238
4238
|
var tmp_0;
|
|
4239
|
-
if (Companion_getInstance_1().
|
|
4239
|
+
if (Companion_getInstance_1().b4m_1.rc(_this__u8e3s4.x4k_1)) {
|
|
4240
4240
|
tmp_0 = this_0;
|
|
4241
4241
|
} else {
|
|
4242
4242
|
tmp_0 = null;
|
|
@@ -4244,13 +4244,13 @@ protoOf(Companion_1).g4i = function (_this__u8e3s4, reference) {
|
|
|
4244
4244
|
tmp = tmp_0;
|
|
4245
4245
|
} else {
|
|
4246
4246
|
if (_this__u8e3s4 instanceof BooleanValue_0) {
|
|
4247
|
-
tmp = new BooleanValue(_this__u8e3s4.
|
|
4247
|
+
tmp = new BooleanValue(_this__u8e3s4.z4k_1);
|
|
4248
4248
|
} else {
|
|
4249
4249
|
if (_this__u8e3s4 instanceof NullValue) {
|
|
4250
4250
|
tmp = NullValue_instance;
|
|
4251
4251
|
} else {
|
|
4252
4252
|
if (_this__u8e3s4 instanceof EnumValue_0) {
|
|
4253
|
-
tmp = new EnumValue(_this__u8e3s4.
|
|
4253
|
+
tmp = new EnumValue(_this__u8e3s4.a4l_1);
|
|
4254
4254
|
} else {
|
|
4255
4255
|
var tmp_1;
|
|
4256
4256
|
if (_this__u8e3s4 instanceof ListValue) {
|
|
@@ -4286,16 +4286,16 @@ protoOf(Companion_1).g4i = function (_this__u8e3s4, reference) {
|
|
|
4286
4286
|
}
|
|
4287
4287
|
return tmp_2;
|
|
4288
4288
|
};
|
|
4289
|
-
protoOf(Companion_1).
|
|
4289
|
+
protoOf(Companion_1).l4m = function (_this__u8e3s4) {
|
|
4290
4290
|
var tmp;
|
|
4291
4291
|
if (_this__u8e3s4 instanceof Named) {
|
|
4292
|
-
tmp = _this__u8e3s4.
|
|
4292
|
+
tmp = _this__u8e3s4.t4k_1;
|
|
4293
4293
|
} else {
|
|
4294
4294
|
if (_this__u8e3s4 instanceof ListOf) {
|
|
4295
|
-
tmp = this.
|
|
4295
|
+
tmp = this.l4m(_this__u8e3s4.u4k_1);
|
|
4296
4296
|
} else {
|
|
4297
4297
|
if (_this__u8e3s4 instanceof NonNull) {
|
|
4298
|
-
tmp = this.
|
|
4298
|
+
tmp = this.l4m(_this__u8e3s4.v4k_1);
|
|
4299
4299
|
} else {
|
|
4300
4300
|
noWhenBranchMatchedException();
|
|
4301
4301
|
}
|
|
@@ -4310,16 +4310,16 @@ function Companion_getInstance_1() {
|
|
|
4310
4310
|
return Companion_instance_1;
|
|
4311
4311
|
}
|
|
4312
4312
|
function sam$kotlin_Comparator$0(function_0) {
|
|
4313
|
-
this.
|
|
4313
|
+
this.o4m_1 = function_0;
|
|
4314
4314
|
}
|
|
4315
4315
|
protoOf(sam$kotlin_Comparator$0).yd = function (a, b) {
|
|
4316
|
-
return this.
|
|
4316
|
+
return this.o4m_1(a, b);
|
|
4317
4317
|
};
|
|
4318
4318
|
protoOf(sam$kotlin_Comparator$0).compare = function (a, b) {
|
|
4319
4319
|
return this.yd(a, b);
|
|
4320
4320
|
};
|
|
4321
4321
|
protoOf(sam$kotlin_Comparator$0).o3 = function () {
|
|
4322
|
-
return this.
|
|
4322
|
+
return this.o4m_1;
|
|
4323
4323
|
};
|
|
4324
4324
|
protoOf(sam$kotlin_Comparator$0).equals = function (other) {
|
|
4325
4325
|
var tmp;
|
|
@@ -4427,7 +4427,7 @@ function GraphQLConverter$reachable$lambda(this$0) {
|
|
|
4427
4427
|
while (_iterator__ex2g4s.u()) {
|
|
4428
4428
|
var element = _iterator__ex2g4s.v();
|
|
4429
4429
|
// Inline function 'kotlin.collections.orEmpty' call
|
|
4430
|
-
var tmp0_elvis_lhs = this$0.
|
|
4430
|
+
var tmp0_elvis_lhs = this$0.u4l_1.s2(element);
|
|
4431
4431
|
var list = tmp0_elvis_lhs == null ? emptyList() : tmp0_elvis_lhs;
|
|
4432
4432
|
addAll(destination, list);
|
|
4433
4433
|
}
|
|
@@ -4452,10 +4452,10 @@ function GraphQLConverter$claim$lambda_0($candidate) {
|
|
|
4452
4452
|
}
|
|
4453
4453
|
function GraphQLConverter(document) {
|
|
4454
4454
|
Companion_getInstance_1();
|
|
4455
|
-
this.
|
|
4455
|
+
this.j4l_1 = document;
|
|
4456
4456
|
var tmp = this;
|
|
4457
4457
|
// Inline function 'kotlin.collections.filterIsInstance' call
|
|
4458
|
-
var tmp0 = this.
|
|
4458
|
+
var tmp0 = this.j4l_1.z4j_1;
|
|
4459
4459
|
// Inline function 'kotlin.collections.filterIsInstanceTo' call
|
|
4460
4460
|
var destination = ArrayList_init_$Create$_0();
|
|
4461
4461
|
var _iterator__ex2g4s = tmp0.t();
|
|
@@ -4485,7 +4485,7 @@ function GraphQLConverter(document) {
|
|
|
4485
4485
|
var _iterator__ex2g4s_0 = destination.t();
|
|
4486
4486
|
while (_iterator__ex2g4s_0.u()) {
|
|
4487
4487
|
var element_0 = _iterator__ex2g4s_0.v();
|
|
4488
|
-
if (!element_0.
|
|
4488
|
+
if (!element_0.e4j_1) {
|
|
4489
4489
|
tmp$ret$6 = false;
|
|
4490
4490
|
break $l$block_0;
|
|
4491
4491
|
}
|
|
@@ -4506,7 +4506,7 @@ function GraphQLConverter(document) {
|
|
|
4506
4506
|
var _iterator__ex2g4s_1 = this_1.t();
|
|
4507
4507
|
while (_iterator__ex2g4s_1.u()) {
|
|
4508
4508
|
var element_1 = _iterator__ex2g4s_1.v();
|
|
4509
|
-
var tmp$ret$11 = element_1.
|
|
4509
|
+
var tmp$ret$11 = element_1.t4g_1;
|
|
4510
4510
|
result.v2(element_1, tmp$ret$11);
|
|
4511
4511
|
}
|
|
4512
4512
|
var defaults = result;
|
|
@@ -4516,7 +4516,7 @@ function GraphQLConverter(document) {
|
|
|
4516
4516
|
var _iterator__ex2g4s_2 = destination.t();
|
|
4517
4517
|
while (_iterator__ex2g4s_2.u()) {
|
|
4518
4518
|
var element_2 = _iterator__ex2g4s_2.v();
|
|
4519
|
-
var list = element_2.
|
|
4519
|
+
var list = element_2.d4j_1;
|
|
4520
4520
|
addAll(destination_0, list);
|
|
4521
4521
|
}
|
|
4522
4522
|
// Inline function 'kotlin.collections.associate' call
|
|
@@ -4527,14 +4527,14 @@ function GraphQLConverter(document) {
|
|
|
4527
4527
|
while (_iterator__ex2g4s_3.u()) {
|
|
4528
4528
|
var element_3 = _iterator__ex2g4s_3.v();
|
|
4529
4529
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
4530
|
-
var pair = to(element_3.
|
|
4530
|
+
var pair = to(element_3.s4j_1, element_3.t4j_1);
|
|
4531
4531
|
destination_1.v2(pair.ff_1, pair.gf_1);
|
|
4532
4532
|
}
|
|
4533
|
-
tmp.
|
|
4534
|
-
this.
|
|
4533
|
+
tmp.k4l_1 = plus_4(defaults, destination_1);
|
|
4534
|
+
this.l4l_1 = toSet(this.k4l_1.u2());
|
|
4535
4535
|
var tmp_2 = this;
|
|
4536
4536
|
// Inline function 'kotlin.collections.flatMap' call
|
|
4537
|
-
var tmp0_0 = this.
|
|
4537
|
+
var tmp0_0 = this.j4l_1.z4j_1;
|
|
4538
4538
|
// Inline function 'kotlin.collections.flatMapTo' call
|
|
4539
4539
|
var destination_2 = ArrayList_init_$Create$_0();
|
|
4540
4540
|
var _iterator__ex2g4s_4 = tmp0_0.t();
|
|
@@ -4543,32 +4543,32 @@ function GraphQLConverter(document) {
|
|
|
4543
4543
|
var tmp_3;
|
|
4544
4544
|
if (element_4 instanceof ObjectTypeDefinition) {
|
|
4545
4545
|
// Inline function 'kotlin.collections.map' call
|
|
4546
|
-
var this_2 = element_4.
|
|
4546
|
+
var this_2 = element_4.g4h_1;
|
|
4547
4547
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4548
4548
|
var destination_3 = ArrayList_init_$Create$(collectionSizeOrDefault(this_2, 10));
|
|
4549
4549
|
var _iterator__ex2g4s_5 = this_2.t();
|
|
4550
4550
|
while (_iterator__ex2g4s_5.u()) {
|
|
4551
4551
|
var item = _iterator__ex2g4s_5.v();
|
|
4552
|
-
var tmp$ret$24 = Companion_getInstance_1().
|
|
4552
|
+
var tmp$ret$24 = Companion_getInstance_1().l4m(item.i4j_1);
|
|
4553
4553
|
destination_3.x(tmp$ret$24);
|
|
4554
4554
|
}
|
|
4555
4555
|
tmp_3 = destination_3;
|
|
4556
4556
|
} else {
|
|
4557
4557
|
if (element_4 instanceof InterfaceTypeDefinition) {
|
|
4558
4558
|
// Inline function 'kotlin.collections.map' call
|
|
4559
|
-
var this_3 = element_4.
|
|
4559
|
+
var this_3 = element_4.m4h_1;
|
|
4560
4560
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4561
4561
|
var destination_4 = ArrayList_init_$Create$(collectionSizeOrDefault(this_3, 10));
|
|
4562
4562
|
var _iterator__ex2g4s_6 = this_3.t();
|
|
4563
4563
|
while (_iterator__ex2g4s_6.u()) {
|
|
4564
4564
|
var item_0 = _iterator__ex2g4s_6.v();
|
|
4565
|
-
var tmp$ret$27 = Companion_getInstance_1().
|
|
4565
|
+
var tmp$ret$27 = Companion_getInstance_1().l4m(item_0.i4j_1);
|
|
4566
4566
|
destination_4.x(tmp$ret$27);
|
|
4567
4567
|
}
|
|
4568
4568
|
tmp_3 = destination_4;
|
|
4569
4569
|
} else {
|
|
4570
4570
|
if (element_4 instanceof UnionTypeDefinition) {
|
|
4571
|
-
tmp_3 = element_4.
|
|
4571
|
+
tmp_3 = element_4.r4h_1;
|
|
4572
4572
|
} else {
|
|
4573
4573
|
tmp_3 = emptyList();
|
|
4574
4574
|
}
|
|
@@ -4577,10 +4577,10 @@ function GraphQLConverter(document) {
|
|
|
4577
4577
|
var list_0 = tmp_3;
|
|
4578
4578
|
addAll(destination_2, list_0);
|
|
4579
4579
|
}
|
|
4580
|
-
tmp_2.
|
|
4580
|
+
tmp_2.m4l_1 = toSet(destination_2);
|
|
4581
4581
|
var tmp_4 = this;
|
|
4582
4582
|
// Inline function 'kotlin.collections.filterIsInstance' call
|
|
4583
|
-
var tmp0_1 = this.
|
|
4583
|
+
var tmp0_1 = this.j4l_1.z4j_1;
|
|
4584
4584
|
// Inline function 'kotlin.collections.filterIsInstanceTo' call
|
|
4585
4585
|
var destination_5 = ArrayList_init_$Create$_0();
|
|
4586
4586
|
var _iterator__ex2g4s_7 = tmp0_1.t();
|
|
@@ -4609,50 +4609,50 @@ function GraphQLConverter(document) {
|
|
|
4609
4609
|
var tmp$ret$35 = item_1.m();
|
|
4610
4610
|
destination_7.x(tmp$ret$35);
|
|
4611
4611
|
}
|
|
4612
|
-
tmp_4.
|
|
4612
|
+
tmp_4.n4l_1 = distinct(destination_7);
|
|
4613
4613
|
var tmp_5 = this;
|
|
4614
4614
|
// Inline function 'kotlin.collections.filterNot' call
|
|
4615
|
-
var tmp0_2 = distinct(Companion_getInstance_1().
|
|
4615
|
+
var tmp0_2 = distinct(Companion_getInstance_1().m4m(this.j4l_1));
|
|
4616
4616
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
4617
4617
|
var destination_8 = ArrayList_init_$Create$_0();
|
|
4618
4618
|
var _iterator__ex2g4s_10 = tmp0_2.t();
|
|
4619
4619
|
while (_iterator__ex2g4s_10.u()) {
|
|
4620
4620
|
var element_7 = _iterator__ex2g4s_10.v();
|
|
4621
|
-
if (!(Companion_getInstance_1().
|
|
4621
|
+
if (!(Companion_getInstance_1().y4l_1.i1(element_7) || this.n4l_1.i1(element_7))) {
|
|
4622
4622
|
destination_8.x(element_7);
|
|
4623
4623
|
}
|
|
4624
4624
|
}
|
|
4625
|
-
tmp_5.
|
|
4626
|
-
this.
|
|
4625
|
+
tmp_5.o4l_1 = destination_8;
|
|
4626
|
+
this.p4l_1 = this.o4l_1.i1('ID');
|
|
4627
4627
|
var tmp_6 = this;
|
|
4628
4628
|
// Inline function 'kotlin.collections.filterNot' call
|
|
4629
|
-
var tmp0_3 = this.
|
|
4629
|
+
var tmp0_3 = this.o4l_1;
|
|
4630
4630
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
4631
4631
|
var destination_9 = ArrayList_init_$Create$_0();
|
|
4632
4632
|
var _iterator__ex2g4s_11 = tmp0_3.t();
|
|
4633
4633
|
while (_iterator__ex2g4s_11.u()) {
|
|
4634
4634
|
var element_8 = _iterator__ex2g4s_11.v();
|
|
4635
|
-
if (!(Companion_getInstance_1().
|
|
4635
|
+
if (!(Companion_getInstance_1().j4m(element_8) || element_8 === 'ID')) {
|
|
4636
4636
|
destination_9.x(element_8);
|
|
4637
4637
|
}
|
|
4638
4638
|
}
|
|
4639
|
-
tmp_6.
|
|
4639
|
+
tmp_6.q4l_1 = toSet(destination_9);
|
|
4640
4640
|
var tmp_7 = this;
|
|
4641
4641
|
// Inline function 'kotlin.collections.filter' call
|
|
4642
|
-
var tmp0_4 = plus(this.
|
|
4642
|
+
var tmp0_4 = plus(this.n4l_1, this.o4l_1);
|
|
4643
4643
|
// Inline function 'kotlin.collections.filterTo' call
|
|
4644
4644
|
var destination_10 = ArrayList_init_$Create$_0();
|
|
4645
4645
|
var _iterator__ex2g4s_12 = tmp0_4.t();
|
|
4646
4646
|
while (_iterator__ex2g4s_12.u()) {
|
|
4647
4647
|
var element_9 = _iterator__ex2g4s_12.v();
|
|
4648
|
-
if (Companion_getInstance_1().
|
|
4648
|
+
if (Companion_getInstance_1().j4m(element_9)) {
|
|
4649
4649
|
destination_10.x(element_9);
|
|
4650
4650
|
}
|
|
4651
4651
|
}
|
|
4652
|
-
tmp_7.
|
|
4652
|
+
tmp_7.r4l_1 = toMutableSet(destination_10);
|
|
4653
4653
|
var tmp_8 = this;
|
|
4654
4654
|
// Inline function 'kotlin.collections.associateWith' call
|
|
4655
|
-
var this_4 = this.
|
|
4655
|
+
var this_4 = this.r4l_1;
|
|
4656
4656
|
var result_0 = LinkedHashMap_init_$Create$(coerceAtLeast(mapCapacity(collectionSizeOrDefault(this_4, 10)), 16));
|
|
4657
4657
|
// Inline function 'kotlin.collections.associateWithTo' call
|
|
4658
4658
|
var _iterator__ex2g4s_13 = this_4.t();
|
|
@@ -4662,13 +4662,13 @@ function GraphQLConverter(document) {
|
|
|
4662
4662
|
}
|
|
4663
4663
|
var tmp_9 = result_0;
|
|
4664
4664
|
// Inline function 'kotlin.collections.filterNot' call
|
|
4665
|
-
var tmp0_5 = plus(this.
|
|
4665
|
+
var tmp0_5 = plus(this.n4l_1, this.q4l_1);
|
|
4666
4666
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
4667
4667
|
var destination_11 = ArrayList_init_$Create$_0();
|
|
4668
4668
|
var _iterator__ex2g4s_14 = tmp0_5.t();
|
|
4669
4669
|
while (_iterator__ex2g4s_14.u()) {
|
|
4670
4670
|
var element_11 = _iterator__ex2g4s_14.v();
|
|
4671
|
-
if (!Companion_getInstance_1().
|
|
4671
|
+
if (!Companion_getInstance_1().j4m(element_11)) {
|
|
4672
4672
|
destination_11.x(element_11);
|
|
4673
4673
|
}
|
|
4674
4674
|
}
|
|
@@ -4678,13 +4678,13 @@ function GraphQLConverter(document) {
|
|
|
4678
4678
|
var _iterator__ex2g4s_15 = destination_11.t();
|
|
4679
4679
|
while (_iterator__ex2g4s_15.u()) {
|
|
4680
4680
|
var element_12 = _iterator__ex2g4s_15.v();
|
|
4681
|
-
var tmp$ret$53 = claim(this, Companion_getInstance_1().
|
|
4681
|
+
var tmp$ret$53 = claim(this, Companion_getInstance_1().c4m(element_12));
|
|
4682
4682
|
result_1.v2(element_12, tmp$ret$53);
|
|
4683
4683
|
}
|
|
4684
|
-
tmp_8.
|
|
4684
|
+
tmp_8.s4l_1 = plus_4(tmp_9, result_1);
|
|
4685
4685
|
var tmp_10 = this;
|
|
4686
4686
|
// Inline function 'kotlin.collections.filterIsInstance' call
|
|
4687
|
-
var tmp0_6 = this.
|
|
4687
|
+
var tmp0_6 = this.j4l_1.z4j_1;
|
|
4688
4688
|
// Inline function 'kotlin.collections.filterIsInstanceTo' call
|
|
4689
4689
|
var destination_12 = ArrayList_init_$Create$_0();
|
|
4690
4690
|
var _iterator__ex2g4s_16 = tmp0_6.t();
|
|
@@ -4700,7 +4700,7 @@ function GraphQLConverter(document) {
|
|
|
4700
4700
|
var _iterator__ex2g4s_17 = destination_12.t();
|
|
4701
4701
|
while (_iterator__ex2g4s_17.u()) {
|
|
4702
4702
|
var element_14 = _iterator__ex2g4s_17.v();
|
|
4703
|
-
if (!element_14.
|
|
4703
|
+
if (!element_14.n4h_1) {
|
|
4704
4704
|
destination_13.x(element_14);
|
|
4705
4705
|
}
|
|
4706
4706
|
}
|
|
@@ -4710,7 +4710,7 @@ function GraphQLConverter(document) {
|
|
|
4710
4710
|
var _iterator__ex2g4s_18 = destination_13.t();
|
|
4711
4711
|
while (_iterator__ex2g4s_18.u()) {
|
|
4712
4712
|
var e = _iterator__ex2g4s_18.v();
|
|
4713
|
-
var key = e.
|
|
4713
|
+
var key = e.j4h_1;
|
|
4714
4714
|
if (set.x(key)) {
|
|
4715
4715
|
list_1.x(e);
|
|
4716
4716
|
}
|
|
@@ -4722,13 +4722,13 @@ function GraphQLConverter(document) {
|
|
|
4722
4722
|
var _iterator__ex2g4s_19 = list_1.t();
|
|
4723
4723
|
while (_iterator__ex2g4s_19.u()) {
|
|
4724
4724
|
var element_15 = _iterator__ex2g4s_19.v();
|
|
4725
|
-
var tmp$ret$63 = element_15.
|
|
4725
|
+
var tmp$ret$63 = element_15.j4h_1;
|
|
4726
4726
|
destination_14.v2(tmp$ret$63, element_15);
|
|
4727
4727
|
}
|
|
4728
|
-
tmp_10.
|
|
4728
|
+
tmp_10.t4l_1 = destination_14;
|
|
4729
4729
|
var tmp_11 = this;
|
|
4730
4730
|
// Inline function 'kotlin.collections.filterIsInstance' call
|
|
4731
|
-
var tmp0_7 = this.
|
|
4731
|
+
var tmp0_7 = this.j4l_1.z4j_1;
|
|
4732
4732
|
// Inline function 'kotlin.collections.filterIsInstanceTo' call
|
|
4733
4733
|
var destination_15 = ArrayList_init_$Create$_0();
|
|
4734
4734
|
var _iterator__ex2g4s_20 = tmp0_7.t();
|
|
@@ -4756,7 +4756,7 @@ function GraphQLConverter(document) {
|
|
|
4756
4756
|
tmp_12 = value;
|
|
4757
4757
|
}
|
|
4758
4758
|
var list_2 = tmp_12;
|
|
4759
|
-
var tmp$ret$71 = element_17.
|
|
4759
|
+
var tmp$ret$71 = element_17.d4l();
|
|
4760
4760
|
list_2.x(tmp$ret$71);
|
|
4761
4761
|
}
|
|
4762
4762
|
// Inline function 'kotlin.collections.mapValues' call
|
|
@@ -4772,16 +4772,16 @@ function GraphQLConverter(document) {
|
|
|
4772
4772
|
var tmp$ret$76 = flatten(interfaces);
|
|
4773
4773
|
destination_17.v2(tmp_13, tmp$ret$76);
|
|
4774
4774
|
}
|
|
4775
|
-
tmp_11.
|
|
4775
|
+
tmp_11.u4l_1 = destination_17;
|
|
4776
4776
|
var tmp_14 = this;
|
|
4777
4777
|
// Inline function 'kotlin.collections.filter' call
|
|
4778
|
-
var tmp0_8 = this.
|
|
4778
|
+
var tmp0_8 = this.t4l_1.t2();
|
|
4779
4779
|
// Inline function 'kotlin.collections.filterTo' call
|
|
4780
4780
|
var destination_18 = ArrayList_init_$Create$_0();
|
|
4781
4781
|
var _iterator__ex2g4s_23 = tmp0_8.t();
|
|
4782
4782
|
while (_iterator__ex2g4s_23.u()) {
|
|
4783
4783
|
var element_19 = _iterator__ex2g4s_23.v();
|
|
4784
|
-
var tmp0_9 = this.
|
|
4784
|
+
var tmp0_9 = this.u4l_1.u2();
|
|
4785
4785
|
var tmp$ret$81;
|
|
4786
4786
|
$l$block_2: {
|
|
4787
4787
|
// Inline function 'kotlin.collections.any' call
|
|
@@ -4815,13 +4815,13 @@ function GraphQLConverter(document) {
|
|
|
4815
4815
|
var _iterator__ex2g4s_25 = destination_18.t();
|
|
4816
4816
|
while (_iterator__ex2g4s_25.u()) {
|
|
4817
4817
|
var element_21 = _iterator__ex2g4s_25.v();
|
|
4818
|
-
var tmp$ret$85 = claim(this, getValue(this.
|
|
4818
|
+
var tmp$ret$85 = claim(this, getValue(this.s4l_1, element_21) + 'Interface');
|
|
4819
4819
|
result_2.v2(element_21, tmp$ret$85);
|
|
4820
4820
|
}
|
|
4821
|
-
tmp_14.
|
|
4821
|
+
tmp_14.v4l_1 = result_2;
|
|
4822
4822
|
var tmp_16 = this;
|
|
4823
4823
|
// Inline function 'kotlin.collections.filterIsInstance' call
|
|
4824
|
-
var tmp0_10 = this.
|
|
4824
|
+
var tmp0_10 = this.j4l_1.z4j_1;
|
|
4825
4825
|
// Inline function 'kotlin.collections.filterIsInstanceTo' call
|
|
4826
4826
|
var destination_19 = ArrayList_init_$Create$_0();
|
|
4827
4827
|
var _iterator__ex2g4s_26 = tmp0_10.t();
|
|
@@ -4839,7 +4839,7 @@ function GraphQLConverter(document) {
|
|
|
4839
4839
|
var element_23 = _iterator__ex2g4s_27.v();
|
|
4840
4840
|
var tmp_17;
|
|
4841
4841
|
if (element_23 instanceof ObjectTypeDefinition) {
|
|
4842
|
-
tmp_17 = this.
|
|
4842
|
+
tmp_17 = this.l4l_1.i1(element_23.d4h_1);
|
|
4843
4843
|
} else {
|
|
4844
4844
|
tmp_17 = false;
|
|
4845
4845
|
}
|
|
@@ -4856,11 +4856,11 @@ function GraphQLConverter(document) {
|
|
|
4856
4856
|
var tmp$ret$93 = lazy(GraphQLConverter$implementations$lambda(this, element_24));
|
|
4857
4857
|
result_3.v2(element_24, tmp$ret$93);
|
|
4858
4858
|
}
|
|
4859
|
-
tmp_16.
|
|
4859
|
+
tmp_16.w4l_1 = result_3;
|
|
4860
4860
|
}
|
|
4861
|
-
protoOf(GraphQLConverter).
|
|
4861
|
+
protoOf(GraphQLConverter).o4k = function () {
|
|
4862
4862
|
// Inline function 'kotlin.collections.flatMap' call
|
|
4863
|
-
var tmp0 = this.
|
|
4863
|
+
var tmp0 = this.j4l_1.z4j_1;
|
|
4864
4864
|
// Inline function 'kotlin.collections.flatMapTo' call
|
|
4865
4865
|
var destination = ArrayList_init_$Create$_0();
|
|
4866
4866
|
var _iterator__ex2g4s = tmp0.t();
|
|
@@ -4920,19 +4920,19 @@ protoOf(GraphQLConverter).k4g = function () {
|
|
|
4920
4920
|
function toGraphQLValue(_this__u8e3s4) {
|
|
4921
4921
|
var tmp;
|
|
4922
4922
|
if (_this__u8e3s4 instanceof StringValue) {
|
|
4923
|
-
tmp = new StringValue_1(_this__u8e3s4.
|
|
4923
|
+
tmp = new StringValue_1(_this__u8e3s4.v1a_1);
|
|
4924
4924
|
} else {
|
|
4925
4925
|
if (_this__u8e3s4 instanceof IntegerValue) {
|
|
4926
|
-
tmp = new IntValue_0(_this__u8e3s4.
|
|
4926
|
+
tmp = new IntValue_0(_this__u8e3s4.t1a_1);
|
|
4927
4927
|
} else {
|
|
4928
4928
|
if (_this__u8e3s4 instanceof NumberValue) {
|
|
4929
|
-
tmp = new FloatValue_0(_this__u8e3s4.
|
|
4929
|
+
tmp = new FloatValue_0(_this__u8e3s4.s1a_1);
|
|
4930
4930
|
} else {
|
|
4931
4931
|
if (_this__u8e3s4 instanceof BooleanValue) {
|
|
4932
|
-
tmp = new BooleanValue_0(_this__u8e3s4.
|
|
4932
|
+
tmp = new BooleanValue_0(_this__u8e3s4.u1a_1);
|
|
4933
4933
|
} else {
|
|
4934
4934
|
if (_this__u8e3s4 instanceof EnumValue) {
|
|
4935
|
-
tmp = new EnumValue_0(_this__u8e3s4.
|
|
4935
|
+
tmp = new EnumValue_0(_this__u8e3s4.r1a_1);
|
|
4936
4936
|
} else {
|
|
4937
4937
|
if (equals(_this__u8e3s4, NullValue_instance)) {
|
|
4938
4938
|
tmp = NullValue_instance_0;
|
|
@@ -4947,29 +4947,29 @@ function toGraphQLValue(_this__u8e3s4) {
|
|
|
4947
4947
|
return tmp;
|
|
4948
4948
|
}
|
|
4949
4949
|
function print_2($this, $receiver) {
|
|
4950
|
-
return $receiver.
|
|
4950
|
+
return $receiver.h4l_1 + ': ' + $this.q4j($receiver.i4l_1);
|
|
4951
4951
|
}
|
|
4952
4952
|
function GraphQLPrinter$printArguments$lambda(it) {
|
|
4953
4953
|
return print_2(GraphQLPrinter_instance, it);
|
|
4954
4954
|
}
|
|
4955
4955
|
function GraphQLPrinter$print$lambda(it) {
|
|
4956
|
-
return GraphQLPrinter_instance.
|
|
4956
|
+
return GraphQLPrinter_instance.q4j(it);
|
|
4957
4957
|
}
|
|
4958
4958
|
function GraphQLPrinter$print$lambda_0(it) {
|
|
4959
4959
|
return print_2(GraphQLPrinter_instance, it);
|
|
4960
4960
|
}
|
|
4961
4961
|
function GraphQLPrinter() {
|
|
4962
4962
|
}
|
|
4963
|
-
protoOf(GraphQLPrinter).
|
|
4963
|
+
protoOf(GraphQLPrinter).k4j = function (_this__u8e3s4) {
|
|
4964
4964
|
var tmp;
|
|
4965
4965
|
if (_this__u8e3s4 instanceof Named) {
|
|
4966
|
-
tmp = _this__u8e3s4.
|
|
4966
|
+
tmp = _this__u8e3s4.t4k_1;
|
|
4967
4967
|
} else {
|
|
4968
4968
|
if (_this__u8e3s4 instanceof ListOf) {
|
|
4969
|
-
tmp = '[' + this.
|
|
4969
|
+
tmp = '[' + this.k4j(_this__u8e3s4.u4k_1) + ']';
|
|
4970
4970
|
} else {
|
|
4971
4971
|
if (_this__u8e3s4 instanceof NonNull) {
|
|
4972
|
-
tmp = this.
|
|
4972
|
+
tmp = this.k4j(_this__u8e3s4.v4k_1) + '!';
|
|
4973
4973
|
} else {
|
|
4974
4974
|
noWhenBranchMatchedException();
|
|
4975
4975
|
}
|
|
@@ -4977,10 +4977,10 @@ protoOf(GraphQLPrinter).g4f = function (_this__u8e3s4) {
|
|
|
4977
4977
|
}
|
|
4978
4978
|
return tmp;
|
|
4979
4979
|
};
|
|
4980
|
-
protoOf(GraphQLPrinter).
|
|
4981
|
-
return '@' + _this__u8e3s4.
|
|
4980
|
+
protoOf(GraphQLPrinter).x4j = function (_this__u8e3s4) {
|
|
4981
|
+
return '@' + _this__u8e3s4.f4l_1 + this.p4m(_this__u8e3s4.g4l_1);
|
|
4982
4982
|
};
|
|
4983
|
-
protoOf(GraphQLPrinter).
|
|
4983
|
+
protoOf(GraphQLPrinter).p4m = function (_this__u8e3s4) {
|
|
4984
4984
|
// Inline function 'kotlin.takeIf' call
|
|
4985
4985
|
var tmp;
|
|
4986
4986
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
@@ -5000,31 +5000,31 @@ protoOf(GraphQLPrinter).l4i = function (_this__u8e3s4) {
|
|
|
5000
5000
|
var tmp0_elvis_lhs = tmp_0;
|
|
5001
5001
|
return tmp0_elvis_lhs == null ? '' : tmp0_elvis_lhs;
|
|
5002
5002
|
};
|
|
5003
|
-
protoOf(GraphQLPrinter).
|
|
5003
|
+
protoOf(GraphQLPrinter).q4j = function (_this__u8e3s4) {
|
|
5004
5004
|
var tmp;
|
|
5005
5005
|
if (_this__u8e3s4 instanceof IntValue_0) {
|
|
5006
|
-
tmp = _this__u8e3s4.
|
|
5006
|
+
tmp = _this__u8e3s4.w4k_1;
|
|
5007
5007
|
} else {
|
|
5008
5008
|
if (_this__u8e3s4 instanceof FloatValue_0) {
|
|
5009
|
-
tmp = _this__u8e3s4.
|
|
5009
|
+
tmp = _this__u8e3s4.x4k_1;
|
|
5010
5010
|
} else {
|
|
5011
5011
|
if (_this__u8e3s4 instanceof StringValue_1) {
|
|
5012
|
-
tmp = this.
|
|
5012
|
+
tmp = this.r4j(_this__u8e3s4.y4k_1);
|
|
5013
5013
|
} else {
|
|
5014
5014
|
if (_this__u8e3s4 instanceof BooleanValue_0) {
|
|
5015
|
-
tmp = _this__u8e3s4.
|
|
5015
|
+
tmp = _this__u8e3s4.z4k_1.toString();
|
|
5016
5016
|
} else {
|
|
5017
5017
|
if (_this__u8e3s4 instanceof NullValue) {
|
|
5018
5018
|
tmp = 'null';
|
|
5019
5019
|
} else {
|
|
5020
5020
|
if (_this__u8e3s4 instanceof EnumValue_0) {
|
|
5021
|
-
tmp = _this__u8e3s4.
|
|
5021
|
+
tmp = _this__u8e3s4.a4l_1;
|
|
5022
5022
|
} else {
|
|
5023
5023
|
if (_this__u8e3s4 instanceof ListValue) {
|
|
5024
|
-
tmp = joinToString(_this__u8e3s4.
|
|
5024
|
+
tmp = joinToString(_this__u8e3s4.b4l_1, ', ', '[', ']', VOID, VOID, GraphQLPrinter$print$lambda);
|
|
5025
5025
|
} else {
|
|
5026
5026
|
if (_this__u8e3s4 instanceof ObjectValue) {
|
|
5027
|
-
tmp = joinToString(_this__u8e3s4.
|
|
5027
|
+
tmp = joinToString(_this__u8e3s4.c4l_1, ', ', '{', '}', VOID, VOID, GraphQLPrinter$print$lambda_0);
|
|
5028
5028
|
} else {
|
|
5029
5029
|
noWhenBranchMatchedException();
|
|
5030
5030
|
}
|
|
@@ -5037,7 +5037,7 @@ protoOf(GraphQLPrinter).m4f = function (_this__u8e3s4) {
|
|
|
5037
5037
|
}
|
|
5038
5038
|
return tmp;
|
|
5039
5039
|
};
|
|
5040
|
-
protoOf(GraphQLPrinter).
|
|
5040
|
+
protoOf(GraphQLPrinter).r4j = function (_this__u8e3s4) {
|
|
5041
5041
|
// Inline function 'kotlin.text.buildString' call
|
|
5042
5042
|
// Inline function 'kotlin.apply' call
|
|
5043
5043
|
var this_0 = StringBuilder_init_$Create$();
|
|
@@ -5082,10 +5082,10 @@ function convert_7($this, $receiver) {
|
|
|
5082
5082
|
// Inline function 'kotlin.let' call
|
|
5083
5083
|
var rootType_0 = rootType($this, $receiver);
|
|
5084
5084
|
// Inline function 'kotlin.takeIf' call
|
|
5085
|
-
var this_0 = getValue($this.
|
|
5085
|
+
var this_0 = getValue($this.h4k_1, rootType_0);
|
|
5086
5086
|
var tmp_0;
|
|
5087
5087
|
var tmp_1;
|
|
5088
|
-
var tmp0 = $this.
|
|
5088
|
+
var tmp0 = $this.i4k_1;
|
|
5089
5089
|
// Inline function 'kotlin.collections.contains' call
|
|
5090
5090
|
// Inline function 'kotlin.collections.containsKey' call
|
|
5091
5091
|
var key = rootType_0.ff_1;
|
|
@@ -5121,7 +5121,7 @@ function convert_7($this, $receiver) {
|
|
|
5121
5121
|
tmp = tmp_2;
|
|
5122
5122
|
} else {
|
|
5123
5123
|
if ($receiver instanceof Refined) {
|
|
5124
|
-
tmp = Companion_getInstance_2().
|
|
5124
|
+
tmp = Companion_getInstance_2().s4m($receiver.ks_1, 'GraphQLBuiltIn') ? null : new ScalarTypeDefinition(description_0($this, $receiver), graphQLName($this, $receiver), directives_0($this, $receiver.ks_1), Companion_getInstance_2().s4m($receiver.ks_1, 'GraphQLExtend'));
|
|
5125
5125
|
} else {
|
|
5126
5126
|
if ($receiver instanceof Enum_0) {
|
|
5127
5127
|
var tmp_5 = description_0($this, $receiver);
|
|
@@ -5134,14 +5134,14 @@ function convert_7($this, $receiver) {
|
|
|
5134
5134
|
var _iterator__ex2g4s_0 = this_1.t();
|
|
5135
5135
|
while (_iterator__ex2g4s_0.u()) {
|
|
5136
5136
|
var item_0 = _iterator__ex2g4s_0.v();
|
|
5137
|
-
var tmp0_0 = Companion_getInstance_2().
|
|
5137
|
+
var tmp0_0 = Companion_getInstance_2().u4m($receiver.ps_1, 'GraphQLEnumValue');
|
|
5138
5138
|
var tmp$ret$14;
|
|
5139
5139
|
$l$block: {
|
|
5140
5140
|
// Inline function 'kotlin.collections.firstOrNull' call
|
|
5141
5141
|
var _iterator__ex2g4s_1 = tmp0_0.t();
|
|
5142
5142
|
while (_iterator__ex2g4s_1.u()) {
|
|
5143
5143
|
var element = _iterator__ex2g4s_1.v();
|
|
5144
|
-
if (Companion_getInstance_2().
|
|
5144
|
+
if (Companion_getInstance_2().v4m(element, 'value') === item_0) {
|
|
5145
5145
|
tmp$ret$14 = element;
|
|
5146
5146
|
break $l$block;
|
|
5147
5147
|
}
|
|
@@ -5150,9 +5150,9 @@ function convert_7($this, $receiver) {
|
|
|
5150
5150
|
}
|
|
5151
5151
|
// Inline function 'kotlin.let' call
|
|
5152
5152
|
var it = tmp$ret$14;
|
|
5153
|
-
var tmp_8 = it == null ? null : Companion_getInstance_2().
|
|
5153
|
+
var tmp_8 = it == null ? null : Companion_getInstance_2().v4m(it, 'description');
|
|
5154
5154
|
// Inline function 'kotlin.collections.orEmpty' call
|
|
5155
|
-
var tmp0_elvis_lhs = it == null ? null : Companion_getInstance_2().
|
|
5155
|
+
var tmp0_elvis_lhs = it == null ? null : Companion_getInstance_2().t4m(it, 'directives');
|
|
5156
5156
|
var tmp0_1 = tmp0_elvis_lhs == null ? emptyList() : tmp0_elvis_lhs;
|
|
5157
5157
|
var tmp2_map_this = Companion_getInstance_2();
|
|
5158
5158
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -5161,18 +5161,18 @@ function convert_7($this, $receiver) {
|
|
|
5161
5161
|
var _iterator__ex2g4s_2 = tmp0_1.t();
|
|
5162
5162
|
while (_iterator__ex2g4s_2.u()) {
|
|
5163
5163
|
var item_1 = _iterator__ex2g4s_2.v();
|
|
5164
|
-
var tmp$ret$21 = tmp2_map_this.
|
|
5164
|
+
var tmp$ret$21 = tmp2_map_this.w4m(item_1);
|
|
5165
5165
|
destination_1.x(tmp$ret$21);
|
|
5166
5166
|
}
|
|
5167
5167
|
var tmp$ret$13 = new EnumValueDefinition(tmp_8, item_0, destination_1);
|
|
5168
5168
|
destination_0.x(tmp$ret$13);
|
|
5169
5169
|
}
|
|
5170
|
-
tmp = new EnumTypeDefinition(tmp_5, tmp_6, tmp_7, destination_0, Companion_getInstance_2().
|
|
5170
|
+
tmp = new EnumTypeDefinition(tmp_5, tmp_6, tmp_7, destination_0, Companion_getInstance_2().s4m($receiver.ps_1, 'GraphQLExtend'));
|
|
5171
5171
|
} else {
|
|
5172
5172
|
if ($receiver instanceof Union) {
|
|
5173
5173
|
// Inline function 'kotlin.takeIf' call
|
|
5174
5174
|
var tmp_9;
|
|
5175
|
-
if (Companion_getInstance_2().
|
|
5175
|
+
if (Companion_getInstance_2().s4m($receiver.ar_1, 'GraphQLInterface')) {
|
|
5176
5176
|
tmp_9 = $receiver;
|
|
5177
5177
|
} else {
|
|
5178
5178
|
tmp_9 = null;
|
|
@@ -5191,7 +5191,7 @@ function convert_7($this, $receiver) {
|
|
|
5191
5191
|
var _iterator__ex2g4s_3 = tmp0_2.t();
|
|
5192
5192
|
while (_iterator__ex2g4s_3.u()) {
|
|
5193
5193
|
var element_0 = _iterator__ex2g4s_3.v();
|
|
5194
|
-
if (element_0.
|
|
5194
|
+
if (element_0.c1a_1 === 'GraphQLUnionMembers') {
|
|
5195
5195
|
tmp$ret$24 = element_0;
|
|
5196
5196
|
break $l$block_0;
|
|
5197
5197
|
}
|
|
@@ -5199,7 +5199,7 @@ function convert_7($this, $receiver) {
|
|
|
5199
5199
|
tmp$ret$24 = null;
|
|
5200
5200
|
}
|
|
5201
5201
|
var tmp3_safe_receiver = tmp$ret$24;
|
|
5202
|
-
var tmp4_elvis_lhs = tmp3_safe_receiver == null ? null : Companion_getInstance_2().
|
|
5202
|
+
var tmp4_elvis_lhs = tmp3_safe_receiver == null ? null : Companion_getInstance_2().t4m(tmp3_safe_receiver, 'default');
|
|
5203
5203
|
var tmp_14;
|
|
5204
5204
|
if (tmp4_elvis_lhs == null) {
|
|
5205
5205
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -5210,8 +5210,8 @@ function convert_7($this, $receiver) {
|
|
|
5210
5210
|
while (_iterator__ex2g4s_4.u()) {
|
|
5211
5211
|
var item_2 = _iterator__ex2g4s_4.v();
|
|
5212
5212
|
// Inline function 'kotlin.let' call
|
|
5213
|
-
var name = (item_2 instanceof Custom ? item_2 : THROW_CCE()).
|
|
5214
|
-
var tmp0_elvis_lhs_0 = $this.
|
|
5213
|
+
var name = (item_2 instanceof Custom ? item_2 : THROW_CCE()).n19_1;
|
|
5214
|
+
var tmp0_elvis_lhs_0 = $this.d4k_1.s2(name);
|
|
5215
5215
|
var tmp$ret$28 = tmp0_elvis_lhs_0 == null ? name : tmp0_elvis_lhs_0;
|
|
5216
5216
|
destination_2.x(tmp$ret$28);
|
|
5217
5217
|
}
|
|
@@ -5219,7 +5219,7 @@ function convert_7($this, $receiver) {
|
|
|
5219
5219
|
} else {
|
|
5220
5220
|
tmp_14 = tmp4_elvis_lhs;
|
|
5221
5221
|
}
|
|
5222
|
-
tmp_10 = new UnionTypeDefinition(tmp_11, tmp_12, tmp_13, tmp_14, Companion_getInstance_2().
|
|
5222
|
+
tmp_10 = new UnionTypeDefinition(tmp_11, tmp_12, tmp_13, tmp_14, Companion_getInstance_2().s4m($receiver.ar_1, 'GraphQLExtend'));
|
|
5223
5223
|
} else {
|
|
5224
5224
|
tmp_10 = tmp2_elvis_lhs;
|
|
5225
5225
|
}
|
|
@@ -5256,7 +5256,7 @@ function toInterface($this, $receiver) {
|
|
|
5256
5256
|
var tmp = description_0($this, $receiver);
|
|
5257
5257
|
var tmp_0 = graphQLName($this, $receiver);
|
|
5258
5258
|
var tmp_1 = interfaces($this, $receiver, shape);
|
|
5259
|
-
var tmp_2 = directives_0($this, Companion_getInstance_2().
|
|
5259
|
+
var tmp_2 = directives_0($this, Companion_getInstance_2().x4m($receiver));
|
|
5260
5260
|
// Inline function 'kotlin.collections.map' call
|
|
5261
5261
|
var this_0 = get_fields(shape);
|
|
5262
5262
|
// Inline function 'kotlin.collections.mapTo' call
|
|
@@ -5267,16 +5267,16 @@ function toInterface($this, $receiver) {
|
|
|
5267
5267
|
var tmp$ret$4 = toFieldDefinition($this, item);
|
|
5268
5268
|
destination.x(tmp$ret$4);
|
|
5269
5269
|
}
|
|
5270
|
-
return new InterfaceTypeDefinition(tmp, tmp_0, tmp_1, tmp_2, destination, Companion_getInstance_2().
|
|
5270
|
+
return new InterfaceTypeDefinition(tmp, tmp_0, tmp_1, tmp_2, destination, Companion_getInstance_2().s4m(Companion_getInstance_2().x4m($receiver), 'GraphQLExtend'));
|
|
5271
5271
|
}
|
|
5272
5272
|
function interfaceShape($this, $receiver) {
|
|
5273
|
-
var tmp0_safe_receiver = Companion_getInstance_2().
|
|
5273
|
+
var tmp0_safe_receiver = Companion_getInstance_2().y4m(Companion_getInstance_2().x4m($receiver), 'GraphQLInterface');
|
|
5274
5274
|
var tmp;
|
|
5275
5275
|
if (tmp0_safe_receiver == null) {
|
|
5276
5276
|
tmp = null;
|
|
5277
5277
|
} else {
|
|
5278
5278
|
// Inline function 'kotlin.let' call
|
|
5279
|
-
var tmp0_safe_receiver_0 = $this.
|
|
5279
|
+
var tmp0_safe_receiver_0 = $this.e4k_1.s2(tmp0_safe_receiver);
|
|
5280
5280
|
tmp = tmp0_safe_receiver_0 == null ? null : tmp0_safe_receiver_0.oq_1;
|
|
5281
5281
|
}
|
|
5282
5282
|
var tmp1_elvis_lhs = tmp;
|
|
@@ -5346,7 +5346,7 @@ function sharedFields($this, $receiver) {
|
|
|
5346
5346
|
tmp = null;
|
|
5347
5347
|
} else {
|
|
5348
5348
|
// Inline function 'kotlin.let' call
|
|
5349
|
-
tmp = $this.
|
|
5349
|
+
tmp = $this.i4k_1.s2(tmp0_safe_receiver.n19_1);
|
|
5350
5350
|
}
|
|
5351
5351
|
var tmp1_safe_receiver = tmp;
|
|
5352
5352
|
var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.lp_1;
|
|
@@ -5457,10 +5457,10 @@ function sharedFields($this, $receiver) {
|
|
|
5457
5457
|
function convert_8($this, $receiver) {
|
|
5458
5458
|
var description = description_0($this, $receiver);
|
|
5459
5459
|
var directives = directives_0($this, $receiver.jp_1);
|
|
5460
|
-
var extension = Companion_getInstance_2().
|
|
5460
|
+
var extension = Companion_getInstance_2().s4m($receiver.jp_1, 'GraphQLExtend');
|
|
5461
5461
|
var fields = get_fields($receiver.lp_1);
|
|
5462
5462
|
var tmp;
|
|
5463
|
-
if (Companion_getInstance_2().
|
|
5463
|
+
if (Companion_getInstance_2().s4m($receiver.jp_1, 'GraphQLSchema')) {
|
|
5464
5464
|
var tmp0 = $receiver.jp_1;
|
|
5465
5465
|
var tmp$ret$0;
|
|
5466
5466
|
$l$block: {
|
|
@@ -5468,7 +5468,7 @@ function convert_8($this, $receiver) {
|
|
|
5468
5468
|
var _iterator__ex2g4s = tmp0.t();
|
|
5469
5469
|
while (_iterator__ex2g4s.u()) {
|
|
5470
5470
|
var element = _iterator__ex2g4s.v();
|
|
5471
|
-
if (element.
|
|
5471
|
+
if (element.c1a_1 === 'GraphQLSchema') {
|
|
5472
5472
|
tmp$ret$0 = element;
|
|
5473
5473
|
break $l$block;
|
|
5474
5474
|
}
|
|
@@ -5478,7 +5478,7 @@ function convert_8($this, $receiver) {
|
|
|
5478
5478
|
// Inline function 'kotlin.let' call
|
|
5479
5479
|
var schema = tmp$ret$0;
|
|
5480
5480
|
// Inline function 'kotlin.collections.map' call
|
|
5481
|
-
var this_0 = schema.
|
|
5481
|
+
var this_0 = schema.d1a_1;
|
|
5482
5482
|
// Inline function 'kotlin.collections.mapTo' call
|
|
5483
5483
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
5484
5484
|
var _iterator__ex2g4s_0 = this_0.t();
|
|
@@ -5491,18 +5491,18 @@ function convert_8($this, $receiver) {
|
|
|
5491
5491
|
var _iterator__ex2g4s_1 = tmp0_0.t();
|
|
5492
5492
|
while (_iterator__ex2g4s_1.u()) {
|
|
5493
5493
|
var element_0 = _iterator__ex2g4s_1.v();
|
|
5494
|
-
if (element_0.
|
|
5494
|
+
if (element_0.s4g_1 === item.e1a_1) {
|
|
5495
5495
|
tmp$ret$7 = element_0;
|
|
5496
5496
|
break $l$block_0;
|
|
5497
5497
|
}
|
|
5498
5498
|
}
|
|
5499
5499
|
throw NoSuchElementException_init_$Create$('Collection contains no element matching the predicate.');
|
|
5500
5500
|
}
|
|
5501
|
-
var tmp$ret$6 = new OperationTypeDefinition(tmp$ret$7, ensureNotNull(Companion_getInstance_2().
|
|
5501
|
+
var tmp$ret$6 = new OperationTypeDefinition(tmp$ret$7, ensureNotNull(Companion_getInstance_2().v4m(schema, item.e1a_1)));
|
|
5502
5502
|
destination.x(tmp$ret$6);
|
|
5503
5503
|
}
|
|
5504
5504
|
tmp = new SchemaDefinition(description, directives, destination, extension);
|
|
5505
|
-
} else if (Companion_getInstance_2().
|
|
5505
|
+
} else if (Companion_getInstance_2().s4m($receiver.jp_1, 'GraphQLDirectiveDefinition')) {
|
|
5506
5506
|
var tmp0_1 = $receiver.jp_1;
|
|
5507
5507
|
var tmp$ret$9;
|
|
5508
5508
|
$l$block_1: {
|
|
@@ -5510,7 +5510,7 @@ function convert_8($this, $receiver) {
|
|
|
5510
5510
|
var _iterator__ex2g4s_2 = tmp0_1.t();
|
|
5511
5511
|
while (_iterator__ex2g4s_2.u()) {
|
|
5512
5512
|
var element_1 = _iterator__ex2g4s_2.v();
|
|
5513
|
-
if (element_1.
|
|
5513
|
+
if (element_1.c1a_1 === 'GraphQLDirectiveDefinition') {
|
|
5514
5514
|
tmp$ret$9 = element_1;
|
|
5515
5515
|
break $l$block_1;
|
|
5516
5516
|
}
|
|
@@ -5519,7 +5519,7 @@ function convert_8($this, $receiver) {
|
|
|
5519
5519
|
}
|
|
5520
5520
|
// Inline function 'kotlin.let' call
|
|
5521
5521
|
var it = tmp$ret$9;
|
|
5522
|
-
var tmp_0 = ensureNotNull(Companion_getInstance_2().
|
|
5522
|
+
var tmp_0 = ensureNotNull(Companion_getInstance_2().v4m(it, 'name'));
|
|
5523
5523
|
// Inline function 'kotlin.collections.map' call
|
|
5524
5524
|
// Inline function 'kotlin.collections.mapTo' call
|
|
5525
5525
|
var destination_0 = ArrayList_init_$Create$(collectionSizeOrDefault(fields, 10));
|
|
@@ -5529,10 +5529,10 @@ function convert_8($this, $receiver) {
|
|
|
5529
5529
|
var tmp$ret$15 = toInputValue($this, item_0);
|
|
5530
5530
|
destination_0.x(tmp$ret$15);
|
|
5531
5531
|
}
|
|
5532
|
-
tmp = new DirectiveDefinition(description, tmp_0, destination_0, Companion_getInstance_2().
|
|
5533
|
-
} else if (Companion_getInstance_2().
|
|
5532
|
+
tmp = new DirectiveDefinition(description, tmp_0, destination_0, Companion_getInstance_2().v4m(it, 'repeatable') === 'true', Companion_getInstance_2().t4m(it, 'locations'));
|
|
5533
|
+
} else if (Companion_getInstance_2().s4m($receiver.jp_1, 'GraphQLInterface')) {
|
|
5534
5534
|
tmp = toInterface($this, $receiver);
|
|
5535
|
-
} else if (Companion_getInstance_2().
|
|
5535
|
+
} else if (Companion_getInstance_2().s4m($receiver.jp_1, 'GraphQLInput') || minus($this.k4k_1, $this.l4k_1).i1($receiver.kp_1.o1())) {
|
|
5536
5536
|
var tmp_1 = graphQLName($this, $receiver);
|
|
5537
5537
|
// Inline function 'kotlin.collections.map' call
|
|
5538
5538
|
// Inline function 'kotlin.collections.mapTo' call
|
|
@@ -5544,9 +5544,9 @@ function convert_8($this, $receiver) {
|
|
|
5544
5544
|
destination_1.x(tmp$ret$18);
|
|
5545
5545
|
}
|
|
5546
5546
|
tmp = new InputObjectTypeDefinition(description, tmp_1, directives, destination_1, extension);
|
|
5547
|
-
} else if (Companion_getInstance_2().
|
|
5547
|
+
} else if (Companion_getInstance_2().s4m($receiver.jp_1, 'GraphQLUnion')) {
|
|
5548
5548
|
tmp = new UnionTypeDefinition(description, graphQLName($this, $receiver), directives, emptyList(), extension);
|
|
5549
|
-
} else if (Companion_getInstance_2().
|
|
5549
|
+
} else if (Companion_getInstance_2().s4m($receiver.jp_1, 'GraphQLEnum')) {
|
|
5550
5550
|
tmp = new EnumTypeDefinition(description, graphQLName($this, $receiver), directives, emptyList(), extension);
|
|
5551
5551
|
} else {
|
|
5552
5552
|
var tmp_2 = graphQLName($this, $receiver);
|
|
@@ -5562,7 +5562,7 @@ function convert_8($this, $receiver) {
|
|
|
5562
5562
|
}
|
|
5563
5563
|
var tmp_4 = destination_2;
|
|
5564
5564
|
// Inline function 'kotlin.collections.orEmpty' call
|
|
5565
|
-
var tmp0_elvis_lhs = $this.
|
|
5565
|
+
var tmp0_elvis_lhs = $this.h4k_1.s2(to($receiver.kp_1.o1(), null));
|
|
5566
5566
|
// Inline function 'kotlin.collections.map' call
|
|
5567
5567
|
var this_1 = tmp0_elvis_lhs == null ? emptyList() : tmp0_elvis_lhs;
|
|
5568
5568
|
// Inline function 'kotlin.collections.mapTo' call
|
|
@@ -5578,7 +5578,7 @@ function convert_8($this, $receiver) {
|
|
|
5578
5578
|
return tmp;
|
|
5579
5579
|
}
|
|
5580
5580
|
function toInputCopy($this, $receiver) {
|
|
5581
|
-
var tmp0_safe_receiver = $this.
|
|
5581
|
+
var tmp0_safe_receiver = $this.m4k_1.s2($receiver.kp_1.o1());
|
|
5582
5582
|
var tmp;
|
|
5583
5583
|
if (tmp0_safe_receiver == null) {
|
|
5584
5584
|
tmp = null;
|
|
@@ -5615,7 +5615,7 @@ function rootType($this, $receiver) {
|
|
|
5615
5615
|
var _iterator__ex2g4s_0 = tmp0_0.t();
|
|
5616
5616
|
while (_iterator__ex2g4s_0.u()) {
|
|
5617
5617
|
var element_0 = _iterator__ex2g4s_0.v();
|
|
5618
|
-
if (element_0.
|
|
5618
|
+
if (element_0.c1a_1 === GraphQLAnnotations_instance.p4g(element)) {
|
|
5619
5619
|
tmp$ret$2 = element_0;
|
|
5620
5620
|
break $l$block;
|
|
5621
5621
|
}
|
|
@@ -5646,15 +5646,15 @@ function rootType($this, $receiver) {
|
|
|
5646
5646
|
// Inline function 'kotlin.let' call
|
|
5647
5647
|
var operation = tmp0_safe_receiver_0.ze();
|
|
5648
5648
|
var annotation = tmp0_safe_receiver_0.af();
|
|
5649
|
-
var tmp0_elvis_lhs = Companion_getInstance_2().
|
|
5650
|
-
tmp_0 = to(tmp0_elvis_lhs == null ? operation.
|
|
5649
|
+
var tmp0_elvis_lhs = Companion_getInstance_2().v4m(annotation, 'default');
|
|
5650
|
+
tmp_0 = to(tmp0_elvis_lhs == null ? operation.t4g_1 : tmp0_elvis_lhs, Companion_getInstance_2().v4m(annotation, 'extend'));
|
|
5651
5651
|
}
|
|
5652
5652
|
var tmp1_elvis_lhs = tmp_0;
|
|
5653
|
-
return tmp1_elvis_lhs == null ? to(Operation_QUERY_getInstance().
|
|
5653
|
+
return tmp1_elvis_lhs == null ? to(Operation_QUERY_getInstance().t4g_1, null) : tmp1_elvis_lhs;
|
|
5654
5654
|
}
|
|
5655
5655
|
function graphQLName($this, $receiver) {
|
|
5656
|
-
var tmp0_elvis_lhs = Companion_getInstance_2().
|
|
5657
|
-
var tmp1_elvis_lhs = tmp0_elvis_lhs == null ? Companion_getInstance_2().
|
|
5656
|
+
var tmp0_elvis_lhs = Companion_getInstance_2().y4m(Companion_getInstance_2().x4m($receiver), 'GraphQLExtend');
|
|
5657
|
+
var tmp1_elvis_lhs = tmp0_elvis_lhs == null ? Companion_getInstance_2().y4m(Companion_getInstance_2().x4m($receiver), 'GraphQLName') : tmp0_elvis_lhs;
|
|
5658
5658
|
return tmp1_elvis_lhs == null ? $receiver.ds().o1() : tmp1_elvis_lhs;
|
|
5659
5659
|
}
|
|
5660
5660
|
function interfaces($this, $receiver, shape) {
|
|
@@ -5680,18 +5680,18 @@ function interfaces($this, $receiver, shape) {
|
|
|
5680
5680
|
}
|
|
5681
5681
|
var tmp = destination_0;
|
|
5682
5682
|
// Inline function 'kotlin.collections.orEmpty' call
|
|
5683
|
-
var tmp0_elvis_lhs = $this.
|
|
5683
|
+
var tmp0_elvis_lhs = $this.g4k_1.s2($receiver.ds().o1());
|
|
5684
5684
|
var tmp$ret$5 = tmp0_elvis_lhs == null ? emptyList() : tmp0_elvis_lhs;
|
|
5685
|
-
return distinct(plus(plus(tmp, tmp$ret$5), Companion_getInstance_2().
|
|
5685
|
+
return distinct(plus(plus(tmp, tmp$ret$5), Companion_getInstance_2().z4m(Companion_getInstance_2().x4m($receiver))));
|
|
5686
5686
|
}
|
|
5687
5687
|
function interfaces_0($this, $receiver) {
|
|
5688
|
-
var tmp0_safe_receiver = $this.
|
|
5688
|
+
var tmp0_safe_receiver = $this.e4k_1.s2($receiver.q1d_1.n19_1);
|
|
5689
5689
|
var tmp;
|
|
5690
5690
|
if (tmp0_safe_receiver == null) {
|
|
5691
5691
|
tmp = null;
|
|
5692
5692
|
} else {
|
|
5693
5693
|
// Inline function 'kotlin.let' call
|
|
5694
|
-
var tmp0_safe_receiver_0 = $this.
|
|
5694
|
+
var tmp0_safe_receiver_0 = $this.f4k_1.s2(tmp0_safe_receiver.nq_1.o1());
|
|
5695
5695
|
var tmp_0;
|
|
5696
5696
|
if (tmp0_safe_receiver_0 == null) {
|
|
5697
5697
|
tmp_0 = null;
|
|
@@ -5707,10 +5707,10 @@ function interfaces_0($this, $receiver) {
|
|
|
5707
5707
|
return tmp0_elvis_lhs == null ? emptyList() : tmp0_elvis_lhs;
|
|
5708
5708
|
}
|
|
5709
5709
|
function description_0($this, $receiver) {
|
|
5710
|
-
var tmp0_elvis_lhs = description_1($this, Companion_getInstance_2().
|
|
5710
|
+
var tmp0_elvis_lhs = description_1($this, Companion_getInstance_2().x4m($receiver));
|
|
5711
5711
|
var tmp;
|
|
5712
5712
|
if (tmp0_elvis_lhs == null) {
|
|
5713
|
-
var tmp1_safe_receiver = $receiver.
|
|
5713
|
+
var tmp1_safe_receiver = $receiver.i1d();
|
|
5714
5714
|
var tmp_0;
|
|
5715
5715
|
var tmp_1 = tmp1_safe_receiver;
|
|
5716
5716
|
if ((tmp_1 == null ? null : new Comment(tmp_1)) == null) {
|
|
@@ -5736,7 +5736,7 @@ function plainTypeNames($this, $receiver) {
|
|
|
5736
5736
|
var _iterator__ex2g4s = $receiver.t();
|
|
5737
5737
|
while (_iterator__ex2g4s.u()) {
|
|
5738
5738
|
var element = _iterator__ex2g4s.v();
|
|
5739
|
-
var tmp0_safe_receiver = Companion_getInstance_2().
|
|
5739
|
+
var tmp0_safe_receiver = Companion_getInstance_2().a4n(element);
|
|
5740
5740
|
if (tmp0_safe_receiver == null)
|
|
5741
5741
|
null;
|
|
5742
5742
|
else {
|
|
@@ -5752,7 +5752,7 @@ function plainTypeNames($this, $receiver) {
|
|
|
5752
5752
|
var element_0 = _iterator__ex2g4s_0.v();
|
|
5753
5753
|
// Inline function 'kotlin.collections.contains' call
|
|
5754
5754
|
// Inline function 'kotlin.collections.containsKey' call
|
|
5755
|
-
var this_0 = $this.
|
|
5755
|
+
var this_0 = $this.j4k_1;
|
|
5756
5756
|
if ((isInterface(this_0, KtMap) ? this_0 : THROW_CCE()).q2(element_0)) {
|
|
5757
5757
|
destination_0.x(element_0);
|
|
5758
5758
|
}
|
|
@@ -5763,25 +5763,25 @@ function toFieldDefinition($this, $receiver) {
|
|
|
5763
5763
|
var tmp = description_1($this, $receiver.np_1);
|
|
5764
5764
|
var tmp_0 = $receiver.op_1.o1();
|
|
5765
5765
|
// Inline function 'kotlin.collections.map' call
|
|
5766
|
-
var this_0 = Companion_getInstance_2().
|
|
5766
|
+
var this_0 = Companion_getInstance_2().u4m($receiver.np_1, 'GraphQLArgument');
|
|
5767
5767
|
// Inline function 'kotlin.collections.mapTo' call
|
|
5768
5768
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
5769
5769
|
var _iterator__ex2g4s = this_0.t();
|
|
5770
5770
|
while (_iterator__ex2g4s.u()) {
|
|
5771
5771
|
var item = _iterator__ex2g4s.v();
|
|
5772
|
-
var tmp_1 = Companion_getInstance_2().
|
|
5773
|
-
var tmp_2 = ensureNotNull(Companion_getInstance_2().
|
|
5774
|
-
var tmp_3 = Companion_getInstance_2().
|
|
5775
|
-
var tmp0_safe_receiver = Companion_getInstance_2().
|
|
5772
|
+
var tmp_1 = Companion_getInstance_2().v4m(item, 'description');
|
|
5773
|
+
var tmp_2 = ensureNotNull(Companion_getInstance_2().v4m(item, 'name'));
|
|
5774
|
+
var tmp_3 = Companion_getInstance_2().b4n(ensureNotNull(Companion_getInstance_2().v4m(item, 'type')));
|
|
5775
|
+
var tmp0_safe_receiver = Companion_getInstance_2().v4m(item, 'defaultValue');
|
|
5776
5776
|
var tmp_4;
|
|
5777
5777
|
if (tmp0_safe_receiver == null) {
|
|
5778
5778
|
tmp_4 = null;
|
|
5779
5779
|
} else {
|
|
5780
5780
|
// Inline function 'kotlin.let' call
|
|
5781
|
-
tmp_4 = Companion_getInstance_2().
|
|
5781
|
+
tmp_4 = Companion_getInstance_2().c4n(tmp0_safe_receiver);
|
|
5782
5782
|
}
|
|
5783
5783
|
var tmp_5 = tmp_4;
|
|
5784
|
-
var tmp0 = Companion_getInstance_2().
|
|
5784
|
+
var tmp0 = Companion_getInstance_2().t4m(item, 'directives');
|
|
5785
5785
|
var tmp2_map_this = Companion_getInstance_2();
|
|
5786
5786
|
// Inline function 'kotlin.collections.map' call
|
|
5787
5787
|
// Inline function 'kotlin.collections.mapTo' call
|
|
@@ -5789,7 +5789,7 @@ function toFieldDefinition($this, $receiver) {
|
|
|
5789
5789
|
var _iterator__ex2g4s_0 = tmp0.t();
|
|
5790
5790
|
while (_iterator__ex2g4s_0.u()) {
|
|
5791
5791
|
var item_0 = _iterator__ex2g4s_0.v();
|
|
5792
|
-
var tmp$ret$7 = tmp2_map_this.
|
|
5792
|
+
var tmp$ret$7 = tmp2_map_this.w4m(item_0);
|
|
5793
5793
|
destination_0.x(tmp$ret$7);
|
|
5794
5794
|
}
|
|
5795
5795
|
var tmp$ret$2 = new InputValueDefinition(tmp_1, tmp_2, tmp_3, tmp_5, destination_0);
|
|
@@ -5799,7 +5799,7 @@ function toFieldDefinition($this, $receiver) {
|
|
|
5799
5799
|
}
|
|
5800
5800
|
function toFieldDefinition_0($this, $receiver) {
|
|
5801
5801
|
var tmp = description_0($this, $receiver);
|
|
5802
|
-
var tmp0_elvis_lhs = Companion_getInstance_2().
|
|
5802
|
+
var tmp0_elvis_lhs = Companion_getInstance_2().y4m($receiver.qq_1, 'GraphQLName');
|
|
5803
5803
|
var tmp_0;
|
|
5804
5804
|
if (tmp0_elvis_lhs == null) {
|
|
5805
5805
|
// Inline function 'kotlin.text.replaceFirstChar' call
|
|
@@ -5832,13 +5832,13 @@ function toFieldDefinition_0($this, $receiver) {
|
|
|
5832
5832
|
destination.x(tmp$ret$8);
|
|
5833
5833
|
}
|
|
5834
5834
|
var tmp_3 = destination;
|
|
5835
|
-
var tmp1_safe_receiver = Companion_getInstance_2().
|
|
5835
|
+
var tmp1_safe_receiver = Companion_getInstance_2().y4m($receiver.qq_1, 'GraphQLType');
|
|
5836
5836
|
var tmp_4;
|
|
5837
5837
|
if (tmp1_safe_receiver == null) {
|
|
5838
5838
|
tmp_4 = null;
|
|
5839
5839
|
} else {
|
|
5840
5840
|
// Inline function 'kotlin.let' call
|
|
5841
|
-
tmp_4 = Companion_getInstance_2().
|
|
5841
|
+
tmp_4 = Companion_getInstance_2().b4n(tmp1_safe_receiver);
|
|
5842
5842
|
}
|
|
5843
5843
|
var tmp2_elvis_lhs = tmp_4;
|
|
5844
5844
|
return new FieldDefinition(tmp, tmp_2, tmp_3, tmp2_elvis_lhs == null ? toTypeRef($this, $receiver.tq_1, false) : tmp2_elvis_lhs, directives_0($this, $receiver.qq_1));
|
|
@@ -5847,13 +5847,13 @@ function toInputValue($this, $receiver) {
|
|
|
5847
5847
|
var tmp = description_1($this, $receiver.np_1);
|
|
5848
5848
|
var tmp_0 = $receiver.op_1.o1();
|
|
5849
5849
|
var tmp_1 = typeRef($this, $receiver, true);
|
|
5850
|
-
var tmp0_safe_receiver = Companion_getInstance_2().
|
|
5850
|
+
var tmp0_safe_receiver = Companion_getInstance_2().y4m($receiver.np_1, 'GraphQLDefault');
|
|
5851
5851
|
var tmp_2;
|
|
5852
5852
|
if (tmp0_safe_receiver == null) {
|
|
5853
5853
|
tmp_2 = null;
|
|
5854
5854
|
} else {
|
|
5855
5855
|
// Inline function 'kotlin.let' call
|
|
5856
|
-
tmp_2 = Companion_getInstance_2().
|
|
5856
|
+
tmp_2 = Companion_getInstance_2().c4n(tmp0_safe_receiver);
|
|
5857
5857
|
}
|
|
5858
5858
|
var tmp1_elvis_lhs = tmp_2;
|
|
5859
5859
|
var tmp_3;
|
|
@@ -5866,13 +5866,13 @@ function toInputValue($this, $receiver) {
|
|
|
5866
5866
|
return new InputValueDefinition(tmp, tmp_0, tmp_1, tmp_3, directives_0($this, $receiver.np_1));
|
|
5867
5867
|
}
|
|
5868
5868
|
function typeRef($this, $receiver, input) {
|
|
5869
|
-
var tmp0_safe_receiver = Companion_getInstance_2().
|
|
5869
|
+
var tmp0_safe_receiver = Companion_getInstance_2().y4m($receiver.np_1, 'GraphQLType');
|
|
5870
5870
|
var tmp;
|
|
5871
5871
|
if (tmp0_safe_receiver == null) {
|
|
5872
5872
|
tmp = null;
|
|
5873
5873
|
} else {
|
|
5874
5874
|
// Inline function 'kotlin.let' call
|
|
5875
|
-
tmp = Companion_getInstance_2().
|
|
5875
|
+
tmp = Companion_getInstance_2().b4n(tmp0_safe_receiver);
|
|
5876
5876
|
}
|
|
5877
5877
|
var tmp1_elvis_lhs = tmp;
|
|
5878
5878
|
return tmp1_elvis_lhs == null ? toTypeRef($this, $receiver.pp_1, input) : tmp1_elvis_lhs;
|
|
@@ -5883,7 +5883,7 @@ function toTypeRef($this, $receiver, input) {
|
|
|
5883
5883
|
tmp = new ListOf(toTypeRef($this, $receiver.yp_1, input));
|
|
5884
5884
|
} else {
|
|
5885
5885
|
if ($receiver instanceof Custom) {
|
|
5886
|
-
var tmp1_safe_receiver = $this.
|
|
5886
|
+
var tmp1_safe_receiver = $this.m4k_1.s2($receiver.n19_1);
|
|
5887
5887
|
var tmp_0;
|
|
5888
5888
|
if (tmp1_safe_receiver == null) {
|
|
5889
5889
|
tmp_0 = null;
|
|
@@ -5898,11 +5898,11 @@ function toTypeRef($this, $receiver, input) {
|
|
|
5898
5898
|
tmp_0 = tmp_1;
|
|
5899
5899
|
}
|
|
5900
5900
|
var tmp2_elvis_lhs = tmp_0;
|
|
5901
|
-
var tmp3_elvis_lhs = tmp2_elvis_lhs == null ? $this.
|
|
5902
|
-
tmp = new Named(tmp3_elvis_lhs == null ? $receiver.
|
|
5901
|
+
var tmp3_elvis_lhs = tmp2_elvis_lhs == null ? $this.d4k_1.s2($receiver.n19_1) : tmp2_elvis_lhs;
|
|
5902
|
+
tmp = new Named(tmp3_elvis_lhs == null ? $receiver.n19_1 : tmp3_elvis_lhs);
|
|
5903
5903
|
} else {
|
|
5904
5904
|
if ($receiver instanceof Primitive) {
|
|
5905
|
-
var tmp4_subject = $receiver.
|
|
5905
|
+
var tmp4_subject = $receiver.p19_1;
|
|
5906
5906
|
var tmp_2;
|
|
5907
5907
|
if (tmp4_subject instanceof Integer) {
|
|
5908
5908
|
tmp_2 = 'Int';
|
|
@@ -5952,39 +5952,39 @@ function toTypeRef($this, $receiver, input) {
|
|
|
5952
5952
|
return $receiver.ot() ? it : new NonNull(it);
|
|
5953
5953
|
}
|
|
5954
5954
|
function description_1($this, $receiver) {
|
|
5955
|
-
return Companion_getInstance_2().
|
|
5955
|
+
return Companion_getInstance_2().y4m($receiver, 'Description');
|
|
5956
5956
|
}
|
|
5957
5957
|
function directives_0($this, $receiver) {
|
|
5958
5958
|
// Inline function 'kotlin.collections.map' call
|
|
5959
|
-
var this_0 = Companion_getInstance_2().
|
|
5959
|
+
var this_0 = Companion_getInstance_2().u4m($receiver, 'GraphQLDirective');
|
|
5960
5960
|
// Inline function 'kotlin.collections.mapTo' call
|
|
5961
5961
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
5962
5962
|
var _iterator__ex2g4s = this_0.t();
|
|
5963
5963
|
while (_iterator__ex2g4s.u()) {
|
|
5964
5964
|
var item = _iterator__ex2g4s.v();
|
|
5965
|
-
var tmp$ret$2 = Companion_getInstance_2().
|
|
5965
|
+
var tmp$ret$2 = Companion_getInstance_2().w4m(ensureNotNull(Companion_getInstance_2().v4m(item, 'default')));
|
|
5966
5966
|
destination.x(tmp$ret$2);
|
|
5967
5967
|
}
|
|
5968
5968
|
return destination;
|
|
5969
5969
|
}
|
|
5970
5970
|
function Companion_2() {
|
|
5971
5971
|
Companion_instance_2 = this;
|
|
5972
|
-
this.
|
|
5973
|
-
this.
|
|
5972
|
+
this.q4m_1 = 'JSON';
|
|
5973
|
+
this.r4m_1 = listOf_0(['GraphQLInput', 'GraphQLInterface', 'GraphQLUnion', 'GraphQLEnum', 'GraphQLSchema', 'GraphQLDirectiveDefinition']);
|
|
5974
5974
|
}
|
|
5975
|
-
protoOf(Companion_2).
|
|
5975
|
+
protoOf(Companion_2).x4m = function (_this__u8e3s4) {
|
|
5976
5976
|
var tmp0_safe_receiver = isInterface(_this__u8e3s4, HasAnnotations) ? _this__u8e3s4 : null;
|
|
5977
5977
|
// Inline function 'kotlin.collections.orEmpty' call
|
|
5978
|
-
var tmp0_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
5978
|
+
var tmp0_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.j1d();
|
|
5979
5979
|
return tmp0_elvis_lhs == null ? emptyList() : tmp0_elvis_lhs;
|
|
5980
5980
|
};
|
|
5981
|
-
protoOf(Companion_2).
|
|
5981
|
+
protoOf(Companion_2).a4n = function (_this__u8e3s4) {
|
|
5982
5982
|
var tmp;
|
|
5983
5983
|
if (_this__u8e3s4 instanceof Iterable) {
|
|
5984
|
-
tmp = this.
|
|
5984
|
+
tmp = this.a4n(_this__u8e3s4.yp_1);
|
|
5985
5985
|
} else {
|
|
5986
5986
|
if (_this__u8e3s4 instanceof Custom) {
|
|
5987
|
-
tmp = _this__u8e3s4.
|
|
5987
|
+
tmp = _this__u8e3s4.n19_1;
|
|
5988
5988
|
} else {
|
|
5989
5989
|
var tmp_0;
|
|
5990
5990
|
var tmp_1;
|
|
@@ -6013,10 +6013,10 @@ protoOf(Companion_2).w4i = function (_this__u8e3s4) {
|
|
|
6013
6013
|
}
|
|
6014
6014
|
return tmp;
|
|
6015
6015
|
};
|
|
6016
|
-
protoOf(Companion_2).
|
|
6016
|
+
protoOf(Companion_2).d4n = function (_this__u8e3s4) {
|
|
6017
6017
|
var tmp;
|
|
6018
6018
|
if (_this__u8e3s4 instanceof Iterable) {
|
|
6019
|
-
tmp = this.
|
|
6019
|
+
tmp = this.d4n(_this__u8e3s4.yp_1);
|
|
6020
6020
|
} else {
|
|
6021
6021
|
var tmp_0;
|
|
6022
6022
|
if (_this__u8e3s4 instanceof Any) {
|
|
@@ -6048,20 +6048,20 @@ protoOf(Companion_2).z4i = function (_this__u8e3s4) {
|
|
|
6048
6048
|
}
|
|
6049
6049
|
return tmp;
|
|
6050
6050
|
};
|
|
6051
|
-
protoOf(Companion_2).
|
|
6051
|
+
protoOf(Companion_2).u4m = function (_this__u8e3s4, name) {
|
|
6052
6052
|
// Inline function 'kotlin.collections.filter' call
|
|
6053
6053
|
// Inline function 'kotlin.collections.filterTo' call
|
|
6054
6054
|
var destination = ArrayList_init_$Create$_0();
|
|
6055
6055
|
var _iterator__ex2g4s = _this__u8e3s4.t();
|
|
6056
6056
|
while (_iterator__ex2g4s.u()) {
|
|
6057
6057
|
var element = _iterator__ex2g4s.v();
|
|
6058
|
-
if (element.
|
|
6058
|
+
if (element.c1a_1 === name) {
|
|
6059
6059
|
destination.x(element);
|
|
6060
6060
|
}
|
|
6061
6061
|
}
|
|
6062
6062
|
return destination;
|
|
6063
6063
|
};
|
|
6064
|
-
protoOf(Companion_2).
|
|
6064
|
+
protoOf(Companion_2).s4m = function (_this__u8e3s4, name) {
|
|
6065
6065
|
var tmp$ret$0;
|
|
6066
6066
|
$l$block_0: {
|
|
6067
6067
|
// Inline function 'kotlin.collections.any' call
|
|
@@ -6078,7 +6078,7 @@ protoOf(Companion_2).o4i = function (_this__u8e3s4, name) {
|
|
|
6078
6078
|
var _iterator__ex2g4s = _this__u8e3s4.t();
|
|
6079
6079
|
while (_iterator__ex2g4s.u()) {
|
|
6080
6080
|
var element = _iterator__ex2g4s.v();
|
|
6081
|
-
if (element.
|
|
6081
|
+
if (element.c1a_1 === name) {
|
|
6082
6082
|
tmp$ret$0 = true;
|
|
6083
6083
|
break $l$block_0;
|
|
6084
6084
|
}
|
|
@@ -6087,14 +6087,14 @@ protoOf(Companion_2).o4i = function (_this__u8e3s4, name) {
|
|
|
6087
6087
|
}
|
|
6088
6088
|
return tmp$ret$0;
|
|
6089
6089
|
};
|
|
6090
|
-
protoOf(Companion_2).
|
|
6090
|
+
protoOf(Companion_2).y4m = function (_this__u8e3s4, name) {
|
|
6091
6091
|
var tmp$ret$0;
|
|
6092
6092
|
$l$block: {
|
|
6093
6093
|
// Inline function 'kotlin.collections.firstOrNull' call
|
|
6094
6094
|
var _iterator__ex2g4s = _this__u8e3s4.t();
|
|
6095
6095
|
while (_iterator__ex2g4s.u()) {
|
|
6096
6096
|
var element = _iterator__ex2g4s.v();
|
|
6097
|
-
if (element.
|
|
6097
|
+
if (element.c1a_1 === name) {
|
|
6098
6098
|
tmp$ret$0 = element;
|
|
6099
6099
|
break $l$block;
|
|
6100
6100
|
}
|
|
@@ -6102,16 +6102,16 @@ protoOf(Companion_2).u4i = function (_this__u8e3s4, name) {
|
|
|
6102
6102
|
tmp$ret$0 = null;
|
|
6103
6103
|
}
|
|
6104
6104
|
var tmp0_safe_receiver = tmp$ret$0;
|
|
6105
|
-
return tmp0_safe_receiver == null ? null : this.
|
|
6105
|
+
return tmp0_safe_receiver == null ? null : this.v4m(tmp0_safe_receiver, 'default');
|
|
6106
6106
|
};
|
|
6107
|
-
protoOf(Companion_2).
|
|
6107
|
+
protoOf(Companion_2).z4m = function (_this__u8e3s4) {
|
|
6108
6108
|
var tmp$ret$0;
|
|
6109
6109
|
$l$block: {
|
|
6110
6110
|
// Inline function 'kotlin.collections.firstOrNull' call
|
|
6111
6111
|
var _iterator__ex2g4s = _this__u8e3s4.t();
|
|
6112
6112
|
while (_iterator__ex2g4s.u()) {
|
|
6113
6113
|
var element = _iterator__ex2g4s.v();
|
|
6114
|
-
if (element.
|
|
6114
|
+
if (element.c1a_1 === 'GraphQLImplements') {
|
|
6115
6115
|
tmp$ret$0 = element;
|
|
6116
6116
|
break $l$block;
|
|
6117
6117
|
}
|
|
@@ -6120,19 +6120,19 @@ protoOf(Companion_2).v4i = function (_this__u8e3s4) {
|
|
|
6120
6120
|
}
|
|
6121
6121
|
var tmp0_safe_receiver = tmp$ret$0;
|
|
6122
6122
|
// Inline function 'kotlin.collections.orEmpty' call
|
|
6123
|
-
var tmp0_elvis_lhs = tmp0_safe_receiver == null ? null : this.
|
|
6123
|
+
var tmp0_elvis_lhs = tmp0_safe_receiver == null ? null : this.t4m(tmp0_safe_receiver, 'default');
|
|
6124
6124
|
return tmp0_elvis_lhs == null ? emptyList() : tmp0_elvis_lhs;
|
|
6125
6125
|
};
|
|
6126
|
-
protoOf(Companion_2).
|
|
6126
|
+
protoOf(Companion_2).v4m = function (_this__u8e3s4, parameter) {
|
|
6127
6127
|
// Inline function 'kotlin.collections.find' call
|
|
6128
|
-
var tmp0 = _this__u8e3s4.
|
|
6128
|
+
var tmp0 = _this__u8e3s4.d1a_1;
|
|
6129
6129
|
var tmp$ret$1;
|
|
6130
6130
|
$l$block: {
|
|
6131
6131
|
// Inline function 'kotlin.collections.firstOrNull' call
|
|
6132
6132
|
var _iterator__ex2g4s = tmp0.t();
|
|
6133
6133
|
while (_iterator__ex2g4s.u()) {
|
|
6134
6134
|
var element = _iterator__ex2g4s.v();
|
|
6135
|
-
if (element.
|
|
6135
|
+
if (element.e1a_1 === parameter) {
|
|
6136
6136
|
tmp$ret$1 = element;
|
|
6137
6137
|
break $l$block;
|
|
6138
6138
|
}
|
|
@@ -6140,21 +6140,21 @@ protoOf(Companion_2).r4i = function (_this__u8e3s4, parameter) {
|
|
|
6140
6140
|
tmp$ret$1 = null;
|
|
6141
6141
|
}
|
|
6142
6142
|
var tmp0_safe_receiver = tmp$ret$1;
|
|
6143
|
-
var tmp = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
6143
|
+
var tmp = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.f1a_1;
|
|
6144
6144
|
var tmp1_safe_receiver = tmp instanceof Single ? tmp : null;
|
|
6145
|
-
var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.
|
|
6146
|
-
return tmp2_safe_receiver == null ? null : this.
|
|
6145
|
+
var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.i1a_1;
|
|
6146
|
+
return tmp2_safe_receiver == null ? null : this.e4n(tmp2_safe_receiver);
|
|
6147
6147
|
};
|
|
6148
|
-
protoOf(Companion_2).
|
|
6148
|
+
protoOf(Companion_2).t4m = function (_this__u8e3s4, parameter) {
|
|
6149
6149
|
// Inline function 'kotlin.collections.find' call
|
|
6150
|
-
var tmp0 = _this__u8e3s4.
|
|
6150
|
+
var tmp0 = _this__u8e3s4.d1a_1;
|
|
6151
6151
|
var tmp$ret$1;
|
|
6152
6152
|
$l$block: {
|
|
6153
6153
|
// Inline function 'kotlin.collections.firstOrNull' call
|
|
6154
6154
|
var _iterator__ex2g4s = tmp0.t();
|
|
6155
6155
|
while (_iterator__ex2g4s.u()) {
|
|
6156
6156
|
var element = _iterator__ex2g4s.v();
|
|
6157
|
-
if (element.
|
|
6157
|
+
if (element.e1a_1 === parameter) {
|
|
6158
6158
|
tmp$ret$1 = element;
|
|
6159
6159
|
break $l$block;
|
|
6160
6160
|
}
|
|
@@ -6162,9 +6162,9 @@ protoOf(Companion_2).p4i = function (_this__u8e3s4, parameter) {
|
|
|
6162
6162
|
tmp$ret$1 = null;
|
|
6163
6163
|
}
|
|
6164
6164
|
var tmp0_safe_receiver = tmp$ret$1;
|
|
6165
|
-
var tmp = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
6165
|
+
var tmp = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.f1a_1;
|
|
6166
6166
|
var tmp1_safe_receiver = tmp instanceof Array_0 ? tmp : null;
|
|
6167
|
-
var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.
|
|
6167
|
+
var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.h1a_1;
|
|
6168
6168
|
var tmp_0;
|
|
6169
6169
|
if (tmp2_safe_receiver == null) {
|
|
6170
6170
|
tmp_0 = null;
|
|
@@ -6175,7 +6175,7 @@ protoOf(Companion_2).p4i = function (_this__u8e3s4, parameter) {
|
|
|
6175
6175
|
var _iterator__ex2g4s_0 = tmp2_safe_receiver.t();
|
|
6176
6176
|
while (_iterator__ex2g4s_0.u()) {
|
|
6177
6177
|
var item = _iterator__ex2g4s_0.v();
|
|
6178
|
-
var tmp$ret$5 = Companion_getInstance_2().
|
|
6178
|
+
var tmp$ret$5 = Companion_getInstance_2().e4n(item.i1a_1);
|
|
6179
6179
|
destination.x(tmp$ret$5);
|
|
6180
6180
|
}
|
|
6181
6181
|
tmp_0 = destination;
|
|
@@ -6184,19 +6184,19 @@ protoOf(Companion_2).p4i = function (_this__u8e3s4, parameter) {
|
|
|
6184
6184
|
var tmp0_elvis_lhs = tmp_0;
|
|
6185
6185
|
return tmp0_elvis_lhs == null ? emptyList() : tmp0_elvis_lhs;
|
|
6186
6186
|
};
|
|
6187
|
-
protoOf(Companion_2).
|
|
6188
|
-
var tmp = single((new GraphQLDocumentParser('input X { x: ' + type + ' }')).
|
|
6189
|
-
return single((tmp instanceof InputObjectTypeDefinition ? tmp : THROW_CCE()).
|
|
6187
|
+
protoOf(Companion_2).b4n = function (type) {
|
|
6188
|
+
var tmp = single((new GraphQLDocumentParser('input X { x: ' + type + ' }')).v4i().z4j_1);
|
|
6189
|
+
return single((tmp instanceof InputObjectTypeDefinition ? tmp : THROW_CCE()).b4i_1).n4j_1;
|
|
6190
6190
|
};
|
|
6191
|
-
protoOf(Companion_2).
|
|
6192
|
-
var tmp = single((new GraphQLDocumentParser('input X { x: Int = ' + value + ' }')).
|
|
6193
|
-
return ensureNotNull(single((tmp instanceof InputObjectTypeDefinition ? tmp : THROW_CCE()).
|
|
6191
|
+
protoOf(Companion_2).c4n = function (value) {
|
|
6192
|
+
var tmp = single((new GraphQLDocumentParser('input X { x: Int = ' + value + ' }')).v4i().z4j_1);
|
|
6193
|
+
return ensureNotNull(single((tmp instanceof InputObjectTypeDefinition ? tmp : THROW_CCE()).b4i_1).o4j_1);
|
|
6194
6194
|
};
|
|
6195
|
-
protoOf(Companion_2).
|
|
6196
|
-
var tmp = single((new GraphQLDocumentParser('scalar X ' + directive)).
|
|
6197
|
-
return single((tmp instanceof ScalarTypeDefinition ? tmp : THROW_CCE()).
|
|
6195
|
+
protoOf(Companion_2).w4m = function (directive) {
|
|
6196
|
+
var tmp = single((new GraphQLDocumentParser('scalar X ' + directive)).v4i().z4j_1);
|
|
6197
|
+
return single((tmp instanceof ScalarTypeDefinition ? tmp : THROW_CCE()).a4h_1);
|
|
6198
6198
|
};
|
|
6199
|
-
protoOf(Companion_2).
|
|
6199
|
+
protoOf(Companion_2).e4n = function (_this__u8e3s4) {
|
|
6200
6200
|
// Inline function 'kotlin.text.buildString' call
|
|
6201
6201
|
// Inline function 'kotlin.apply' call
|
|
6202
6202
|
var this_0 = StringBuilder_init_$Create$();
|
|
@@ -6258,7 +6258,7 @@ function WirespecToGraphQL$reachablePlainTypes$lambda(this$0) {
|
|
|
6258
6258
|
while (_iterator__ex2g4s.u()) {
|
|
6259
6259
|
var element = _iterator__ex2g4s.v();
|
|
6260
6260
|
// Inline function 'kotlin.collections.map' call
|
|
6261
|
-
var this_0 = get_fields(getValue(this$0.
|
|
6261
|
+
var this_0 = get_fields(getValue(this$0.j4k_1, element).lp_1);
|
|
6262
6262
|
// Inline function 'kotlin.collections.mapTo' call
|
|
6263
6263
|
var destination_0 = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
6264
6264
|
var _iterator__ex2g4s_0 = this_0.t();
|
|
@@ -6283,10 +6283,10 @@ function WirespecToGraphQL$reachablePlainTypes$lambda(this$0) {
|
|
|
6283
6283
|
}
|
|
6284
6284
|
function WirespecToGraphQL(definitions) {
|
|
6285
6285
|
Companion_getInstance_2();
|
|
6286
|
-
this.
|
|
6286
|
+
this.c4k_1 = definitions;
|
|
6287
6287
|
var tmp = this;
|
|
6288
6288
|
// Inline function 'kotlin.collections.filterNot' call
|
|
6289
|
-
var tmp0 = this.
|
|
6289
|
+
var tmp0 = this.c4k_1;
|
|
6290
6290
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
6291
6291
|
var destination = ArrayList_init_$Create$_0();
|
|
6292
6292
|
var _iterator__ex2g4s = tmp0.t();
|
|
@@ -6298,17 +6298,17 @@ function WirespecToGraphQL(definitions) {
|
|
|
6298
6298
|
if (element instanceof Rpc) {
|
|
6299
6299
|
tmp_2 = true;
|
|
6300
6300
|
} else {
|
|
6301
|
-
tmp_2 = Companion_getInstance_2().
|
|
6301
|
+
tmp_2 = Companion_getInstance_2().s4m(Companion_getInstance_2().x4m(element), 'GraphQLExtend');
|
|
6302
6302
|
}
|
|
6303
6303
|
if (tmp_2) {
|
|
6304
6304
|
tmp_1 = true;
|
|
6305
6305
|
} else {
|
|
6306
|
-
tmp_1 = Companion_getInstance_2().
|
|
6306
|
+
tmp_1 = Companion_getInstance_2().s4m(Companion_getInstance_2().x4m(element), 'GraphQLSchema');
|
|
6307
6307
|
}
|
|
6308
6308
|
if (tmp_1) {
|
|
6309
6309
|
tmp_0 = true;
|
|
6310
6310
|
} else {
|
|
6311
|
-
tmp_0 = Companion_getInstance_2().
|
|
6311
|
+
tmp_0 = Companion_getInstance_2().s4m(Companion_getInstance_2().x4m(element), 'GraphQLDirectiveDefinition');
|
|
6312
6312
|
}
|
|
6313
6313
|
if (!tmp_0) {
|
|
6314
6314
|
destination.x(element);
|
|
@@ -6325,10 +6325,10 @@ function WirespecToGraphQL(definitions) {
|
|
|
6325
6325
|
var pair = to(element_0.ds().o1(), graphQLName(this, element_0));
|
|
6326
6326
|
destination_0.v2(pair.ff_1, pair.gf_1);
|
|
6327
6327
|
}
|
|
6328
|
-
tmp.
|
|
6328
|
+
tmp.d4k_1 = destination_0;
|
|
6329
6329
|
var tmp_3 = this;
|
|
6330
6330
|
// Inline function 'kotlin.collections.filterIsInstance' call
|
|
6331
|
-
var tmp0_0 = this.
|
|
6331
|
+
var tmp0_0 = this.c4k_1;
|
|
6332
6332
|
// Inline function 'kotlin.collections.filterIsInstanceTo' call
|
|
6333
6333
|
var destination_1 = ArrayList_init_$Create$_0();
|
|
6334
6334
|
var _iterator__ex2g4s_1 = tmp0_0.t();
|
|
@@ -6348,17 +6348,17 @@ function WirespecToGraphQL(definitions) {
|
|
|
6348
6348
|
var tmp$ret$11 = element_2.nq_1.o1();
|
|
6349
6349
|
destination_2.v2(tmp$ret$11, element_2);
|
|
6350
6350
|
}
|
|
6351
|
-
tmp_3.
|
|
6351
|
+
tmp_3.e4k_1 = destination_2;
|
|
6352
6352
|
var tmp_4 = this;
|
|
6353
6353
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
6354
|
-
var tmp0_1 = this.
|
|
6354
|
+
var tmp0_1 = this.c4k_1;
|
|
6355
6355
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
6356
6356
|
var destination_3 = ArrayList_init_$Create$_0();
|
|
6357
6357
|
// Inline function 'kotlin.collections.forEach' call
|
|
6358
6358
|
var _iterator__ex2g4s_3 = tmp0_1.t();
|
|
6359
6359
|
while (_iterator__ex2g4s_3.u()) {
|
|
6360
6360
|
var element_3 = _iterator__ex2g4s_3.v();
|
|
6361
|
-
var tmp0_safe_receiver = Companion_getInstance_2().
|
|
6361
|
+
var tmp0_safe_receiver = Companion_getInstance_2().y4m(Companion_getInstance_2().x4m(element_3), 'GraphQLInterface');
|
|
6362
6362
|
var tmp_5;
|
|
6363
6363
|
if (tmp0_safe_receiver == null) {
|
|
6364
6364
|
tmp_5 = null;
|
|
@@ -6374,10 +6374,10 @@ function WirespecToGraphQL(definitions) {
|
|
|
6374
6374
|
destination_3.x(tmp0_safe_receiver_0);
|
|
6375
6375
|
}
|
|
6376
6376
|
}
|
|
6377
|
-
tmp_4.
|
|
6377
|
+
tmp_4.f4k_1 = toMap(destination_3);
|
|
6378
6378
|
var tmp_6 = this;
|
|
6379
6379
|
// Inline function 'kotlin.collections.filterIsInstance' call
|
|
6380
|
-
var tmp0_2 = this.
|
|
6380
|
+
var tmp0_2 = this.c4k_1;
|
|
6381
6381
|
// Inline function 'kotlin.collections.filterIsInstanceTo' call
|
|
6382
6382
|
var destination_4 = ArrayList_init_$Create$_0();
|
|
6383
6383
|
var _iterator__ex2g4s_4 = tmp0_2.t();
|
|
@@ -6393,7 +6393,7 @@ function WirespecToGraphQL(definitions) {
|
|
|
6393
6393
|
var _iterator__ex2g4s_5 = destination_4.t();
|
|
6394
6394
|
while (_iterator__ex2g4s_5.u()) {
|
|
6395
6395
|
var element_5 = _iterator__ex2g4s_5.v();
|
|
6396
|
-
if (Companion_getInstance_2().
|
|
6396
|
+
if (Companion_getInstance_2().s4m(element_5.ar_1, 'GraphQLInterface') && Companion_getInstance_2().y4m(element_5.ar_1, 'GraphQLInterface') == null) {
|
|
6397
6397
|
destination_5.x(element_5);
|
|
6398
6398
|
}
|
|
6399
6399
|
}
|
|
@@ -6420,7 +6420,7 @@ function WirespecToGraphQL(definitions) {
|
|
|
6420
6420
|
var _iterator__ex2g4s_8 = destination_7.t();
|
|
6421
6421
|
while (_iterator__ex2g4s_8.u()) {
|
|
6422
6422
|
var item = _iterator__ex2g4s_8.v();
|
|
6423
|
-
var tmp$ret$33 = to(item.
|
|
6423
|
+
var tmp$ret$33 = to(item.n19_1, plus(listOf(graphQLName(this, element_6)), Companion_getInstance_2().z4m(element_6.ar_1)));
|
|
6424
6424
|
destination_8.x(tmp$ret$33);
|
|
6425
6425
|
}
|
|
6426
6426
|
var list = destination_8;
|
|
@@ -6460,10 +6460,10 @@ function WirespecToGraphQL(definitions) {
|
|
|
6460
6460
|
var tmp$ret$44 = flatten(interfaces);
|
|
6461
6461
|
destination_10.v2(tmp_8, tmp$ret$44);
|
|
6462
6462
|
}
|
|
6463
|
-
tmp_6.
|
|
6463
|
+
tmp_6.g4k_1 = destination_10;
|
|
6464
6464
|
var tmp_9 = this;
|
|
6465
6465
|
// Inline function 'kotlin.collections.filterIsInstance' call
|
|
6466
|
-
var tmp0_4 = this.
|
|
6466
|
+
var tmp0_4 = this.c4k_1;
|
|
6467
6467
|
// Inline function 'kotlin.collections.filterIsInstanceTo' call
|
|
6468
6468
|
var destination_11 = ArrayList_init_$Create$_0();
|
|
6469
6469
|
var _iterator__ex2g4s_11 = tmp0_4.t();
|
|
@@ -6493,10 +6493,10 @@ function WirespecToGraphQL(definitions) {
|
|
|
6493
6493
|
var list_1 = tmp_10;
|
|
6494
6494
|
list_1.x(element_11);
|
|
6495
6495
|
}
|
|
6496
|
-
tmp_9.
|
|
6496
|
+
tmp_9.h4k_1 = destination_12;
|
|
6497
6497
|
var tmp_11 = this;
|
|
6498
6498
|
// Inline function 'kotlin.collections.filterIsInstance' call
|
|
6499
|
-
var tmp0_5 = this.
|
|
6499
|
+
var tmp0_5 = this.c4k_1;
|
|
6500
6500
|
// Inline function 'kotlin.collections.filterIsInstanceTo' call
|
|
6501
6501
|
var destination_13 = ArrayList_init_$Create$_0();
|
|
6502
6502
|
var _iterator__ex2g4s_13 = tmp0_5.t();
|
|
@@ -6516,10 +6516,10 @@ function WirespecToGraphQL(definitions) {
|
|
|
6516
6516
|
var tmp$ret$57 = element_13.kp_1.o1();
|
|
6517
6517
|
destination_14.v2(tmp$ret$57, element_13);
|
|
6518
6518
|
}
|
|
6519
|
-
tmp_11.
|
|
6519
|
+
tmp_11.i4k_1 = destination_14;
|
|
6520
6520
|
var tmp_12 = this;
|
|
6521
6521
|
// Inline function 'kotlin.collections.filterIsInstance' call
|
|
6522
|
-
var tmp0_6 = this.
|
|
6522
|
+
var tmp0_6 = this.c4k_1;
|
|
6523
6523
|
// Inline function 'kotlin.collections.filterIsInstanceTo' call
|
|
6524
6524
|
var destination_15 = ArrayList_init_$Create$_0();
|
|
6525
6525
|
var _iterator__ex2g4s_15 = tmp0_6.t();
|
|
@@ -6535,7 +6535,7 @@ function WirespecToGraphQL(definitions) {
|
|
|
6535
6535
|
var _iterator__ex2g4s_16 = destination_15.t();
|
|
6536
6536
|
while (_iterator__ex2g4s_16.u()) {
|
|
6537
6537
|
var element_15 = _iterator__ex2g4s_16.v();
|
|
6538
|
-
var tmp0_7 = Companion_getInstance_2().
|
|
6538
|
+
var tmp0_7 = Companion_getInstance_2().r4m_1;
|
|
6539
6539
|
var tmp$ret$63;
|
|
6540
6540
|
$l$block_0: {
|
|
6541
6541
|
// Inline function 'kotlin.collections.none' call
|
|
@@ -6552,7 +6552,7 @@ function WirespecToGraphQL(definitions) {
|
|
|
6552
6552
|
var _iterator__ex2g4s_17 = tmp0_7.t();
|
|
6553
6553
|
while (_iterator__ex2g4s_17.u()) {
|
|
6554
6554
|
var element_16 = _iterator__ex2g4s_17.v();
|
|
6555
|
-
if (Companion_getInstance_2().
|
|
6555
|
+
if (Companion_getInstance_2().s4m(element_15.jp_1, element_16)) {
|
|
6556
6556
|
tmp$ret$63 = false;
|
|
6557
6557
|
break $l$block_0;
|
|
6558
6558
|
}
|
|
@@ -6573,10 +6573,10 @@ function WirespecToGraphQL(definitions) {
|
|
|
6573
6573
|
var tmp$ret$67 = element_17.kp_1.o1();
|
|
6574
6574
|
destination_17.v2(tmp$ret$67, element_17);
|
|
6575
6575
|
}
|
|
6576
|
-
tmp_12.
|
|
6576
|
+
tmp_12.j4k_1 = destination_17;
|
|
6577
6577
|
var tmp_14 = this;
|
|
6578
6578
|
// Inline function 'kotlin.collections.filterIsInstance' call
|
|
6579
|
-
var tmp0_8 = this.
|
|
6579
|
+
var tmp0_8 = this.c4k_1;
|
|
6580
6580
|
// Inline function 'kotlin.collections.filterIsInstanceTo' call
|
|
6581
6581
|
var destination_18 = ArrayList_init_$Create$_0();
|
|
6582
6582
|
var _iterator__ex2g4s_19 = tmp0_8.t();
|
|
@@ -6605,10 +6605,10 @@ function WirespecToGraphQL(definitions) {
|
|
|
6605
6605
|
var list_2 = destination_20;
|
|
6606
6606
|
addAll(destination_19, list_2);
|
|
6607
6607
|
}
|
|
6608
|
-
tmp_14.
|
|
6608
|
+
tmp_14.k4k_1 = reachablePlainTypes(this, destination_19);
|
|
6609
6609
|
var tmp_15 = this;
|
|
6610
6610
|
// Inline function 'kotlin.collections.flatMap' call
|
|
6611
|
-
var tmp0_9 = this.
|
|
6611
|
+
var tmp0_9 = this.c4k_1;
|
|
6612
6612
|
// Inline function 'kotlin.collections.flatMapTo' call
|
|
6613
6613
|
var destination_21 = ArrayList_init_$Create$_0();
|
|
6614
6614
|
var _iterator__ex2g4s_22 = tmp0_9.t();
|
|
@@ -6634,7 +6634,7 @@ function WirespecToGraphQL(definitions) {
|
|
|
6634
6634
|
}
|
|
6635
6635
|
// Inline function 'kotlin.takeUnless' call
|
|
6636
6636
|
var tmp_17;
|
|
6637
|
-
if (!this.
|
|
6637
|
+
if (!this.k4k_1.i1(element_20.kp_1.o1())) {
|
|
6638
6638
|
tmp_17 = destination_22;
|
|
6639
6639
|
} else {
|
|
6640
6640
|
tmp_17 = null;
|
|
@@ -6656,7 +6656,7 @@ function WirespecToGraphQL(definitions) {
|
|
|
6656
6656
|
}
|
|
6657
6657
|
// Inline function 'kotlin.takeIf' call
|
|
6658
6658
|
var tmp_18;
|
|
6659
|
-
var tmp0_10 = this.
|
|
6659
|
+
var tmp0_10 = this.f4k_1;
|
|
6660
6660
|
// Inline function 'kotlin.collections.contains' call
|
|
6661
6661
|
// Inline function 'kotlin.collections.containsKey' call
|
|
6662
6662
|
var key_1 = element_20.nq_1.o1();
|
|
@@ -6699,17 +6699,17 @@ function WirespecToGraphQL(definitions) {
|
|
|
6699
6699
|
var list_3 = tmp_16;
|
|
6700
6700
|
addAll(destination_21, list_3);
|
|
6701
6701
|
}
|
|
6702
|
-
tmp_15.
|
|
6702
|
+
tmp_15.l4k_1 = reachablePlainTypes(this, destination_21);
|
|
6703
6703
|
var tmp_22 = this;
|
|
6704
6704
|
// Inline function 'kotlin.collections.associateWith' call
|
|
6705
|
-
var this_3 = intersect(this.
|
|
6705
|
+
var this_3 = intersect(this.k4k_1, this.l4k_1);
|
|
6706
6706
|
var result = LinkedHashMap_init_$Create$(coerceAtLeast(mapCapacity(collectionSizeOrDefault(this_3, 10)), 16));
|
|
6707
6707
|
// Inline function 'kotlin.collections.associateWithTo' call
|
|
6708
6708
|
var _iterator__ex2g4s_25 = this_3.t();
|
|
6709
6709
|
while (_iterator__ex2g4s_25.u()) {
|
|
6710
6710
|
var element_21 = _iterator__ex2g4s_25.v();
|
|
6711
6711
|
// Inline function 'kotlin.let' call
|
|
6712
|
-
var name = graphQLName(this, getValue(this.
|
|
6712
|
+
var name = graphQLName(this, getValue(this.j4k_1, element_21)) + 'Input';
|
|
6713
6713
|
var tmp_23 = sequenceOf(name);
|
|
6714
6714
|
var tmp_24 = generateSequence(2, WirespecToGraphQL$inputNames$lambda);
|
|
6715
6715
|
var tmp0_11 = plus_3(tmp_23, map(tmp_24, WirespecToGraphQL$inputNames$lambda_0(name)));
|
|
@@ -6719,7 +6719,7 @@ function WirespecToGraphQL(definitions) {
|
|
|
6719
6719
|
var _iterator__ex2g4s_26 = tmp0_11.t();
|
|
6720
6720
|
while (_iterator__ex2g4s_26.u()) {
|
|
6721
6721
|
var element_22 = _iterator__ex2g4s_26.v();
|
|
6722
|
-
if (!this.
|
|
6722
|
+
if (!this.d4k_1.u2().i1(element_22)) {
|
|
6723
6723
|
tmp$ret$98 = element_22;
|
|
6724
6724
|
break $l$block_1;
|
|
6725
6725
|
}
|
|
@@ -6729,9 +6729,9 @@ function WirespecToGraphQL(definitions) {
|
|
|
6729
6729
|
var tmp$ret$95 = tmp$ret$98;
|
|
6730
6730
|
result.v2(element_21, tmp$ret$95);
|
|
6731
6731
|
}
|
|
6732
|
-
tmp_22.
|
|
6732
|
+
tmp_22.m4k_1 = result;
|
|
6733
6733
|
var tmp_25 = this;
|
|
6734
|
-
var tmp0_12 = this.
|
|
6734
|
+
var tmp0_12 = this.c4k_1;
|
|
6735
6735
|
var tmp$ret$100;
|
|
6736
6736
|
$l$block_5: {
|
|
6737
6737
|
// Inline function 'kotlin.collections.any' call
|
|
@@ -6837,7 +6837,7 @@ function WirespecToGraphQL(definitions) {
|
|
|
6837
6837
|
var _iterator__ex2g4s_31 = tmp0_13.t();
|
|
6838
6838
|
while (_iterator__ex2g4s_31.u()) {
|
|
6839
6839
|
var element_24 = _iterator__ex2g4s_31.v();
|
|
6840
|
-
if (Companion_getInstance_2().
|
|
6840
|
+
if (Companion_getInstance_2().d4n(element_24)) {
|
|
6841
6841
|
tmp$ret$111 = true;
|
|
6842
6842
|
break $l$block_4;
|
|
6843
6843
|
}
|
|
@@ -6851,11 +6851,11 @@ function WirespecToGraphQL(definitions) {
|
|
|
6851
6851
|
}
|
|
6852
6852
|
tmp$ret$100 = false;
|
|
6853
6853
|
}
|
|
6854
|
-
tmp_25.
|
|
6854
|
+
tmp_25.n4k_1 = tmp$ret$100;
|
|
6855
6855
|
}
|
|
6856
|
-
protoOf(WirespecToGraphQL).
|
|
6856
|
+
protoOf(WirespecToGraphQL).o4k = function () {
|
|
6857
6857
|
// Inline function 'kotlin.collections.flatMap' call
|
|
6858
|
-
var tmp0 = this.
|
|
6858
|
+
var tmp0 = this.c4k_1;
|
|
6859
6859
|
// Inline function 'kotlin.collections.flatMapTo' call
|
|
6860
6860
|
var destination = ArrayList_init_$Create$_0();
|
|
6861
6861
|
var _iterator__ex2g4s = tmp0.t();
|
|
@@ -6870,7 +6870,7 @@ protoOf(WirespecToGraphQL).k4g = function () {
|
|
|
6870
6870
|
// Inline function 'kotlin.takeIf' call
|
|
6871
6871
|
var this_0 = new ScalarTypeDefinition(null, 'JSON', emptyList(), false);
|
|
6872
6872
|
var tmp_1;
|
|
6873
|
-
if (this.
|
|
6873
|
+
if (this.n4k_1 && !this.d4k_1.u2().i1('JSON')) {
|
|
6874
6874
|
tmp_1 = this_0;
|
|
6875
6875
|
} else {
|
|
6876
6876
|
tmp_1 = null;
|