@flock/wirespec 0.9.20 → 0.9.21

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.
@@ -76,19 +76,19 @@
76
76
  var Type_Integer_getInstance = kotlin_community_flock_wirespec_compiler_core.$_$.r1;
77
77
  var Type_Number_getInstance = kotlin_community_flock_wirespec_compiler_core.$_$.s1;
78
78
  var Type_Boolean_getInstance = kotlin_community_flock_wirespec_compiler_core.$_$.q1;
79
- var Logger = kotlin_community_flock_wirespec_compiler_core.$_$.g1;
80
- var objectMeta = kotlin_kotlin.$_$.pa;
81
79
  var WirespecSpec_getInstance = kotlin_community_flock_wirespec_compiler_core.$_$.y1;
82
80
  var compile = kotlin_community_flock_wirespec_compiler_core.$_$.d1;
81
+ var get_noLogger = kotlin_community_flock_wirespec_compiler_core.$_$.h1;
83
82
  var tokenize = kotlin_community_flock_wirespec_compiler_core.$_$.c1;
84
83
  var Parser = kotlin_community_flock_wirespec_compiler_core.$_$.w;
85
84
  var KotlinEmitter = kotlin_community_flock_wirespec_compiler_core.$_$.d;
85
+ var objectMeta = kotlin_kotlin.$_$.pa;
86
86
  var TypeScriptEmitter = kotlin_community_flock_wirespec_compiler_core.$_$.f;
87
87
  var ScalaEmitter = kotlin_community_flock_wirespec_compiler_core.$_$.e;
88
88
  var JavaEmitter = kotlin_community_flock_wirespec_compiler_core.$_$.c;
89
89
  var WirespecEmitter = kotlin_community_flock_wirespec_compiler_core.$_$.g;
90
- var Companion_instance_0 = kotlin_community_flock_wirespec_converter_openapi.$_$.c;
91
- var Companion_instance_1 = kotlin_community_flock_wirespec_converter_openapi.$_$.d;
90
+ var OpenApiV2Parser_instance = kotlin_community_flock_wirespec_converter_openapi.$_$.b;
91
+ var OpenApiV3Parser_instance = kotlin_community_flock_wirespec_converter_openapi.$_$.d;
92
92
  var Right = kotlin_io_arrow_kt_arrow_core.$_$.d;
93
93
  var NonEmptyList = kotlin_io_arrow_kt_arrow_core.$_$.e;
94
94
  var Left = kotlin_io_arrow_kt_arrow_core.$_$.c;
@@ -119,28 +119,22 @@
119
119
  setMetadataFor(WsRequest, 'WsRequest', classMeta);
120
120
  setMetadataFor(WsResponse, 'WsResponse', classMeta);
121
121
  setMetadataFor(WsContent, 'WsContent', classMeta);
122
- setMetadataFor(Compiler$Companion$logger$1, VOID, classMeta, Logger);
123
- setMetadataFor(Companion, 'Companion', objectMeta);
124
122
  setMetadataFor(Compiler, 'Compiler', classMeta);
125
- setMetadataFor(Companion_0, 'Companion', objectMeta);
123
+ setMetadataFor(Companion, 'Companion', objectMeta);
126
124
  setMetadataFor(WsToKotlin, 'WsToKotlin', classMeta, Compiler, VOID, WsToKotlin);
127
- setMetadataFor(Companion_1, 'Companion', objectMeta);
125
+ setMetadataFor(Companion_0, 'Companion', objectMeta);
128
126
  setMetadataFor(WsToTypeScript, 'WsToTypeScript', classMeta, Compiler, VOID, WsToTypeScript);
129
- setMetadataFor(Companion_2, 'Companion', objectMeta);
127
+ setMetadataFor(Companion_1, 'Companion', objectMeta);
130
128
  setMetadataFor(WsToScala, 'WsToScala', classMeta, Compiler, VOID, WsToScala);
131
- setMetadataFor(Companion_3, 'Companion', objectMeta);
129
+ setMetadataFor(Companion_2, 'Companion', objectMeta);
132
130
  setMetadataFor(WsToJava, 'WsToJava', classMeta, Compiler, VOID, WsToJava);
