@flock/wirespec 0.8.47 → 0.8.49

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.
Files changed (33) hide show
  1. package/arrow-arrow-atomic.js +16 -16
  2. package/arrow-arrow-continuations.js +3 -3
  3. package/arrow-arrow-core.js +109 -88
  4. package/arrow-arrow-core.js.map +1 -1
  5. package/clikt-clikt.js +6790 -0
  6. package/clikt-clikt.js.map +1 -0
  7. package/colormath-root-colormath.js +1403 -0
  8. package/colormath-root-colormath.js.map +1 -0
  9. package/kotlin-kotlin-stdlib-js-ir.js +4150 -2107
  10. package/kotlin-kotlin-stdlib-js-ir.js.map +1 -1
  11. package/kotlin-openapi-bindings.js +3574 -3574
  12. package/kotlin-openapi-bindings.js.map +1 -1
  13. package/kotlinx-serialization-kotlinx-serialization-core-js-ir.js +1551 -1550
  14. package/kotlinx-serialization-kotlinx-serialization-core-js-ir.js.map +1 -1
  15. package/kotlinx-serialization-kotlinx-serialization-json-js-ir.js +1183 -1172
  16. package/kotlinx-serialization-kotlinx-serialization-json-js-ir.js.map +1 -1
  17. package/markdown.js +6858 -0
  18. package/markdown.js.map +1 -0
  19. package/mordant-mordant.js +11604 -0
  20. package/mordant-mordant.js.map +1 -0
  21. package/package.json +3 -3
  22. package/wirespec-bin.js +3 -0
  23. package/wirespec-src-compiler-core.js +2436 -1676
  24. package/wirespec-src-compiler-core.js.map +1 -1
  25. package/wirespec-src-compiler-lib.js +502 -471
  26. package/wirespec-src-compiler-lib.js.map +1 -1
  27. package/wirespec-src-converter-openapi.js +571 -571
  28. package/wirespec-src-converter-openapi.js.map +1 -1
  29. package/wirespec-src-plugin-arguments.js +543 -0
  30. package/wirespec-src-plugin-arguments.js.map +1 -0
  31. package/wirespec-src-plugin-cli.js +1027 -0
  32. package/wirespec-src-plugin-cli.js.map +1 -0
  33. package/wirespec-src-compiler-lib.d.ts +0 -356
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../src/plugin/cli/src/commonMain/kotlin/community/flock/wirespec/plugin/cli/CommandLineEntitiesParser.kt","../../../../../src/plugin/cli/build/compileSync/js/main/productionLibrary/kotlin/commonMainSources/libraries/stdlib/src/kotlin/util/Standard.kt","../../../../../../../../../../Users/runner/work/clikt/clikt/clikt/src/commonMain/kotlin/com/github/ajalt/clikt/parameters/types/enum.kt","../../../../../src/plugin/cli/build/compileSync/js/main/productionLibrary/kotlin/builtins/Library.kt","../../../../../src/plugin/cli/build/compileSync/js/main/productionLibrary/kotlin/commonMainSources/libraries/stdlib/common/src/generated/_Arrays.kt","../../../../../src/plugin/cli/build/compileSync/js/main/productionLibrary/kotlin/commonMainSources/libraries/stdlib/src/kotlin/collections/Collections.kt","../../../../../src/plugin/cli/src/commonMain/kotlin/community/flock/wirespec/plugin/cli/Main.kt","../../../../../src/plugin/cli/build/compileSync/js/main/productionLibrary/kotlin/commonMainSources/libraries/stdlib/common/src/generated/_Collections.kt","../../../../../src/plugin/cli/build/compileSync/js/main/productionLibrary/kotlin/jsMainSources/libraries/stdlib/js/src/kotlin/collections.kt","../../../../../src/plugin/cli/build/compileSync/js/main/productionLibrary/kotlin/commonMainSources/libraries/stdlib/src/kotlin/text/Strings.kt","../../../../../src/plugin/cli/build/compileSync/js/main/productionLibrary/kotlin/jsMainSources/libraries/stdlib/js/src/kotlin/text/char.kt","../../../../../src/plugin/cli/build/compileSync/js/main/productionLibrary/kotlin/jsMainSources/libraries/stdlib/js/src/kotlin/dynamic.kt","../../../../../src/plugin/cli/build/compileSync/js/main/productionLibrary/kotlin/jsMainSources/libraries/stdlib/js/src/kotlin/text/string.kt","../../../../../src/plugin/cli/build/compileSync/js/main/productionLibrary/kotlin/commonMainSources/libraries/stdlib/src/kotlin/util/Preconditions.kt","../../../../../../../../../../Users/runner/work/arrow/arrow/arrow-libs/core/arrow-core/src/commonMain/kotlin/arrow/core/Either.kt","../../../../../src/plugin/cli/src/commonMain/kotlin/community/flock/wirespec/plugin/cli/io/JavaFile.kt","../../../../../src/plugin/cli/src/commonMain/kotlin/community/flock/wirespec/plugin/cli/io/JsonFile.kt","../../../../../src/plugin/cli/src/commonMain/kotlin/community/flock/wirespec/plugin/cli/io/KotlinFile.kt","../../../../../src/plugin/cli/src/commonMain/kotlin/community/flock/wirespec/plugin/cli/io/ScalaFile.kt","../../../../../src/plugin/cli/src/commonMain/kotlin/community/flock/wirespec/plugin/cli/io/TypeScriptFile.kt","../../../../../src/plugin/cli/src/commonMain/kotlin/community/flock/wirespec/plugin/cli/io/WirespecFile.kt","../../../../../src/plugin/cli/src/jsMain/kotlin/community/flock/wirespec/plugin/cli/Cli.kt","../../../../../src/plugin/cli/src/jsMain/kotlin/community/flock/wirespec/plugin/cli/io/Directory.kt","../../../../../src/plugin/cli/src/jsMain/kotlin/community/flock/wirespec/plugin/cli/io/File.kt","../../../../../src/plugin/cli/src/jsMain/kotlin/community/flock/wirespec/plugin/cli/js/JavaScriptBindings.kt","../../../../../src/plugin/cli/src/jsMain/kotlin/community/flock/wirespec/plugin/utils/CommandLineArguments.kt","../../../../../src/plugin/cli/build/compileSync/js/main/productionLibrary/kotlin/commonMainSources/libraries/stdlib/src/kotlin/util/Result.kt"],"sourcesContent":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],"names":["<init>","flags","WirespecCli$main$ref","WirespecCli$main$ref$lambda","provide","compile","convert","<get-inputFile>","<get-inputDir>","<get-outputDir>","<get-packageName>","<get-strict>","<get-debug>","getInput","inputDir","<get-languages>","block","run","<get-format>","capacity","element","inputFile$factory","get","receiver","inputDir$factory","outputDir$factory","packageName$factory","strict$factory","debug$factory","languages$factory","format$factory","main","args","arguments","input","output","languages","packageName","logger","operation","fullPath","file","strict","format","ast","path","item","emitter","results","wirespec","<this>","emitters","write","name","result","out","compile$ref","compile$ref$lambda","convert$ref","convert$ref$lambda","compile$lambda","$output","compile$lambda$lambda","it","out$lambda","$packageName","out$lambda$lambda","extension","dir","copy","fileName","cli","parser","source","Directory$wirespecFiles$lambda","Directory$wirespecFiles$lambda$lambda","WirespecFile$<init>$ref","WirespecFile$<init>$ref$lambda","wirespecFiles","read","text","<get-fs>","<init properties JavaScriptBindings.kt>","<get-nodeArgs>","orNull","idx","e","<init properties CommandLineArguments.kt>"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2DAwBc,OAAM,aAAN,C;6DACC,OAAM,cAAN,C;6DACA,OAAM,cAAN,C;2DACD,OAAM,YAAN,C;iEACG,OAAM,WAAN,C;uDACL,Y;qDACD,W;;kBAPNA,C,eAAcC,KAAdD,EAAL;A;IAAmB,kB;EAAnB,C;+BAeyCE,C,UAAAA,E;qBAAAC,C,EAAAA,EAAA;A;;IAAkE,C;;;G;oBAJvGH,CAAAA,EAAA;A;EAAA,C;oCACII,CACIC,O,EACAC,OAFJF,EAGiC;A,IAAmE,OAAnE,qBAAc,YAAd,iBAAc,EAAY,eAAQ,OAAR,GAAkB,cAAQ,OAAR,CAAlB,CAAZ,CAAd,C;EAAkE,C;;;;;;;sBAL3GJ,CAAAA,EAAA;A,IAAA,yB;IAAoB,wCAAyB,UAAzB,C;EAApB,C;gCAU0BO,C,KAAAA,EAAG;A,IAAA,OAAH,KAAG,CAAH,KAAG,KA3CrB,KA2CqB,EAAH,qBAAG,C;EAAoD,C;wBADhEP,CAAAA,EAAjB;A,IAAuC,uB;IACb,aAAG,aAAO,gCAAmB,KAAnB,QAAP,EAAyC,YAAzC,CAAH,KA3ClB,IA2CkB,sB;IACT,aAAG,aAAO,+BAAkB,KAAlB,QAAP,EAAwC,iBAAxC,CAAH,KA5CT,IA4CS,qB;IACC,aAAG,aAAO,gCAAmB,KAAnB,QAAP,EAAyC,kBAAzC,CA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,CACA,C;EAAM,C;eCRmB9E,CAAY6C,IAAZ7C,EAAlC;A,IAA8C,iB;EAA9C,C;+BAEoB+E,CAAAA,EAAqB;A;IAA8D,OZCpG,QACD,cAAa,IAAK,CAAL,KAAK,WAAlB,EACG,OADH,C;EYFoG,C;+BAE3F3B,CAAU4B,IAAV5B,EAAwB;A;mBtBIb,IAAK,CAAL,KAAK,KAA6C,aAAb,QAAf,IAAe,CAAf,KAAe,CAAV,KAAU,EAAO,OAAP,CAAa,EAAc,UAAd,CAA7C,C;;;;IsBFf,IAAI,CZIK,QAAG,YACjB,QADiB,CACjB,KADiB,CYJZ,C,CAAqD;A,MACjD,QAAG,WAAU,QAAV,CAAU,KAAV,EAAqB,CAAM,SAAN,EAAiB,IAAjB,CAArB,C;IACP,C;IACA,QAAG,eAAc,QAAK,WAAnB,EAA+B,IAA/B,C;EAEX,C;iBCZJ6B,CAAAA,EAAA;A;IAAA,S;EAAqB,C;;;yDALrBC,CAAAA,E;;;WAKS,QAAS,IAAT,C;;G;uBCADC,CAAAA,EAAA;A;IAAA,e;EAAoD,C;;iBAErDC,CAAIlC,a,EAAqBmC,GAAzBD,EAA8C;A;;;;ICoJ1C,I;;;;yBDpJwD,eAAS,GAAT,C;YCqFvD,6BAAO,YAAP,C;;;;YAiECE,M;;;gBAxDD,6BAAO,cAAc,CAAd,CAAP,C;;;;;;;;IAlDA,0D;cAAa,I;;kBACL,iD;yDAAA,K;;ID7C0E,Y;EAAD,C;;2DAP7FC,CAAAA,E;;;gBAKuB,OAAa,CAAL,IAAK,OAAM,CAAN,C;2DAAb,G;;G;;;;;;;;;;;;;;;;;"}
@@ -1,356 +0,0 @@
1
- type Nullable<T> = T | null | undefined
2
- export declare interface WsNode {
3
- readonly __doNotUseOrImplementIt: {
4
- readonly WsNode: unique symbol;
5
- };
6
- }
7
- export declare class WsType implements WsNode {
8
- constructor(name: string, shape: WsShape);
9
- get name(): string;
10
- get shape(): WsShape;
11
- copy(name?: string, shape?: WsShape): WsType;
12
- toString(): string;
13
- hashCode(): number;
14
- equals(other: Nullable<any>): boolean;
15
- readonly __doNotUseOrImplementIt: WsNode["__doNotUseOrImplementIt"];
16
- }
17
- export declare class WsShape {
18
- constructor(value: Array<WsField>);
19
- get value(): Array<WsField>;
20
- copy(value?: Array<WsField>): WsShape;
21
- toString(): string;
22
- hashCode(): number;
23
- equals(other: Nullable<any>): boolean;
24
- }
25
- export declare class WsEndpoint implements WsNode {
26
- constructor(name: string, method: WsMethod, path: Array<WsSegment>, query: Array<WsField>, headers: Array<WsField>, cookies: Array<WsField>, requests: Array<WsRequest>, responses: Array<WsResponse>);
27
- get name(): string;
28
- get method(): WsMethod;
29
- get path(): Array<WsSegment>;
30
- get query(): Array<WsField>;
31
- get headers(): Array<WsField>;
32
- get cookies(): Array<WsField>;
33
- get requests(): Array<WsRequest>;
34
- get responses(): Array<WsResponse>;
35
- copy(name?: string, method?: WsMethod, path?: Array<WsSegment>, query?: Array<WsField>, headers?: Array<WsField>, cookies?: Array<WsField>, requests?: Array<WsRequest>, responses?: Array<WsResponse>): WsEndpoint;
36
- toString(): string;
37
- hashCode(): number;
38
- equals(other: Nullable<any>): boolean;
39
- readonly __doNotUseOrImplementIt: WsNode["__doNotUseOrImplementIt"];
40
- }
41
- export declare class WsEnum implements WsNode {
42
- constructor(name: string, entries: Array<string>);
43
- get name(): string;
44
- get entries(): Array<string>;
45
- copy(name?: string, entries?: Array<string>): WsEnum;
46
- toString(): string;
47
- hashCode(): number;
48
- equals(other: Nullable<any>): boolean;
49
- readonly __doNotUseOrImplementIt: WsNode["__doNotUseOrImplementIt"];
50
- }
51
- export declare class WsRefined implements WsNode {
52
- constructor(name: string, validator: string);
53
- get name(): string;
54
- get validator(): string;
55
- copy(name?: string, validator?: string): WsRefined;
56
- toString(): string;
57
- hashCode(): number;
58
- equals(other: Nullable<any>): boolean;
59
- readonly __doNotUseOrImplementIt: WsNode["__doNotUseOrImplementIt"];
60
- }
61
- export declare abstract class WsMethod {
62
- private constructor();
63
- static get GET(): WsMethod & {
64
- get name(): "GET";
65
- get ordinal(): 0;
66
- };
67
- static get POST(): WsMethod & {
68
- get name(): "POST";
69
- get ordinal(): 1;
70
- };
71
- static get PUT(): WsMethod & {
72
- get name(): "PUT";
73
- get ordinal(): 2;
74
- };
75
- static get DELETE(): WsMethod & {
76
- get name(): "DELETE";
77
- get ordinal(): 3;
78
- };
79
- static get OPTIONS(): WsMethod & {
80
- get name(): "OPTIONS";
81
- get ordinal(): 4;
82
- };
83
- static get HEAD(): WsMethod & {
84
- get name(): "HEAD";
85
- get ordinal(): 5;
86
- };
87
- static get PATCH(): WsMethod & {
88
- get name(): "PATCH";
89
- get ordinal(): 6;
90
- };
91
- static get TRACE(): WsMethod & {
92
- get name(): "TRACE";
93
- get ordinal(): 7;
94
- };
95
- static values(): Array<WsMethod>;
96
- static valueOf(value: string): WsMethod;
97
- get name(): "GET" | "POST" | "PUT" | "DELETE" | "OPTIONS" | "HEAD" | "PATCH" | "TRACE";
98
- get ordinal(): 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7;
99
- }
100
- export declare interface WsSegment {
101
- readonly __doNotUseOrImplementIt: {
102
- readonly WsSegment: unique symbol;
103
- };
104
- }
105
- export declare class WsLiteral implements WsSegment {
106
- constructor(value: string);
107
- get value(): string;
108
- copy(value?: string): WsLiteral;
109
- toString(): string;
110
- hashCode(): number;
111
- equals(other: Nullable<any>): boolean;
112
- readonly __doNotUseOrImplementIt: WsSegment["__doNotUseOrImplementIt"];
113
- }
114
- export declare class WsParam implements WsSegment {
115
- constructor(identifier: WsIdentifier, reference: WsReference);
116
- get identifier(): WsIdentifier;
117
- get reference(): WsReference;
118
- copy(identifier?: WsIdentifier, reference?: WsReference): WsParam;
119
- toString(): string;
120
- hashCode(): number;
121
- equals(other: Nullable<any>): boolean;
122
- readonly __doNotUseOrImplementIt: WsSegment["__doNotUseOrImplementIt"];
123
- }
124
- export declare class Shape {
125
- constructor(value: Array<WsField>);
126
- get value(): Array<WsField>;
127
- copy(value?: Array<WsField>): Shape;
128
- toString(): string;
129
- hashCode(): number;
130
- equals(other: Nullable<any>): boolean;
131
- }
132
- export declare class WsField {
133
- constructor(identifier: WsIdentifier, reference: WsReference, isNullable: boolean);
134
- get identifier(): WsIdentifier;
135
- get reference(): WsReference;
136
- get isNullable(): boolean;
137
- copy(identifier?: WsIdentifier, reference?: WsReference, isNullable?: boolean): WsField;
138
- toString(): string;
139
- hashCode(): number;
140
- equals(other: Nullable<any>): boolean;
141
- }
142
- export declare class WsIdentifier {
143
- constructor(value: string);
144
- get value(): string;
145
- copy(value?: string): WsIdentifier;
146
- toString(): string;
147
- hashCode(): number;
148
- equals(other: Nullable<any>): boolean;
149
- }
150
- export declare interface WsReference {
151
- readonly isIterable: boolean;
152
- readonly isMap: boolean;
153
- readonly __doNotUseOrImplementIt: {
154
- readonly WsReference: unique symbol;
155
- };
156
- }
157
- export declare class WsAny implements WsReference {
158
- constructor(isIterable: boolean, isMap?: boolean);
159
- get isIterable(): boolean;
160
- get isMap(): boolean;
161
- copy(isIterable?: boolean, isMap?: boolean): WsAny;
162
- toString(): string;
163
- hashCode(): number;
164
- equals(other: Nullable<any>): boolean;
165
- readonly __doNotUseOrImplementIt: WsReference["__doNotUseOrImplementIt"];
166
- }
167
- export declare class WsUnit implements WsReference {
168
- constructor(isIterable: boolean, isMap?: boolean);
169
- get isIterable(): boolean;
170
- get isMap(): boolean;
171
- copy(isIterable?: boolean, isMap?: boolean): WsUnit;
172
- toString(): string;
173
- hashCode(): number;
174
- equals(other: Nullable<any>): boolean;
175
- readonly __doNotUseOrImplementIt: WsReference["__doNotUseOrImplementIt"];
176
- }
177
- export declare class WsCustom implements WsReference {
178
- constructor(value: string, isIterable: boolean, isMap?: boolean);
179
- get value(): string;
180
- get isIterable(): boolean;
181
- get isMap(): boolean;
182
- copy(value?: string, isIterable?: boolean, isMap?: boolean): WsCustom;
183
- toString(): string;
184
- hashCode(): number;
185
- equals(other: Nullable<any>): boolean;
186
- readonly __doNotUseOrImplementIt: WsReference["__doNotUseOrImplementIt"];
187
- }
188
- export declare class WsPrimitive implements WsReference {
189
- constructor(type: WsPrimitiveType, isIterable: boolean, isMap?: boolean);
190
- get type(): WsPrimitiveType;
191
- get isIterable(): boolean;
192
- get isMap(): boolean;
193
- copy(type?: WsPrimitiveType, isIterable?: boolean, isMap?: boolean): WsPrimitive;
194
- toString(): string;
195
- hashCode(): number;
196
- equals(other: Nullable<any>): boolean;
197
- readonly __doNotUseOrImplementIt: WsReference["__doNotUseOrImplementIt"];
198
- }
199
- export declare abstract class WsPrimitiveType {
200
- private constructor();
201
- static get String(): WsPrimitiveType & {
202
- get name(): "String";
203
- get ordinal(): 0;
204
- };
205
- static get Integer(): WsPrimitiveType & {
206
- get name(): "Integer";
207
- get ordinal(): 1;
208
- };
209
- static get Number(): WsPrimitiveType & {
210
- get name(): "Number";
211
- get ordinal(): 2;
212
- };
213
- static get Boolean(): WsPrimitiveType & {
214
- get name(): "Boolean";
215
- get ordinal(): 3;
216
- };
217
- static values(): Array<WsPrimitiveType>;
218
- static valueOf(value: string): WsPrimitiveType;
219
- get name(): "String" | "Integer" | "Number" | "Boolean";
220
- get ordinal(): 0 | 1 | 2 | 3;
221
- }
222
- export declare class WsRequest {
223
- constructor(content: Nullable<WsContent>);
224
- get content(): Nullable<WsContent>;
225
- copy(content?: Nullable<WsContent>): WsRequest;
226
- toString(): string;
227
- hashCode(): number;
228
- equals(other: Nullable<any>): boolean;
229
- }
230
- export declare class WsResponse {
231
- constructor(status: string, content: Nullable<WsContent>);
232
- get status(): string;
233
- get content(): Nullable<WsContent>;
234
- copy(status?: string, content?: Nullable<WsContent>): WsResponse;
235
- toString(): string;
236
- hashCode(): number;
237
- equals(other: Nullable<any>): boolean;
238
- }
239
- export declare class WsContent {
240
- constructor(type: string, reference: WsReference, isNullable?: boolean);
241
- get type(): string;
242
- get reference(): WsReference;
243
- get isNullable(): boolean;
244
- copy(type?: string, reference?: WsReference, isNullable?: boolean): WsContent;
245
- toString(): string;
246
- hashCode(): number;
247
- equals(other: Nullable<any>): boolean;
248
- }
249
- export declare class WsCompilationResult {
250
- constructor(compiled?: Nullable<WsCompiled>, errors?: Array<WsError>);
251
- get compiled(): Nullable<WsCompiled>;
252
- get errors(): Array<WsError>;
253
- }
254
- export declare class WsCompiled {
255
- constructor(value: string);
256
- get value(): string;
257
- }
258
- export declare class WsCompiledFile {
259
- constructor(name: string, value: string);
260
- get name(): string;
261
- get value(): string;
262
- }
263
- export declare abstract class Compiler {
264
- constructor();
265
- protected preCompile(source: string): (p0: any/* community.flock.wirespec.compiler.core.emit.common.Emitter */) => any/* arrow.core.Either<arrow.core.NonEmptyList<community.flock.wirespec.compiler.core.exceptions.WirespecException>, kotlin.collections.List<community.flock.wirespec.compiler.core.emit.common.Emitted>> */;
266
- tokenize(source: string): WsTokenResult;
267
- parse(source: string): any/* arrow.core.Either<arrow.core.NonEmptyList<community.flock.wirespec.compiler.core.exceptions.WirespecException>, kotlin.collections.List<community.flock.wirespec.compiler.core.parse.nodes.Definition>> */;
268
- static get Companion(): {
269
- protected get logger(): any/* community.flock.wirespec.compiler.utils.Logger */;
270
- };
271
- }
272
- export declare class WsToKotlin extends Compiler {
273
- constructor();
274
- compile(source: string): WsCompilationResult;
275
- static get Companion(): {
276
- };
277
- }
278
- export declare class WsToTypeScript extends Compiler {
279
- constructor();
280
- compile(source: string): WsCompilationResult;
281
- static get Companion(): {
282
- };
283
- }
284
- export declare class WsToWirespec extends Compiler {
285
- constructor();
286
- compile(source: string): WsCompilationResult;
287
- static get Companion(): {
288
- };
289
- }
290
- export declare const OpenApiV2Parser: {
291
- parse(source: string): Array<WsNode>;
292
- };
293
- export declare const OpenApiV3Parser: {
294
- parse(source: string): Array<WsNode>;
295
- };
296
- export declare const OpenApiV3ToTypescript: {
297
- get logger(): any/* community.flock.wirespec.compiler.utils.Logger */;
298
- compile(source: string): Array<WsCompiledFile>;
299
- };
300
- export declare class WsTokenResult {
301
- constructor(tokens?: Nullable<WsTokens>, error?: Nullable<WsError>);
302
- get tokens(): Nullable<WsTokens>;
303
- get error(): Nullable<WsError>;
304
- copy(tokens?: Nullable<WsTokens>, error?: Nullable<WsError>): WsTokenResult;
305
- toString(): string;
306
- hashCode(): number;
307
- equals(other: Nullable<any>): boolean;
308
- }
309
- export declare class WsTokens {
310
- constructor(value: Array<WsToken>);
311
- get value(): Array<WsToken>;
312
- equals(other: Nullable<any>): boolean;
313
- hashCode(): number;
314
- copy(value?: Array<WsToken>): WsTokens;
315
- toString(): string;
316
- }
317
- export declare class WsToken {
318
- constructor(type: string, value: string, coordinates?: WsCoordinates);
319
- get type(): string;
320
- get value(): string;
321
- get coordinates(): WsCoordinates;
322
- copy(type?: string, value?: string, coordinates?: WsCoordinates): WsToken;
323
- toString(): string;
324
- hashCode(): number;
325
- equals(other: Nullable<any>): boolean;
326
- }
327
- export declare class WsCoordinates {
328
- constructor(line?: number, position?: number, idxAndLength?: WsIndex);
329
- get line(): number;
330
- get position(): number;
331
- get idxAndLength(): WsIndex;
332
- copy(line?: number, position?: number, idxAndLength?: WsIndex): WsCoordinates;
333
- toString(): string;
334
- hashCode(): number;
335
- equals(other: Nullable<any>): boolean;
336
- }
337
- export declare class WsIndex {
338
- constructor(idx?: number, length?: number);
339
- get idx(): number;
340
- get length(): number;
341
- copy(idx?: number, length?: number): WsIndex;
342
- toString(): string;
343
- hashCode(): number;
344
- equals(other: Nullable<any>): boolean;
345
- }
346
- export declare class WsError {
347
- constructor(index: number, length: number, value: string);
348
- get index(): number;
349
- get length(): number;
350
- get value(): string;
351
- copy(index?: number, length?: number, value?: string): WsError;
352
- toString(): string;
353
- hashCode(): number;
354
- equals(other: Nullable<any>): boolean;
355
- }
356
- export as namespace wirespec_src_compiler_lib;