133
- setMetadataFor(Companion_4, 'Companion', objectMeta);
131
+ setMetadataFor(Companion_3, 'Companion', objectMeta);
134
132
  setMetadataFor(WsToWirespec, 'WsToWirespec', classMeta, Compiler, VOID, WsToWirespec);
135
133
  setMetadataFor(OpenApiV2Parser, 'OpenApiV2Parser', objectMeta);
136
- setMetadataFor(OpenApiV2ToTypescript$logger$1, VOID, classMeta, Logger);
137
134
  setMetadataFor(OpenApiV2ToTypescript, 'OpenApiV2ToTypescript', objectMeta);
138
- setMetadataFor(OpenApiV2ToWirespec$logger$1, VOID, classMeta, Logger);
139
135
  setMetadataFor(OpenApiV2ToWirespec, 'OpenApiV2ToWirespec', objectMeta);
140
136
  setMetadataFor(OpenApiV3Parser, 'OpenApiV3Parser', objectMeta);
141
- setMetadataFor(OpenApiV3ToTypescript$logger$1, VOID, classMeta, Logger);
142
137
  setMetadataFor(OpenApiV3ToTypescript, 'OpenApiV3ToTypescript', objectMeta);
143
- setMetadataFor(OpenApiV3ToWirespec$logger$1, VOID, classMeta, Logger);
144
138
  setMetadataFor(OpenApiV3ToWirespec, 'OpenApiV3ToWirespec', objectMeta);
145
139
  setMetadataFor(WsCompilationResult, 'WsCompilationResult', classMeta, VOID, VOID, WsCompilationResult);
146
140
  setMetadataFor(WsCompiled, 'WsCompiled', classMeta);
@@ -1827,28 +1821,10 @@
1827
1821
  WsPrimitiveType_initEntries();
1828
1822
  return WsPrimitiveType_Boolean_instance;
1829
1823
  }
1830
- function Compiler$Companion$logger$1() {
1831
- Logger.call(this);
1832
- }
1833
- function Companion() {
1834
- Companion_instance_2 = this;
1835
- var tmp = this;
1836
- tmp.logger = new Compiler$Companion$logger$1();
1837
- }
1838
- protoOf(Companion).j2f = function () {
1839
- return this.logger;
1840
- };
1841
- var Companion_instance_2;
1842
- function Companion_getInstance() {
1843
- if (Companion_instance_2 == null)
1844
- new Companion();
1845
- return Companion_instance_2;
1846
- }
1847
1824
  function Compiler() {
1848
- Companion_getInstance();
1849
1825
  }
1850
1826
  protoOf(Compiler).preCompile = function (source) {
1851
- return compile(WirespecSpec_getInstance(), source)(Companion_getInstance().logger);
1827
+ return compile(WirespecSpec_getInstance(), source)(get_noLogger());
1852
1828
  };
1853
1829
  protoOf(Compiler).tokenize = function (source) {
1854
1830
  return produce_18(tokenize(WirespecSpec_getInstance(), source));
@@ -1858,119 +1834,111 @@
1858
1834
  // Inline function 'kotlin.contracts.contract' call
1859
1835
  // Inline function 'community.flock.wirespec.compiler.lib.Compiler.parse.<anonymous>' call
1860
1836
  var it = tokenize(WirespecSpec_getInstance(), source);
1861
- return produce_14((new Parser(Companion_getInstance().logger)).u20(it));
1837
+ return produce_14((new Parser(get_noLogger())).u20(it));
1838
+ };
1839
+ function Companion() {
1840
+ Companion_instance_0 = this;
1841
+ this.j2f_1 = new KotlinEmitter(VOID, get_noLogger());
1842
+ }
1843
+ var Companion_instance_0;
1844
+ function Companion_getInstance() {
1845
+ if (Companion_instance_0 == null)
1846
+ new Companion();
1847
+ return Companion_instance_0;
1848
+ }
1849
+ function WsToKotlin() {
1850
+ Companion_getInstance();
1851
+ Compiler.call(this);
1852
+ }
1853
+ protoOf(WsToKotlin).compile = function (source) {
1854
+ return produce_15(this.preCompile(source)(Companion_getInstance().j2f_1));
1862
1855
  };
1863
1856
  function Companion_0() {
1864
- Companion_instance_3 = this;
1865
- this.k2f_1 = new KotlinEmitter(VOID, Companion_getInstance().logger);
1857
+ Companion_instance_1 = this;
1858
+ this.k2f_1 = new TypeScriptEmitter(get_noLogger());
1866
1859
  }
1867
- var Companion_instance_3;
1860
+ var Companion_instance_1;
1868
1861
  function Companion_getInstance_0() {
1869
- if (Companion_instance_3 == null)
1862
+ if (Companion_instance_1 == null)
1870
1863
  new Companion_0();
1871
- return Companion_instance_3;
1864
+ return Companion_instance_1;
1872
1865
  }
1873
- function WsToKotlin() {
1866
+ function WsToTypeScript() {
1874
1867
  Companion_getInstance_0();
1875
1868
  Compiler.call(this);
1876
1869
  }
1877
- protoOf(WsToKotlin).compile = function (source) {
1870
+ protoOf(WsToTypeScript).compile = function (source) {
1878
1871
  return produce_15(this.preCompile(source)(Companion_getInstance_0().k2f_1));
1879
1872
  };
1880
1873
  function Companion_1() {
1881
- Companion_instance_4 = this;
1882
- this.l2f_1 = new TypeScriptEmitter(Companion_getInstance().logger);
1874
+ Companion_instance_2 = this;
1875
+ this.l2f_1 = new ScalaEmitter(VOID, get_noLogger());
1883
1876
  }
1884
- var Companion_instance_4;
1877
+ var Companion_instance_2;
1885
1878
  function Companion_getInstance_1() {
1886
- if (Companion_instance_4 == null)
1879
+ if (Companion_instance_2 == null)
1887
1880
  new Companion_1();
1888
- return Companion_instance_4;
1881
+ return Companion_instance_2;
1889
1882
  }
1890
- function WsToTypeScript() {
1883
+ function WsToScala() {
1891
1884
  Companion_getInstance_1();
1892
1885
  Compiler.call(this);
1893
1886
  }
1894
- protoOf(WsToTypeScript).compile = function (source) {
1887
+ protoOf(WsToScala).compile = function (source) {
1895
1888
  return produce_15(this.preCompile(source)(Companion_getInstance_1().l2f_1));
1896
1889
  };
1897
1890
  function Companion_2() {
1898
- Companion_instance_5 = this;
1899
- this.m2f_1 = new ScalaEmitter(VOID, Companion_getInstance().logger);
1891
+ Companion_instance_3 = this;
1892
+ this.m2f_1 = new JavaEmitter(VOID, get_noLogger());
1900
1893
  }
1901
- var Companion_instance_5;
1894
+ var Companion_instance_3;
1902
1895
  function Companion_getInstance_2() {
1903
- if (Companion_instance_5 == null)
1896
+ if (Companion_instance_3 == null)
1904
1897
  new Companion_2();
1905
- return Companion_instance_5;
1898
+ return Companion_instance_3;
1906
1899
  }
1907
- function WsToScala() {
1900
+ function WsToJava() {
1908
1901
  Companion_getInstance_2();
1909
1902
  Compiler.call(this);
1910
1903
  }
1911
- protoOf(WsToScala).compile = function (source) {
1904
+ protoOf(WsToJava).compile = function (source) {
1912
1905
  return produce_15(this.preCompile(source)(Companion_getInstance_2().m2f_1));
1913
1906
  };
1914
1907
  function Companion_3() {
1915
- Companion_instance_6 = this;
1916
- this.n2f_1 = new JavaEmitter(VOID, Companion_getInstance().logger);
1908
+ Companion_instance_4 = this;
1909
+ this.n2f_1 = new WirespecEmitter(get_noLogger());
1917
1910
  }
1918
- var Companion_instance_6;
1911
+ var Companion_instance_4;
1919
1912
  function Companion_getInstance_3() {
1920
- if (Companion_instance_6 == null)
1913
+ if (Companion_instance_4 == null)
1921
1914
  new Companion_3();
1922
- return Companion_instance_6;
1923
- }
1924
- function WsToJava() {
1925
- Companion_getInstance_3();
1926
- Compiler.call(this);
1927
- }
1928
- protoOf(WsToJava).compile = function (source) {
1929
- return produce_15(this.preCompile(source)(Companion_getInstance_3().n2f_1));
1930
- };
1931
- function Companion_4() {
1932
- Companion_instance_7 = this;
1933
- this.o2f_1 = new WirespecEmitter(Companion_getInstance().logger);
1934
- }
1935
- var Companion_instance_7;
1936
- function Companion_getInstance_4() {
1937
- if (Companion_instance_7 == null)
1938
- new Companion_4();
1939
- return Companion_instance_7;
1915
+ return Companion_instance_4;
1940
1916
  }
1941
1917
  function WsToWirespec() {
1942
- Companion_getInstance_4();
1918
+ Companion_getInstance_3();
1943
1919
  Compiler.call(this);
1944
1920
  }
1945
1921
  protoOf(WsToWirespec).compile = function (source) {
1946
- return produce_15(this.preCompile(source)(Companion_getInstance_4().o2f_1));
1922
+ return produce_15(this.preCompile(source)(Companion_getInstance_3().n2f_1));
1947
1923
  };
1948
1924
  function OpenApiV2Parser() {
1949
1925
  }
1950
1926
  protoOf(OpenApiV2Parser).parse = function (source) {
1951
- return produce(Companion_instance_0.i2c(source));
1927
+ return produce(OpenApiV2Parser_instance.u2c(source));
1952
1928
  };
1953
- var OpenApiV2Parser_instance;
1929
+ var OpenApiV2Parser_instance_0;
1954
1930
  function OpenApiV2Parser_getInstance() {
1955
- return OpenApiV2Parser_instance;
1956
- }
1957
- function OpenApiV2ToTypescript$logger$1() {
1958
- Logger.call(this);
1931
+ return OpenApiV2Parser_instance_0;
1959
1932
  }
1960
1933
  function OpenApiV2ToTypescript() {
1961
1934
  OpenApiV2ToTypescript_instance = this;
1962
- var tmp = this;
1963
- tmp.logger = new OpenApiV2ToTypescript$logger$1();
1964
- this.p2f_1 = new TypeScriptEmitter(this.logger);
1935
+ this.o2f_1 = new TypeScriptEmitter(get_noLogger());
1965
1936
  }
1966
- protoOf(OpenApiV2ToTypescript).j2f = function () {
1967
- return this.logger;
1968
- };
1969
1937
  protoOf(OpenApiV2ToTypescript).compile = function (source) {
1970
- var ast = Companion_instance_0.i2c(source);
1938
+ var ast = OpenApiV2Parser_instance.u2c(source);
1971
1939
  // Inline function 'kotlin.collections.toTypedArray' call
1972
1940
  // Inline function 'kotlin.collections.map' call
1973
- var this_0 = this.p2f_1.p20(ast);
1941
+ var this_0 = this.o2f_1.p20(ast);
1974
1942
  // Inline function 'kotlin.collections.mapTo' call
1975
1943
  var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
1976
1944
  var tmp0_iterator = this_0.v();
@@ -1990,23 +1958,15 @@
1990
1958
  new OpenApiV2ToTypescript();
1991
1959
  return OpenApiV2ToTypescript_instance;
1992
1960
  }
1993
- function OpenApiV2ToWirespec$logger$1() {
1994
- Logger.call(this);
1995
- }
1996
1961
  function OpenApiV2ToWirespec() {
1997
1962
  OpenApiV2ToWirespec_instance = this;
1998
- var tmp = this;
1999
- tmp.logger = new OpenApiV2ToWirespec$logger$1();
2000
- this.q2f_1 = new WirespecEmitter(this.logger);
1963
+ this.p2f_1 = new WirespecEmitter(get_noLogger());
2001
1964
  }
2002
- protoOf(OpenApiV2ToWirespec).j2f = function () {
2003
- return this.logger;
2004
- };
2005
1965
  protoOf(OpenApiV2ToWirespec).compile = function (source) {
2006
- var ast = Companion_instance_0.i2c(source);
1966
+ var ast = OpenApiV2Parser_instance.u2c(source);
2007
1967
  // Inline function 'kotlin.collections.toTypedArray' call
2008
1968
  // Inline function 'kotlin.collections.map' call
2009
- var this_0 = this.q2f_1.p20(ast);
1969
+ var this_0 = this.p2f_1.p20(ast);
2010
1970
  // Inline function 'kotlin.collections.mapTo' call
2011
1971
  var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
2012
1972
  var tmp0_iterator = this_0.v();
@@ -2029,29 +1989,21 @@
2029
1989
  function OpenApiV3Parser() {
2030
1990
  }
2031
1991
  protoOf(OpenApiV3Parser).parse = function (source) {
2032
- return produce(Companion_instance_1.z2c(source));
1992
+ return produce(OpenApiV3Parser_instance.k2d(source));
2033
1993
  };
2034
- var OpenApiV3Parser_instance;
1994
+ var OpenApiV3Parser_instance_0;
2035
1995
  function OpenApiV3Parser_getInstance() {
2036
- return OpenApiV3Parser_instance;
2037
- }
2038
- function OpenApiV3ToTypescript$logger$1() {
2039
- Logger.call(this);
1996
+ return OpenApiV3Parser_instance_0;
2040
1997
  }
2041
1998
  function OpenApiV3ToTypescript() {
2042
1999
  OpenApiV3ToTypescript_instance = this;
2043
- var tmp = this;
2044
- tmp.logger = new OpenApiV3ToTypescript$logger$1();
2045
- this.r2f_1 = new TypeScriptEmitter(this.logger);
2000
+ this.q2f_1 = new TypeScriptEmitter(get_noLogger());
2046
2001
  }
2047
- protoOf(OpenApiV3ToTypescript).j2f = function () {
2048
- return this.logger;
2049
- };
2050
2002
  protoOf(OpenApiV3ToTypescript).compile = function (source) {
2051
- var ast = Companion_instance_1.z2c(source);
2003
+ var ast = OpenApiV3Parser_instance.k2d(source);
2052
2004
  // Inline function 'kotlin.collections.toTypedArray' call
2053
2005
  // Inline function 'kotlin.collections.map' call
2054
- var this_0 = this.r2f_1.p20(ast);
2006
+ var this_0 = this.q2f_1.p20(ast);
2055
2007
  // Inline function 'kotlin.collections.mapTo' call
2056
2008
  var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
2057
2009
  var tmp0_iterator = this_0.v();
@@ -2071,23 +2023,15 @@
2071
2023
  new OpenApiV3ToTypescript();
2072
2024
  return OpenApiV3ToTypescript_instance;
2073
2025
  }
2074
- function OpenApiV3ToWirespec$logger$1() {
2075
- Logger.call(this);
2076
- }
2077
2026
  function OpenApiV3ToWirespec() {
2078
2027
  OpenApiV3ToWirespec_instance = this;
2079
- var tmp = this;
2080
- tmp.logger = new OpenApiV3ToWirespec$logger$1();
2081
- this.s2f_1 = new WirespecEmitter(this.logger);
2028
+ this.r2f_1 = new WirespecEmitter(get_noLogger());
2082
2029
  }
2083
- protoOf(OpenApiV3ToWirespec).j2f = function () {
2084
- return this.logger;
2085
- };
2086
2030
  protoOf(OpenApiV3ToWirespec).compile = function (source) {
2087
- var ast = Companion_instance_1.z2c(source);
2031
+ var ast = OpenApiV3Parser_instance.k2d(source);
2088
2032
  // Inline function 'kotlin.collections.toTypedArray' call
2089
2033
  // Inline function 'kotlin.collections.map' call
2090
- var this_0 = this.s2f_1.p20(ast);
2034
+ var this_0 = this.r2f_1.p20(ast);
2091
2035
  // Inline function 'kotlin.collections.mapTo' call
2092
2036
  var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
2093
2037
  var tmp0_iterator = this_0.v();
@@ -2120,10 +2064,10 @@
2120
2064
  this.result = result;
2121
2065
  this.errors = errors;
2122
2066
  }
2123
- protoOf(WsCompilationResult).t2f = function () {
2067
+ protoOf(WsCompilationResult).s2f = function () {
2124
2068
  return this.result;
2125
2069
  };
2126
- protoOf(WsCompilationResult).u2f = function () {
2070
+ protoOf(WsCompilationResult).t2f = function () {
2127
2071
  return this.errors;
2128
2072
  };
2129
2073
  function WsCompiled(value) {
@@ -2148,10 +2092,10 @@
2148
2092
  this.result = result;
2149
2093
  this.errors = errors;
2150
2094
  }
2151
- protoOf(WsParseResult).t2f = function () {
2095
+ protoOf(WsParseResult).s2f = function () {
2152
2096
  return this.result;
2153
2097
  };
2154
- protoOf(WsParseResult).u2f = function () {
2098
+ protoOf(WsParseResult).t2f = function () {
2155
2099
  return this.errors;
2156
2100
  };
2157
2101
  function WsStringResult(result, errors) {
@@ -2160,20 +2104,20 @@
2160
2104
  this.result = result;
2161
2105
  this.errors = errors;
2162
2106
  }
2163
- protoOf(WsStringResult).t2f = function () {
2107
+ protoOf(WsStringResult).s2f = function () {
2164
2108
  return this.result;
2165
2109
  };
2166
- protoOf(WsStringResult).u2f = function () {
2110
+ protoOf(WsStringResult).t2f = function () {
2167
2111
  return this.errors;
2168
2112
  };
2169
2113
  function WsEmitted(typeName, result) {
2170
2114
  this.typeName = typeName;
2171
2115
  this.result = result;
2172
2116
  }
2173
- protoOf(WsEmitted).v2f = function () {
2117
+ protoOf(WsEmitted).u2f = function () {
2174
2118
  return this.typeName;
2175
2119
  };
2176
- protoOf(WsEmitted).t2f = function () {
2120
+ protoOf(WsEmitted).s2f = function () {
2177
2121
  return this.result;
2178
2122
  };
2179
2123
  function produce_14(_this__u8e3s4) {
@@ -2307,10 +2251,10 @@
2307
2251
  this.tokens = tokens;
2308
2252
  this.error = error;
2309
2253
  }
2310
- protoOf(WsTokenResult).w2f = function () {
2254
+ protoOf(WsTokenResult).v2f = function () {
2311
2255
  return this.tokens;
2312
2256
  };
2313
- protoOf(WsTokenResult).x2f = function () {
2257
+ protoOf(WsTokenResult).w2f = function () {
2314
2258
  return this.error;
2315
2259
  };
2316
2260
  protoOf(WsTokenResult).jd = function () {
@@ -2319,13 +2263,13 @@
2319
2263
  protoOf(WsTokenResult).kd = function () {
2320
2264
  return this.error;
2321
2265
  };
2322
- protoOf(WsTokenResult).y2f = function (tokens, error) {
2266
+ protoOf(WsTokenResult).x2f = function (tokens, error) {
2323
2267
  return new WsTokenResult(tokens, error);
2324
2268
  };
2325
2269
  protoOf(WsTokenResult).copy = function (tokens, error, $super) {
2326
2270
  tokens = tokens === VOID ? this.tokens : tokens;
2327
2271
  error = error === VOID ? this.error : error;
2328
- return this.y2f(tokens, error);
2272
+ return this.x2f(tokens, error);
2329
2273
  };
2330
2274
  protoOf(WsTokenResult).toString = function () {
2331
2275
  return 'WsTokenResult(tokens=' + this.tokens + ', error=' + this.error + ')';
@@ -2370,12 +2314,12 @@
2370
2314
  protoOf(WsTokens).jd = function () {
2371
2315
  return this.value;
2372
2316
  };
2373
- protoOf(WsTokens).z2f = function (value) {
2317
+ protoOf(WsTokens).y2f = function (value) {
2374
2318
  return new WsTokens(value);
2375
2319
  };
2376
2320
  protoOf(WsTokens).copy = function (value, $super) {
2377
2321
  value = value === VOID ? this.value : value;
2378
- return this.z2f(value);
2322
+ return this.y2f(value);
2379
2323
  };
2380
2324
  protoOf(WsTokens).toString = function () {
2381
2325
  return 'WsTokens(value=' + toString(this.value) + ')';
@@ -2392,7 +2336,7 @@
2392
2336
  protoOf(WsToken).p2 = function () {
2393
2337
  return this.value;
2394
2338
  };
2395
- protoOf(WsToken).a2g = function () {
2339
+ protoOf(WsToken).z2f = function () {
2396
2340
  return this.coordinates;
2397
2341
  };
2398
2342
  protoOf(WsToken).jd = function () {
@@ -2404,14 +2348,14 @@
2404
2348
  protoOf(WsToken).dh = function () {
2405
2349
  return this.coordinates;
2406
2350
  };
2407
- protoOf(WsToken).b2g = function (type, value, coordinates) {
2351
+ protoOf(WsToken).a2g = function (type, value, coordinates) {
2408
2352
  return new WsToken(type, value, coordinates);
2409
2353
  };
2410
2354
  protoOf(WsToken).copy = function (type, value, coordinates, $super) {
2411
2355
  type = type === VOID ? this.type : type;
2412
2356
  value = value === VOID ? this.value : value;
2413
2357
  coordinates = coordinates === VOID ? this.coordinates : coordinates;
2414
- return this.b2g(type, value, coordinates);
2358
+ return this.a2g(type, value, coordinates);
2415
2359
  };
2416
2360
  protoOf(WsToken).toString = function () {
2417
2361
  return 'WsToken(type=' + this.type + ', value=' + this.value + ', coordinates=' + this.coordinates + ')';
@@ -2444,13 +2388,13 @@
2444
2388
  this.position = position;
2445
2389
  this.idxAndLength = idxAndLength;
2446
2390
  }
2447
- protoOf(WsCoordinates).c2g = function () {
2391
+ protoOf(WsCoordinates).b2g = function () {
2448
2392
  return this.line;
2449
2393
  };
2450
2394
  protoOf(WsCoordinates).xs = function () {
2451
2395
  return this.position;
2452
2396
  };
2453
- protoOf(WsCoordinates).d2g = function () {
2397
+ protoOf(WsCoordinates).c2g = function () {
2454
2398
  return this.idxAndLength;
2455
2399
  };
2456
2400
  protoOf(WsCoordinates).jd = function () {
@@ -2462,14 +2406,14 @@
2462
2406
  protoOf(WsCoordinates).dh = function () {
2463
2407
  return this.idxAndLength;
2464
2408
  };
2465
- protoOf(WsCoordinates).e2g = function (line, position, idxAndLength) {
2409
+ protoOf(WsCoordinates).d2g = function (line, position, idxAndLength) {
2466
2410
  return new WsCoordinates(line, position, idxAndLength);
2467
2411
  };
2468
2412
  protoOf(WsCoordinates).copy = function (line, position, idxAndLength, $super) {
2469
2413
  line = line === VOID ? this.line : line;
2470
2414
  position = position === VOID ? this.position : position;
2471
2415
  idxAndLength = idxAndLength === VOID ? this.idxAndLength : idxAndLength;
2472
- return this.e2g(line, position, idxAndLength);
2416
+ return this.d2g(line, position, idxAndLength);
2473
2417
  };
2474
2418
  protoOf(WsCoordinates).toString = function () {
2475
2419
  return 'WsCoordinates(line=' + this.line + ', position=' + this.position + ', idxAndLength=' + this.idxAndLength + ')';
@@ -2500,7 +2444,7 @@
2500
2444
  this.idx = idx;
2501
2445
  this.length = length;
2502
2446
  }
2503
- protoOf(WsIndex).f2g = function () {
2447
+ protoOf(WsIndex).e2g = function () {
2504
2448
  return this.idx;
2505
2449
  };
2506
2450
  protoOf(WsIndex).a = function () {
@@ -2512,13 +2456,13 @@
2512
2456
  protoOf(WsIndex).kd = function () {
2513
2457
  return this.length;
2514
2458
  };
2515
- protoOf(WsIndex).g2g = function (idx, length) {
2459
+ protoOf(WsIndex).f2g = function (idx, length) {
2516
2460
  return new WsIndex(idx, length);
2517
2461
  };
2518
2462
  protoOf(WsIndex).copy = function (idx, length, $super) {
2519
2463
  idx = idx === VOID ? this.idx : idx;
2520
2464
  length = length === VOID ? this.length : length;
2521
- return this.g2g(idx, length);
2465
+ return this.f2g(idx, length);
2522
2466
  };
2523
2467
  protoOf(WsIndex).toString = function () {
2524
2468
  return 'WsIndex(idx=' + this.idx + ', length=' + this.length + ')';
@@ -2569,7 +2513,7 @@
2569
2513
  this.length = length;
2570
2514
  this.value = value;
2571
2515
  }
2572
- protoOf(WsError).h2g = function () {
2516
+ protoOf(WsError).g2g = function () {
2573
2517
  return this.index;
2574
2518
  };
2575
2519
  protoOf(WsError).a = function () {
@@ -2587,14 +2531,14 @@
2587
2531
  protoOf(WsError).dh = function () {
2588
2532
  return this.value;
2589
2533
  };
2590
- protoOf(WsError).i2g = function (index, length, value) {
2534
+ protoOf(WsError).h2g = function (index, length, value) {
2591
2535
  return new WsError(index, length, value);
2592
2536
  };
2593
2537
  protoOf(WsError).copy = function (index, length, value, $super) {
2594
2538
  index = index === VOID ? this.index : index;
2595
2539
  length = length === VOID ? this.length : length;
2596
2540
  value = value === VOID ? this.value : value;
2597
- return this.i2g(index, length, value);
2541
+ return this.h2g(index, length, value);
2598
2542
  };
2599
2543
  protoOf(WsError).toString = function () {
2600
2544
  return 'WsError(index=' + this.index + ', length=' + this.length + ', value=' + this.value + ')';
@@ -2670,8 +2614,8 @@
2670
2614
  defineProp(protoOf(WsPrimitiveType), 'ordinal', protoOf(WsPrimitiveType).ab);
2671
2615
  //endregion
2672
2616
  //region block: init
2673
- OpenApiV2Parser_instance = new OpenApiV2Parser();
2674
- OpenApiV3Parser_instance = new OpenApiV3Parser();
2617
+ OpenApiV2Parser_instance_0 = new OpenApiV2Parser();
2618
+ OpenApiV3Parser_instance_0 = new OpenApiV3Parser();
2675
2619
  //endregion
2676
2620
  //region block: exports
2677
2621
  function $jsExportAll$(_) {
@@ -2722,17 +2666,16 @@
2722
2666
  var $community$flock$wirespec$compiler = $community$flock$wirespec.compiler || ($community$flock$wirespec.compiler = {});
2723
2667
  var $community$flock$wirespec$compiler$lib = $community$flock$wirespec$compiler.lib || ($community$flock$wirespec$compiler.lib = {});
2724
2668
  $community$flock$wirespec$compiler$lib.Compiler = Compiler;
2725
- defineProp($community$flock$wirespec$compiler$lib.Compiler, 'Companion', Companion_getInstance);
2726
2669
  $community$flock$wirespec$compiler$lib.WsToKotlin = WsToKotlin;
2727
- defineProp($community$flock$wirespec$compiler$lib.WsToKotlin, 'Companion', Companion_getInstance_0);
2670
+ defineProp($community$flock$wirespec$compiler$lib.WsToKotlin, 'Companion', Companion_getInstance);
2728
2671
  $community$flock$wirespec$compiler$lib.WsToTypeScript = WsToTypeScript;
2729
- defineProp($community$flock$wirespec$compiler$lib.WsToTypeScript, 'Companion', Companion_getInstance_1);
2672
+ defineProp($community$flock$wirespec$compiler$lib.WsToTypeScript, 'Companion', Companion_getInstance_0);
2730
2673
  $community$flock$wirespec$compiler$lib.WsToScala = WsToScala;
2731
- defineProp($community$flock$wirespec$compiler$lib.WsToScala, 'Companion', Companion_getInstance_2);
2674
+ defineProp($community$flock$wirespec$compiler$lib.WsToScala, 'Companion', Companion_getInstance_1);
2732
2675
  $community$flock$wirespec$compiler$lib.WsToJava = WsToJava;
2733
- defineProp($community$flock$wirespec$compiler$lib.WsToJava, 'Companion', Companion_getInstance_3);
2676
+ defineProp($community$flock$wirespec$compiler$lib.WsToJava, 'Companion', Companion_getInstance_2);
2734
2677
  $community$flock$wirespec$compiler$lib.WsToWirespec = WsToWirespec;
2735
- defineProp($community$flock$wirespec$compiler$lib.WsToWirespec, 'Companion', Companion_getInstance_4);
2678
+ defineProp($community$flock$wirespec$compiler$lib.WsToWirespec, 'Companion', Companion_getInstance_3);
2736
2679
  defineProp($community$flock$wirespec$compiler$lib, 'OpenApiV2Parser', OpenApiV2Parser_getInstance);
2737
2680
  defineProp($community$flock$wirespec$compiler$lib, 'OpenApiV2ToTypescript', OpenApiV2ToTypescript_getInstance);
2738
2681
  defineProp($community$flock$wirespec$compiler$lib, 'OpenApiV2ToWirespec', OpenApiV2ToWirespec_getInstance);