@glutinum/cli 0.12.0 → 0.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +35 -3
- package/dist/Glutinum.Converter/Abbreviations.js +246 -0
- package/dist/Glutinum.Converter/FsharpAST.js +98 -34
- package/dist/Glutinum.Converter/Generate.js +55 -8
- package/dist/Glutinum.Converter/GlueAST.js +446 -30
- package/dist/Glutinum.Converter/Log.js +7 -8
- package/dist/Glutinum.Converter/Merge.js +683 -31
- package/dist/Glutinum.Converter/Packages.js +308 -0
- package/dist/Glutinum.Converter/Printer.js +332 -170
- package/dist/Glutinum.Converter/Read.js +279 -6
- package/dist/Glutinum.Converter/Reader/ClassDeclaration.js +13 -7
- package/dist/Glutinum.Converter/Reader/Declaration.js +102 -17
- package/dist/Glutinum.Converter/Reader/Documentation.js +168 -73
- package/dist/Glutinum.Converter/Reader/EnumDeclaration.js +7 -51
- package/dist/Glutinum.Converter/Reader/ExportAssignment.js +64 -15
- package/dist/Glutinum.Converter/Reader/ExportDeclaration.js +165 -0
- package/dist/Glutinum.Converter/Reader/FunctionDeclaration.js +30 -5
- package/dist/Glutinum.Converter/Reader/IndexedAccessType.js +122 -4
- package/dist/Glutinum.Converter/Reader/InterfaceDeclaration.js +83 -7
- package/dist/Glutinum.Converter/Reader/MappedTypeNode.js +8 -8
- package/dist/Glutinum.Converter/Reader/ModuleDeclaration.js +11 -8
- package/dist/Glutinum.Converter/Reader/NamedTupleMember.js +3 -2
- package/dist/Glutinum.Converter/Reader/Node.js +24 -10
- package/dist/Glutinum.Converter/Reader/Parameters.js +110 -7
- package/dist/Glutinum.Converter/Reader/Report.js +31 -12
- package/dist/Glutinum.Converter/Reader/TypeAliasDeclaration.js +4 -3
- package/dist/Glutinum.Converter/Reader/TypeNode.js +1527 -248
- package/dist/Glutinum.Converter/Reader/TypeOperatorNode.js +75 -20
- package/dist/Glutinum.Converter/Reader/TypeParameters.js +8 -5
- package/dist/Glutinum.Converter/Reader/TypeQueryNode.js +184 -50
- package/dist/Glutinum.Converter/Reader/TypeScriptReader.js +32 -13
- package/dist/Glutinum.Converter/Reader/Types.js +180 -0
- package/dist/Glutinum.Converter/Reader/UnionTypeNode.js +99 -43
- package/dist/Glutinum.Converter/Reader/Utils.js +1143 -55
- package/dist/Glutinum.Converter/Reader/VariableStatement.js +59 -14
- package/dist/Glutinum.Converter/Transform.js +8710 -1137
- package/dist/Glutinum.Converter/TypeScript.Extensions.js +3 -3
- package/dist/Glutinum.Converter/TypeScript.js +3 -3
- package/dist/Glutinum.Converter/Utils/Keywords.js +6 -6
- package/dist/Glutinum.Converter/Utils/List.js +3 -3
- package/dist/Glutinum.Converter/Utils/Naming.js +76 -14
- package/dist/Glutinum.Converter/Utils/String.js +7 -3
- package/dist/Program.js +230 -72
- package/package.json +4 -4
- package/src/Glutinum.Converter/js/bootstrap.js +109 -2
- package/src/Glutinum.Converter/js/host.js +144 -0
- package/src/Glutinum.Converter/js/npm.js +137 -0
- package/src/Glutinum.Converter/js/resolve.js +402 -0
- package/dist/Glutinum.Converter/FsharpAST.js.map +0 -1
- package/dist/Glutinum.Converter/Generate.js.map +0 -1
- package/dist/Glutinum.Converter/GlueAST.js.map +0 -1
- package/dist/Glutinum.Converter/Log.js.map +0 -1
- package/dist/Glutinum.Converter/Merge.js.map +0 -1
- package/dist/Glutinum.Converter/Printer.js.map +0 -1
- package/dist/Glutinum.Converter/Read.js.map +0 -1
- package/dist/Glutinum.Converter/Reader/ClassDeclaration.js.map +0 -1
- package/dist/Glutinum.Converter/Reader/Declaration.js.map +0 -1
- package/dist/Glutinum.Converter/Reader/Documentation.js.map +0 -1
- package/dist/Glutinum.Converter/Reader/EnumDeclaration.js.map +0 -1
- package/dist/Glutinum.Converter/Reader/ExportAssignment.js.map +0 -1
- package/dist/Glutinum.Converter/Reader/FunctionDeclaration.js.map +0 -1
- package/dist/Glutinum.Converter/Reader/IndexedAccessType.js.map +0 -1
- package/dist/Glutinum.Converter/Reader/InterfaceDeclaration.js.map +0 -1
- package/dist/Glutinum.Converter/Reader/MappedTypeNode.js.map +0 -1
- package/dist/Glutinum.Converter/Reader/ModuleDeclaration.js.map +0 -1
- package/dist/Glutinum.Converter/Reader/NamedTupleMember.js.map +0 -1
- package/dist/Glutinum.Converter/Reader/Node.js.map +0 -1
- package/dist/Glutinum.Converter/Reader/Parameters.js.map +0 -1
- package/dist/Glutinum.Converter/Reader/Report.js.map +0 -1
- package/dist/Glutinum.Converter/Reader/TypeAliasDeclaration.js.map +0 -1
- package/dist/Glutinum.Converter/Reader/TypeNode.js.map +0 -1
- package/dist/Glutinum.Converter/Reader/TypeOperatorNode.js.map +0 -1
- package/dist/Glutinum.Converter/Reader/TypeParameters.js.map +0 -1
- package/dist/Glutinum.Converter/Reader/TypeQueryNode.js.map +0 -1
- package/dist/Glutinum.Converter/Reader/TypeScriptReader.js.map +0 -1
- package/dist/Glutinum.Converter/Reader/UnionTypeNode.js.map +0 -1
- package/dist/Glutinum.Converter/Reader/Utils.js.map +0 -1
- package/dist/Glutinum.Converter/Reader/VariableStatement.js.map +0 -1
- package/dist/Glutinum.Converter/Transform.js.map +0 -1
- package/dist/Glutinum.Converter/TypeScript.Extensions.js.map +0 -1
- package/dist/Glutinum.Converter/TypeScript.js.map +0 -1
- package/dist/Glutinum.Converter/Utils/Keywords.js.map +0 -1
- package/dist/Glutinum.Converter/Utils/List.js.map +0 -1
- package/dist/Glutinum.Converter/Utils/Naming.js.map +0 -1
- package/dist/Glutinum.Converter/Utils/String.js.map +0 -1
- package/dist/Program.js.map +0 -1
- package/dist/fable_modules/Fable.Promise.3.2.0/AsyncIterable.fs +0 -57
- package/dist/fable_modules/Fable.Promise.3.2.0/AsyncIterable.fs.js +0 -105
- package/dist/fable_modules/Fable.Promise.3.2.0/AsyncIterable.fs.js.map +0 -1
- package/dist/fable_modules/Fable.Promise.3.2.0/Fable.Promise.fableproj +0 -20
- package/dist/fable_modules/Fable.Promise.3.2.0/Promise.fs +0 -766
- package/dist/fable_modules/Fable.Promise.3.2.0/Promise.fs.js +0 -218
- package/dist/fable_modules/Fable.Promise.3.2.0/Promise.fs.js.map +0 -1
- package/dist/fable_modules/Fable.Promise.3.2.0/PromiseImpl.fs +0 -31
- package/dist/fable_modules/Fable.Promise.3.2.0/PromiseImpl.fs.js +0 -20
- package/dist/fable_modules/Fable.Promise.3.2.0/PromiseImpl.fs.js.map +0 -1
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/AssemblyInfo.fs +0 -19
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/Async.fs +0 -207
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/Async.fs.js +0 -127
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/Async.fs.js.map +0 -1
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/AsyncOption.fs +0 -81
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/AsyncOptionCE.fs +0 -183
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/AsyncOptionCE.fs.js +0 -37
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/AsyncOptionCE.fs.js.map +0 -1
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/AsyncOptionOp.fs +0 -24
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/AsyncResult.fs +0 -439
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/AsyncResultCE.fs +0 -217
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/AsyncResultCE.fs.js +0 -18
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/AsyncResultCE.fs.js.map +0 -1
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/AsyncResultOp.fs +0 -24
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/AsyncResultOption.fs +0 -75
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/AsyncResultOption.fs.js +0 -26
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/AsyncResultOption.fs.js.map +0 -1
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/AsyncResultOptionCE.fs +0 -238
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/AsyncResultOptionCE.fs.js +0 -18
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/AsyncResultOptionCE.fs.js.map +0 -1
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/AsyncResultOptionOp.fs +0 -24
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/AsyncValidation.fs +0 -190
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/AsyncValidationCE.fs +0 -194
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/AsyncValidationCE.fs.js +0 -18
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/AsyncValidationCE.fs.js.map +0 -1
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/AsyncValidationOp.fs +0 -35
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/FsToolkit.ErrorHandling.fableproj +0 -51
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/List.fs +0 -218
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/List.fs.js +0 -358
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/List.fs.js.map +0 -1
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/Option.fs +0 -331
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/OptionCE.fs +0 -186
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/OptionCE.fs.js +0 -18
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/OptionCE.fs.js.map +0 -1
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/OptionOp.fs +0 -21
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/Result.fs +0 -644
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/Result.fs.js +0 -45
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/Result.fs.js.map +0 -1
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/ResultCE.fs +0 -155
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/ResultCE.fs.js +0 -23
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/ResultCE.fs.js.map +0 -1
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/ResultOp.fs +0 -45
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/ResultOption.fs +0 -201
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/ResultOption.fs.js +0 -65
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/ResultOption.fs.js.map +0 -1
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/ResultOptionCE.fs +0 -146
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/ResultOptionCE.fs.js +0 -18
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/ResultOptionCE.fs.js.map +0 -1
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/ResultOptionOp.fs +0 -57
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/Seq.fs +0 -19
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/Seq.fs.js +0 -31
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/Seq.fs.js.map +0 -1
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/Shims.fs +0 -22
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/Shims.fs.js +0 -18
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/Shims.fs.js.map +0 -1
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/Validation.fs +0 -172
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/ValidationCE.fs +0 -148
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/ValidationCE.fs.js +0 -18
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/ValidationCE.fs.js.map +0 -1
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/ValidationOp.fs +0 -35
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/ValueOption.fs +0 -151
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/ValueOptionCE.fs +0 -165
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/obj/Debug/netstandard2.1/.NETStandard,Version=v2.1.AssemblyAttributes.fs +0 -3
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/obj/Debug/netstandard2.1/FsToolkit.ErrorHandling.AssemblyInfo.fs +0 -20
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/obj/Release/netstandard2.0/.NETStandard,Version=v2.0.AssemblyAttributes.fs +0 -3
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/obj/Release/netstandard2.0/FsToolkit.ErrorHandling.AssemblyInfo.fs +0 -20
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/obj/Release/netstandard2.1/.NETStandard,Version=v2.1.AssemblyAttributes.fs +0 -3
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/obj/Release/netstandard2.1/FsToolkit.ErrorHandling.AssemblyInfo.fs +0 -20
- package/dist/fable_modules/fable-library-js.4.14.0/Array.d.ts +0 -123
- package/dist/fable_modules/fable-library-js.4.14.0/Array.js +0 -1242
- package/dist/fable_modules/fable-library-js.4.14.0/Async.d.ts +0 -32
- package/dist/fable_modules/fable-library-js.4.14.0/Async.js +0 -158
- package/dist/fable_modules/fable-library-js.4.14.0/AsyncBuilder.d.ts +0 -59
- package/dist/fable_modules/fable-library-js.4.14.0/AsyncBuilder.js +0 -183
- package/dist/fable_modules/fable-library-js.4.14.0/BigInt.d.ts +0 -115
- package/dist/fable_modules/fable-library-js.4.14.0/BigInt.js +0 -282
- package/dist/fable_modules/fable-library-js.4.14.0/BitConverter.d.ts +0 -27
- package/dist/fable_modules/fable-library-js.4.14.0/BitConverter.js +0 -138
- package/dist/fable_modules/fable-library-js.4.14.0/Boolean.d.ts +0 -3
- package/dist/fable_modules/fable-library-js.4.14.0/Boolean.js +0 -21
- package/dist/fable_modules/fable-library-js.4.14.0/CHANGELOG.md +0 -37
- package/dist/fable_modules/fable-library-js.4.14.0/Char.d.ts +0 -65
- package/dist/fable_modules/fable-library-js.4.14.0/Char.js +0 -169
- package/dist/fable_modules/fable-library-js.4.14.0/Choice.d.ts +0 -121
- package/dist/fable_modules/fable-library-js.4.14.0/Choice.js +0 -184
- package/dist/fable_modules/fable-library-js.4.14.0/Date.d.ts +0 -70
- package/dist/fable_modules/fable-library-js.4.14.0/Date.js +0 -749
- package/dist/fable_modules/fable-library-js.4.14.0/DateOffset.d.ts +0 -63
- package/dist/fable_modules/fable-library-js.4.14.0/DateOffset.js +0 -268
- package/dist/fable_modules/fable-library-js.4.14.0/DateOnly.d.ts +0 -18
- package/dist/fable_modules/fable-library-js.4.14.0/DateOnly.js +0 -124
- package/dist/fable_modules/fable-library-js.4.14.0/Decimal.d.ts +0 -45
- package/dist/fable_modules/fable-library-js.4.14.0/Decimal.js +0 -212
- package/dist/fable_modules/fable-library-js.4.14.0/Double.d.ts +0 -11
- package/dist/fable_modules/fable-library-js.4.14.0/Double.js +0 -46
- package/dist/fable_modules/fable-library-js.4.14.0/Encoding.d.ts +0 -12
- package/dist/fable_modules/fable-library-js.4.14.0/Encoding.js +0 -173
- package/dist/fable_modules/fable-library-js.4.14.0/Event.d.ts +0 -31
- package/dist/fable_modules/fable-library-js.4.14.0/Event.js +0 -93
- package/dist/fable_modules/fable-library-js.4.14.0/FSharp.Collections.d.ts +0 -7
- package/dist/fable_modules/fable-library-js.4.14.0/FSharp.Collections.js +0 -27
- package/dist/fable_modules/fable-library-js.4.14.0/FSharp.Core.CompilerServices.d.ts +0 -12
- package/dist/fable_modules/fable-library-js.4.14.0/FSharp.Core.CompilerServices.js +0 -27
- package/dist/fable_modules/fable-library-js.4.14.0/FSharp.Core.d.ts +0 -17
- package/dist/fable_modules/fable-library-js.4.14.0/FSharp.Core.js +0 -69
- package/dist/fable_modules/fable-library-js.4.14.0/Global.d.ts +0 -24
- package/dist/fable_modules/fable-library-js.4.14.0/Global.js +0 -8
- package/dist/fable_modules/fable-library-js.4.14.0/Guid.d.ts +0 -10
- package/dist/fable_modules/fable-library-js.4.14.0/Guid.js +0 -142
- package/dist/fable_modules/fable-library-js.4.14.0/Int32.d.ts +0 -28
- package/dist/fable_modules/fable-library-js.4.14.0/Int32.js +0 -135
- package/dist/fable_modules/fable-library-js.4.14.0/List.d.ts +0 -143
- package/dist/fable_modules/fable-library-js.4.14.0/List.js +0 -1273
- package/dist/fable_modules/fable-library-js.4.14.0/Long.d.ts +0 -3
- package/dist/fable_modules/fable-library-js.4.14.0/Long.js +0 -46
- package/dist/fable_modules/fable-library-js.4.14.0/MailboxProcessor.d.ts +0 -25
- package/dist/fable_modules/fable-library-js.4.14.0/MailboxProcessor.js +0 -93
- package/dist/fable_modules/fable-library-js.4.14.0/Map.d.ts +0 -178
- package/dist/fable_modules/fable-library-js.4.14.0/Map.js +0 -1396
- package/dist/fable_modules/fable-library-js.4.14.0/MapUtil.d.ts +0 -10
- package/dist/fable_modules/fable-library-js.4.14.0/MapUtil.js +0 -112
- package/dist/fable_modules/fable-library-js.4.14.0/MutableMap.d.ts +0 -52
- package/dist/fable_modules/fable-library-js.4.14.0/MutableMap.js +0 -327
- package/dist/fable_modules/fable-library-js.4.14.0/MutableSet.d.ts +0 -39
- package/dist/fable_modules/fable-library-js.4.14.0/MutableSet.js +0 -233
- package/dist/fable_modules/fable-library-js.4.14.0/Native.d.ts +0 -2
- package/dist/fable_modules/fable-library-js.4.14.0/Native.js +0 -8
- package/dist/fable_modules/fable-library-js.4.14.0/Numeric.d.ts +0 -19
- package/dist/fable_modules/fable-library-js.4.14.0/Numeric.js +0 -71
- package/dist/fable_modules/fable-library-js.4.14.0/Observable.d.ts +0 -32
- package/dist/fable_modules/fable-library-js.4.14.0/Observable.js +0 -113
- package/dist/fable_modules/fable-library-js.4.14.0/Option.d.ts +0 -28
- package/dist/fable_modules/fable-library-js.4.14.0/Option.js +0 -96
- package/dist/fable_modules/fable-library-js.4.14.0/README.md +0 -3
- package/dist/fable_modules/fable-library-js.4.14.0/Random.d.ts +0 -37
- package/dist/fable_modules/fable-library-js.4.14.0/Random.js +0 -170
- package/dist/fable_modules/fable-library-js.4.14.0/Range.d.ts +0 -12
- package/dist/fable_modules/fable-library-js.4.14.0/Range.js +0 -45
- package/dist/fable_modules/fable-library-js.4.14.0/Reflection.d.ts +0 -119
- package/dist/fable_modules/fable-library-js.4.14.0/Reflection.js +0 -461
- package/dist/fable_modules/fable-library-js.4.14.0/RegExp.d.ts +0 -10
- package/dist/fable_modules/fable-library-js.4.14.0/RegExp.js +0 -132
- package/dist/fable_modules/fable-library-js.4.14.0/Result.d.ts +0 -37
- package/dist/fable_modules/fable-library-js.4.14.0/Result.js +0 -165
- package/dist/fable_modules/fable-library-js.4.14.0/Seq.d.ts +0 -165
- package/dist/fable_modules/fable-library-js.4.14.0/Seq.js +0 -1379
- package/dist/fable_modules/fable-library-js.4.14.0/Seq2.d.ts +0 -18
- package/dist/fable_modules/fable-library-js.4.14.0/Seq2.js +0 -111
- package/dist/fable_modules/fable-library-js.4.14.0/Set.d.ts +0 -190
- package/dist/fable_modules/fable-library-js.4.14.0/Set.js +0 -1789
- package/dist/fable_modules/fable-library-js.4.14.0/String.d.ts +0 -50
- package/dist/fable_modules/fable-library-js.4.14.0/String.js +0 -543
- package/dist/fable_modules/fable-library-js.4.14.0/System.Collections.Generic.d.ts +0 -79
- package/dist/fable_modules/fable-library-js.4.14.0/System.Collections.Generic.js +0 -317
- package/dist/fable_modules/fable-library-js.4.14.0/System.Text.d.ts +0 -38
- package/dist/fable_modules/fable-library-js.4.14.0/System.Text.js +0 -162
- package/dist/fable_modules/fable-library-js.4.14.0/SystemException.d.ts +0 -5
- package/dist/fable_modules/fable-library-js.4.14.0/SystemException.js +0 -5
- package/dist/fable_modules/fable-library-js.4.14.0/TimeOnly.d.ts +0 -15
- package/dist/fable_modules/fable-library-js.4.14.0/TimeOnly.js +0 -122
- package/dist/fable_modules/fable-library-js.4.14.0/TimeSpan.d.ts +0 -34
- package/dist/fable_modules/fable-library-js.4.14.0/TimeSpan.js +0 -177
- package/dist/fable_modules/fable-library-js.4.14.0/Timer.d.ts +0 -19
- package/dist/fable_modules/fable-library-js.4.14.0/Timer.js +0 -67
- package/dist/fable_modules/fable-library-js.4.14.0/Types.d.ts +0 -58
- package/dist/fable_modules/fable-library-js.4.14.0/Types.js +0 -208
- package/dist/fable_modules/fable-library-js.4.14.0/Unicode.13.0.0.d.ts +0 -2
- package/dist/fable_modules/fable-library-js.4.14.0/Unicode.13.0.0.js +0 -4
- package/dist/fable_modules/fable-library-js.4.14.0/Uri.d.ts +0 -29
- package/dist/fable_modules/fable-library-js.4.14.0/Uri.js +0 -142
- package/dist/fable_modules/fable-library-js.4.14.0/Util.d.ts +0 -207
- package/dist/fable_modules/fable-library-js.4.14.0/Util.js +0 -770
- package/dist/fable_modules/fable-library-js.4.14.0/big.d.ts +0 -338
- package/dist/fable_modules/fable-library-js.4.14.0/lib/big.d.ts +0 -5
- package/dist/fable_modules/fable-library-js.4.14.0/lib/big.js +0 -826
- package/dist/fable_modules/fable-library-js.4.14.0/package.json +0 -24
- package/dist/fable_modules/project_cracked.json +0 -1
|
@@ -1,8 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
1
|
+
|
|
2
|
+
import { toString, Union, Record } from "../fable_modules/fable-library-js.5.17.2/Types.js";
|
|
3
|
+
import { float64_type, int32_type, bool_type, union_type, list_type, record_type, option_type, string_type } from "../fable_modules/fable-library-js.5.17.2/Reflection.js";
|
|
4
|
+
import { append, singleton, map, collect, empty } from "../fable_modules/fable-library-js.5.17.2/List.js";
|
|
5
|
+
import { stringHash, int32ToString } from "../fable_modules/fable-library-js.5.17.2/Util.js";
|
|
6
|
+
import { join, concat } from "../fable_modules/fable-library-js.5.17.2/String.js";
|
|
7
|
+
import { tryFind } from "../fable_modules/fable-library-js.5.17.2/Map.js";
|
|
8
|
+
import { List_distinctBy } from "../fable_modules/fable-library-js.5.17.2/Seq2.js";
|
|
6
9
|
|
|
7
10
|
export class GlueCommentParam extends Record {
|
|
8
11
|
constructor(Name, Content) {
|
|
@@ -71,9 +74,11 @@ export function GlueTypeParameter_$reflection() {
|
|
|
71
74
|
}
|
|
72
75
|
|
|
73
76
|
export class GlueMethod extends Record {
|
|
74
|
-
constructor(Name, Parameters, Type, IsOptional, IsStatic) {
|
|
77
|
+
constructor(Name, Documentation, TypeParameters, Parameters, Type, IsOptional, IsStatic) {
|
|
75
78
|
super();
|
|
76
79
|
this.Name = Name;
|
|
80
|
+
this.Documentation = Documentation;
|
|
81
|
+
this.TypeParameters = TypeParameters;
|
|
77
82
|
this.Parameters = Parameters;
|
|
78
83
|
this.Type = Type;
|
|
79
84
|
this.IsOptional = IsOptional;
|
|
@@ -82,19 +87,20 @@ export class GlueMethod extends Record {
|
|
|
82
87
|
}
|
|
83
88
|
|
|
84
89
|
export function GlueMethod_$reflection() {
|
|
85
|
-
return record_type("Glutinum.Converter.GlueAST.GlueMethod", [], GlueMethod, () => [["Name", string_type], ["Parameters", list_type(GlueParameter_$reflection())], ["Type", GlueType_$reflection()], ["IsOptional", bool_type], ["IsStatic", bool_type]]);
|
|
90
|
+
return record_type("Glutinum.Converter.GlueAST.GlueMethod", [], GlueMethod, () => [["Name", string_type], ["Documentation", list_type(GlueComment_$reflection())], ["TypeParameters", list_type(GlueTypeParameter_$reflection())], ["Parameters", list_type(GlueParameter_$reflection())], ["Type", GlueType_$reflection()], ["IsOptional", bool_type], ["IsStatic", bool_type]]);
|
|
86
91
|
}
|
|
87
92
|
|
|
88
93
|
export class GlueCallSignature extends Record {
|
|
89
|
-
constructor(Parameters, Type) {
|
|
94
|
+
constructor(TypeParameters, Parameters, Type) {
|
|
90
95
|
super();
|
|
96
|
+
this.TypeParameters = TypeParameters;
|
|
91
97
|
this.Parameters = Parameters;
|
|
92
98
|
this.Type = Type;
|
|
93
99
|
}
|
|
94
100
|
}
|
|
95
101
|
|
|
96
102
|
export function GlueCallSignature_$reflection() {
|
|
97
|
-
return record_type("Glutinum.Converter.GlueAST.GlueCallSignature", [], GlueCallSignature, () => [["Parameters", list_type(GlueParameter_$reflection())], ["Type", GlueType_$reflection()]]);
|
|
103
|
+
return record_type("Glutinum.Converter.GlueAST.GlueCallSignature", [], GlueCallSignature, () => [["TypeParameters", list_type(GlueTypeParameter_$reflection())], ["Parameters", list_type(GlueParameter_$reflection())], ["Type", GlueType_$reflection()]]);
|
|
98
104
|
}
|
|
99
105
|
|
|
100
106
|
export class GlueAccessor extends Union {
|
|
@@ -106,6 +112,9 @@ export class GlueAccessor extends Union {
|
|
|
106
112
|
cases() {
|
|
107
113
|
return ["ReadOnly", "WriteOnly", "ReadWrite"];
|
|
108
114
|
}
|
|
115
|
+
static ReadOnly = new GlueAccessor(0, []);
|
|
116
|
+
static WriteOnly = new GlueAccessor(1, []);
|
|
117
|
+
static ReadWrite = new GlueAccessor(2, []);
|
|
109
118
|
}
|
|
110
119
|
|
|
111
120
|
export function GlueAccessor_$reflection() {
|
|
@@ -173,17 +182,18 @@ export function GlueIndexSignature_$reflection() {
|
|
|
173
182
|
}
|
|
174
183
|
|
|
175
184
|
export class GlueMethodSignature extends Record {
|
|
176
|
-
constructor(Name, Documentation, Parameters, Type) {
|
|
185
|
+
constructor(Name, Documentation, TypeParameters, Parameters, Type) {
|
|
177
186
|
super();
|
|
178
187
|
this.Name = Name;
|
|
179
188
|
this.Documentation = Documentation;
|
|
189
|
+
this.TypeParameters = TypeParameters;
|
|
180
190
|
this.Parameters = Parameters;
|
|
181
191
|
this.Type = Type;
|
|
182
192
|
}
|
|
183
193
|
}
|
|
184
194
|
|
|
185
195
|
export function GlueMethodSignature_$reflection() {
|
|
186
|
-
return record_type("Glutinum.Converter.GlueAST.GlueMethodSignature", [], GlueMethodSignature, () => [["Name", string_type], ["Documentation", list_type(GlueComment_$reflection())], ["Parameters", list_type(GlueParameter_$reflection())], ["Type", GlueType_$reflection()]]);
|
|
196
|
+
return record_type("Glutinum.Converter.GlueAST.GlueMethodSignature", [], GlueMethodSignature, () => [["Name", string_type], ["Documentation", list_type(GlueComment_$reflection())], ["TypeParameters", list_type(GlueTypeParameter_$reflection())], ["Parameters", list_type(GlueParameter_$reflection())], ["Type", GlueType_$reflection()]]);
|
|
187
197
|
}
|
|
188
198
|
|
|
189
199
|
export class GlueConstructSignature extends Record {
|
|
@@ -214,8 +224,9 @@ export function GlueMember_$reflection() {
|
|
|
214
224
|
}
|
|
215
225
|
|
|
216
226
|
export class GlueInterface extends Record {
|
|
217
|
-
constructor(FullName, Name, Members, TypeParameters, HeritageClauses) {
|
|
227
|
+
constructor(Documentation, FullName, Name, Members, TypeParameters, HeritageClauses) {
|
|
218
228
|
super();
|
|
229
|
+
this.Documentation = Documentation;
|
|
219
230
|
this.FullName = FullName;
|
|
220
231
|
this.Name = Name;
|
|
221
232
|
this.Members = Members;
|
|
@@ -225,7 +236,7 @@ export class GlueInterface extends Record {
|
|
|
225
236
|
}
|
|
226
237
|
|
|
227
238
|
export function GlueInterface_$reflection() {
|
|
228
|
-
return record_type("Glutinum.Converter.GlueAST.GlueInterface", [], GlueInterface, () => [["FullName", string_type], ["Name", string_type], ["Members", list_type(GlueMember_$reflection())], ["TypeParameters", list_type(GlueTypeParameter_$reflection())], ["HeritageClauses", list_type(GlueType_$reflection())]]);
|
|
239
|
+
return record_type("Glutinum.Converter.GlueAST.GlueInterface", [], GlueInterface, () => [["Documentation", list_type(GlueComment_$reflection())], ["FullName", string_type], ["Name", string_type], ["Members", list_type(GlueMember_$reflection())], ["TypeParameters", list_type(GlueTypeParameter_$reflection())], ["HeritageClauses", list_type(GlueType_$reflection())]]);
|
|
229
240
|
}
|
|
230
241
|
|
|
231
242
|
export class GlueTypeLiteral extends Record {
|
|
@@ -259,12 +270,25 @@ export class GluePrimitive extends Union {
|
|
|
259
270
|
this.fields = fields;
|
|
260
271
|
}
|
|
261
272
|
cases() {
|
|
262
|
-
return ["String", "Int", "Float", "Bool", "Unit", "Number", "Any", "Null", "Undefined", "Object", "Symbol", "Never"];
|
|
273
|
+
return ["String", "Int", "Float", "Bool", "Unit", "Number", "Any", "Null", "Undefined", "Object", "Symbol", "Never", "BigInt"];
|
|
263
274
|
}
|
|
275
|
+
static String$ = new GluePrimitive(0, []);
|
|
276
|
+
static Int = new GluePrimitive(1, []);
|
|
277
|
+
static Float = new GluePrimitive(2, []);
|
|
278
|
+
static Bool = new GluePrimitive(3, []);
|
|
279
|
+
static Unit = new GluePrimitive(4, []);
|
|
280
|
+
static Number$ = new GluePrimitive(5, []);
|
|
281
|
+
static Any = new GluePrimitive(6, []);
|
|
282
|
+
static Null = new GluePrimitive(7, []);
|
|
283
|
+
static Undefined = new GluePrimitive(8, []);
|
|
284
|
+
static Object$ = new GluePrimitive(9, []);
|
|
285
|
+
static Symbol$ = new GluePrimitive(10, []);
|
|
286
|
+
static Never = new GluePrimitive(11, []);
|
|
287
|
+
static BigInt$ = new GluePrimitive(12, []);
|
|
264
288
|
}
|
|
265
289
|
|
|
266
290
|
export function GluePrimitive_$reflection() {
|
|
267
|
-
return union_type("Glutinum.Converter.GlueAST.GluePrimitive", [], GluePrimitive, () => [[], [], [], [], [], [], [], [], [], [], [], []]);
|
|
291
|
+
return union_type("Glutinum.Converter.GlueAST.GluePrimitive", [], GluePrimitive, () => [[], [], [], [], [], [], [], [], [], [], [], [], []]);
|
|
268
292
|
}
|
|
269
293
|
|
|
270
294
|
export class GlueLiteral extends Union {
|
|
@@ -276,6 +300,7 @@ export class GlueLiteral extends Union {
|
|
|
276
300
|
cases() {
|
|
277
301
|
return ["String", "Int", "Float", "Bool", "Null"];
|
|
278
302
|
}
|
|
303
|
+
static Null = new GlueLiteral(4, []);
|
|
279
304
|
}
|
|
280
305
|
|
|
281
306
|
export function GlueLiteral_$reflection() {
|
|
@@ -307,9 +332,10 @@ export function GlueEnum_$reflection() {
|
|
|
307
332
|
}
|
|
308
333
|
|
|
309
334
|
export class GlueTypeAliasDeclaration extends Record {
|
|
310
|
-
constructor(Documentation, Name, Type, TypeParameters) {
|
|
335
|
+
constructor(Documentation, FullName, Name, Type, TypeParameters) {
|
|
311
336
|
super();
|
|
312
337
|
this.Documentation = Documentation;
|
|
338
|
+
this.FullName = FullName;
|
|
313
339
|
this.Name = Name;
|
|
314
340
|
this.Type = Type;
|
|
315
341
|
this.TypeParameters = TypeParameters;
|
|
@@ -317,7 +343,7 @@ export class GlueTypeAliasDeclaration extends Record {
|
|
|
317
343
|
}
|
|
318
344
|
|
|
319
345
|
export function GlueTypeAliasDeclaration_$reflection() {
|
|
320
|
-
return record_type("Glutinum.Converter.GlueAST.GlueTypeAliasDeclaration", [], GlueTypeAliasDeclaration, () => [["Documentation", list_type(GlueComment_$reflection())], ["Name", string_type], ["Type", GlueType_$reflection()], ["TypeParameters", list_type(GlueTypeParameter_$reflection())]]);
|
|
346
|
+
return record_type("Glutinum.Converter.GlueAST.GlueTypeAliasDeclaration", [], GlueTypeAliasDeclaration, () => [["Documentation", list_type(GlueComment_$reflection())], ["FullName", string_type], ["Name", string_type], ["Type", GlueType_$reflection()], ["TypeParameters", list_type(GlueTypeParameter_$reflection())]]);
|
|
321
347
|
}
|
|
322
348
|
|
|
323
349
|
export class GlueFunctionDeclaration extends Record {
|
|
@@ -337,17 +363,20 @@ export function GlueFunctionDeclaration_$reflection() {
|
|
|
337
363
|
}
|
|
338
364
|
|
|
339
365
|
export class GlueModuleDeclaration extends Record {
|
|
340
|
-
constructor(Name, IsNamespace, IsRecursive, Types) {
|
|
366
|
+
constructor(Documentation, Name, IsTopLevel, IsNamespace, IsGlobal, IsRecursive, Types) {
|
|
341
367
|
super();
|
|
368
|
+
this.Documentation = Documentation;
|
|
342
369
|
this.Name = Name;
|
|
370
|
+
this.IsTopLevel = IsTopLevel;
|
|
343
371
|
this.IsNamespace = IsNamespace;
|
|
372
|
+
this.IsGlobal = IsGlobal;
|
|
344
373
|
this.IsRecursive = IsRecursive;
|
|
345
374
|
this.Types = Types;
|
|
346
375
|
}
|
|
347
376
|
}
|
|
348
377
|
|
|
349
378
|
export function GlueModuleDeclaration_$reflection() {
|
|
350
|
-
return record_type("Glutinum.Converter.GlueAST.GlueModuleDeclaration", [], GlueModuleDeclaration, () => [["Name", string_type], ["IsNamespace", bool_type], ["IsRecursive", bool_type], ["Types", list_type(GlueType_$reflection())]]);
|
|
379
|
+
return record_type("Glutinum.Converter.GlueAST.GlueModuleDeclaration", [], GlueModuleDeclaration, () => [["Documentation", list_type(GlueComment_$reflection())], ["Name", string_type], ["IsTopLevel", bool_type], ["IsNamespace", bool_type], ["IsGlobal", bool_type], ["IsRecursive", bool_type], ["Types", list_type(GlueType_$reflection())]]);
|
|
351
380
|
}
|
|
352
381
|
|
|
353
382
|
export class GlueConstructor extends Record {
|
|
@@ -363,32 +392,36 @@ export function GlueConstructor_$reflection() {
|
|
|
363
392
|
}
|
|
364
393
|
|
|
365
394
|
export class GlueClassDeclaration extends Record {
|
|
366
|
-
constructor(Name, Constructors, Members, TypeParameters, HeritageClauses) {
|
|
395
|
+
constructor(Documentation, FullName, Name, Constructors, Members, TypeParameters, HeritageClauses, IsExported) {
|
|
367
396
|
super();
|
|
397
|
+
this.Documentation = Documentation;
|
|
398
|
+
this.FullName = FullName;
|
|
368
399
|
this.Name = Name;
|
|
369
400
|
this.Constructors = Constructors;
|
|
370
401
|
this.Members = Members;
|
|
371
402
|
this.TypeParameters = TypeParameters;
|
|
372
403
|
this.HeritageClauses = HeritageClauses;
|
|
404
|
+
this.IsExported = IsExported;
|
|
373
405
|
}
|
|
374
406
|
}
|
|
375
407
|
|
|
376
408
|
export function GlueClassDeclaration_$reflection() {
|
|
377
|
-
return record_type("Glutinum.Converter.GlueAST.GlueClassDeclaration", [], GlueClassDeclaration, () => [["Name", string_type], ["Constructors", list_type(GlueConstructor_$reflection())], ["Members", list_type(GlueMember_$reflection())], ["TypeParameters", list_type(GlueTypeParameter_$reflection())], ["HeritageClauses", list_type(GlueType_$reflection())]]);
|
|
409
|
+
return record_type("Glutinum.Converter.GlueAST.GlueClassDeclaration", [], GlueClassDeclaration, () => [["Documentation", list_type(GlueComment_$reflection())], ["FullName", string_type], ["Name", string_type], ["Constructors", list_type(GlueConstructor_$reflection())], ["Members", list_type(GlueMember_$reflection())], ["TypeParameters", list_type(GlueTypeParameter_$reflection())], ["HeritageClauses", list_type(GlueType_$reflection())], ["IsExported", bool_type]]);
|
|
378
410
|
}
|
|
379
411
|
|
|
380
412
|
export class GlueTypeReference extends Record {
|
|
381
|
-
constructor(Name, FullName, TypeArguments, IsStandardLibrary) {
|
|
413
|
+
constructor(Name, FullName, ModulePath, TypeArguments, IsStandardLibrary) {
|
|
382
414
|
super();
|
|
383
415
|
this.Name = Name;
|
|
384
416
|
this.FullName = FullName;
|
|
417
|
+
this.ModulePath = ModulePath;
|
|
385
418
|
this.TypeArguments = TypeArguments;
|
|
386
419
|
this.IsStandardLibrary = IsStandardLibrary;
|
|
387
420
|
}
|
|
388
421
|
}
|
|
389
422
|
|
|
390
423
|
export function GlueTypeReference_$reflection() {
|
|
391
|
-
return record_type("Glutinum.Converter.GlueAST.GlueTypeReference", [], GlueTypeReference, () => [["Name", string_type], ["FullName", string_type], ["TypeArguments", list_type(GlueType_$reflection())], ["IsStandardLibrary", bool_type]]);
|
|
424
|
+
return record_type("Glutinum.Converter.GlueAST.GlueTypeReference", [], GlueTypeReference, () => [["Name", string_type], ["FullName", string_type], ["ModulePath", list_type(string_type)], ["TypeArguments", list_type(GlueType_$reflection())], ["IsStandardLibrary", bool_type]]);
|
|
392
425
|
}
|
|
393
426
|
|
|
394
427
|
export class GlueTypeUnion extends Union {
|
|
@@ -422,17 +455,18 @@ export function ExcludedMember_$reflection() {
|
|
|
422
455
|
}
|
|
423
456
|
|
|
424
457
|
export class GlueFunctionType extends Record {
|
|
425
|
-
constructor(Documentation, Type, TypeParameters, Parameters) {
|
|
458
|
+
constructor(Documentation, Type, TypeParameters, OwnTypeParameterNames, Parameters) {
|
|
426
459
|
super();
|
|
427
460
|
this.Documentation = Documentation;
|
|
428
461
|
this.Type = Type;
|
|
429
462
|
this.TypeParameters = TypeParameters;
|
|
463
|
+
this.OwnTypeParameterNames = OwnTypeParameterNames;
|
|
430
464
|
this.Parameters = Parameters;
|
|
431
465
|
}
|
|
432
466
|
}
|
|
433
467
|
|
|
434
468
|
export function GlueFunctionType_$reflection() {
|
|
435
|
-
return record_type("Glutinum.Converter.GlueAST.GlueFunctionType", [], GlueFunctionType, () => [["Documentation", list_type(GlueComment_$reflection())], ["Type", GlueType_$reflection()], ["TypeParameters", list_type(GlueTypeParameter_$reflection())], ["Parameters", list_type(GlueParameter_$reflection())]]);
|
|
469
|
+
return record_type("Glutinum.Converter.GlueAST.GlueFunctionType", [], GlueFunctionType, () => [["Documentation", list_type(GlueComment_$reflection())], ["Type", GlueType_$reflection()], ["TypeParameters", list_type(GlueTypeParameter_$reflection())], ["OwnTypeParameterNames", list_type(string_type)], ["Parameters", list_type(GlueParameter_$reflection())]]);
|
|
436
470
|
}
|
|
437
471
|
|
|
438
472
|
export class NamedTupleType extends Record {
|
|
@@ -532,12 +566,113 @@ export class GlueType extends Union {
|
|
|
532
566
|
this.fields = fields;
|
|
533
567
|
}
|
|
534
568
|
cases() {
|
|
535
|
-
return ["Discard", "Interface", "Variable", "Primitive", "Enum", "TypeAliasDeclaration", "FunctionDeclaration", "Union", "Literal", "KeyOf", "IndexedAccessType", "ModuleDeclaration", "ClassDeclaration", "TypeReference", "Array", "FunctionType", "TypeParameter", "ThisType", "TupleType", "NamedTupleType", "IntersectionType", "TypeLiteral", "OptionalType", "Unknown", "ExportDefault", "TemplateLiteral", "UtilityType", "MappedType", "ConstructorType", "ReadOnly"];
|
|
569
|
+
return ["Discard", "Interface", "Variable", "Primitive", "Enum", "TypeAliasDeclaration", "FunctionDeclaration", "Union", "Literal", "KeyOf", "IndexedAccessType", "ModuleDeclaration", "ClassDeclaration", "TypeReference", "Array", "FunctionType", "TypeParameter", "ThisType", "TupleType", "NamedTupleType", "IntersectionType", "TypeLiteral", "OptionalType", "Unknown", "ExportDefault", "TemplateLiteral", "UtilityType", "MappedType", "ConstructorType", "ReadOnly", "FileModule", "ReExport", "ConditionalType"];
|
|
536
570
|
}
|
|
571
|
+
static Discard = new GlueType(0, []);
|
|
572
|
+
static Unknown = new GlueType(23, []);
|
|
573
|
+
static TemplateLiteral = new GlueType(25, []);
|
|
537
574
|
}
|
|
538
575
|
|
|
539
576
|
export function GlueType_$reflection() {
|
|
540
|
-
return union_type("Glutinum.Converter.GlueAST.GlueType", [], GlueType, () => [[], [["Item", GlueInterface_$reflection()]], [["Item", GlueVariable_$reflection()]], [["Item", GluePrimitive_$reflection()]], [["Item", GlueEnum_$reflection()]], [["Item", GlueTypeAliasDeclaration_$reflection()]], [["Item", GlueFunctionDeclaration_$reflection()]], [["Item", GlueTypeUnion_$reflection()]], [["Item", GlueLiteral_$reflection()]], [["Item", GlueType_$reflection()]], [["Item", GlueIndexedAccessType_$reflection()]], [["Item", GlueModuleDeclaration_$reflection()]], [["Item", GlueClassDeclaration_$reflection()]], [["Item", GlueTypeReference_$reflection()]], [["Item", GlueType_$reflection()]], [["Item", GlueFunctionType_$reflection()]], [["Item", string_type]], [["Item", GlueThisType_$reflection()]], [["Item", list_type(GlueType_$reflection())]], [["Item", NamedTupleType_$reflection()]], [["Item", list_type(GlueMember_$reflection())]], [["Item", GlueTypeLiteral_$reflection()]], [["Item", GlueType_$reflection()]], [], [["Item", GlueType_$reflection()]], [], [["Item", GlueUtilityType_$reflection()]], [["Item", GlueMappedType_$reflection()]], [], [["Item", GlueType_$reflection()]]]);
|
|
577
|
+
return union_type("Glutinum.Converter.GlueAST.GlueType", [], GlueType, () => [[], [["Item", GlueInterface_$reflection()]], [["Item", GlueVariable_$reflection()]], [["Item", GluePrimitive_$reflection()]], [["Item", GlueEnum_$reflection()]], [["Item", GlueTypeAliasDeclaration_$reflection()]], [["Item", GlueFunctionDeclaration_$reflection()]], [["Item", GlueTypeUnion_$reflection()]], [["Item", GlueLiteral_$reflection()]], [["Item", GlueType_$reflection()]], [["Item", GlueIndexedAccessType_$reflection()]], [["Item", GlueModuleDeclaration_$reflection()]], [["Item", GlueClassDeclaration_$reflection()]], [["Item", GlueTypeReference_$reflection()]], [["Item", GlueType_$reflection()]], [["Item", GlueFunctionType_$reflection()]], [["Item", string_type]], [["Item", GlueThisType_$reflection()]], [["Item", list_type(GlueType_$reflection())]], [["Item", NamedTupleType_$reflection()]], [["Item", list_type(GlueMember_$reflection())]], [["Item", GlueTypeLiteral_$reflection()]], [["Item", GlueType_$reflection()]], [], [["Item", GlueType_$reflection()]], [], [["Item", GlueUtilityType_$reflection()]], [["Item", GlueMappedType_$reflection()]], [["Item", GlueConstructSignature_$reflection()]], [["Item", GlueType_$reflection()]], [["Item", GlueFileModule_$reflection()]], [["Item", GlueReExport_$reflection()]], [["Item", GlueConditionalType_$reflection()]]]);
|
|
578
|
+
}
|
|
579
|
+
|
|
580
|
+
export class GlueFileModule extends Record {
|
|
581
|
+
constructor(Name, ImportSpecifier, IsGlobal, Types) {
|
|
582
|
+
super();
|
|
583
|
+
this.Name = Name;
|
|
584
|
+
this.ImportSpecifier = ImportSpecifier;
|
|
585
|
+
this.IsGlobal = IsGlobal;
|
|
586
|
+
this.Types = Types;
|
|
587
|
+
}
|
|
588
|
+
}
|
|
589
|
+
|
|
590
|
+
export function GlueFileModule_$reflection() {
|
|
591
|
+
return record_type("Glutinum.Converter.GlueAST.GlueFileModule", [], GlueFileModule, () => [["Name", string_type], ["ImportSpecifier", string_type], ["IsGlobal", bool_type], ["Types", list_type(GlueType_$reflection())]]);
|
|
592
|
+
}
|
|
593
|
+
|
|
594
|
+
export class GlueConditionalType extends Record {
|
|
595
|
+
constructor(CheckType, ExtendsType, TrueType, FalseType) {
|
|
596
|
+
super();
|
|
597
|
+
this.CheckType = CheckType;
|
|
598
|
+
this.ExtendsType = ExtendsType;
|
|
599
|
+
this.TrueType = TrueType;
|
|
600
|
+
this.FalseType = FalseType;
|
|
601
|
+
}
|
|
602
|
+
}
|
|
603
|
+
|
|
604
|
+
export function GlueConditionalType_$reflection() {
|
|
605
|
+
return record_type("Glutinum.Converter.GlueAST.GlueConditionalType", [], GlueConditionalType, () => [["CheckType", GlueType_$reflection()], ["ExtendsType", GlueType_$reflection()], ["TrueType", GlueType_$reflection()], ["FalseType", GlueType_$reflection()]]);
|
|
606
|
+
}
|
|
607
|
+
|
|
608
|
+
export class GlueReExport extends Record {
|
|
609
|
+
constructor(Name, Declaration, ModulePath) {
|
|
610
|
+
super();
|
|
611
|
+
this.Name = Name;
|
|
612
|
+
this.Declaration = Declaration;
|
|
613
|
+
this.ModulePath = ModulePath;
|
|
614
|
+
}
|
|
615
|
+
}
|
|
616
|
+
|
|
617
|
+
export function GlueReExport_$reflection() {
|
|
618
|
+
return record_type("Glutinum.Converter.GlueAST.GlueReExport", [], GlueReExport, () => [["Name", string_type], ["Declaration", GlueType_$reflection()], ["ModulePath", list_type(string_type)]]);
|
|
619
|
+
}
|
|
620
|
+
|
|
621
|
+
export function GlueMember__TryGetAccessor(this$) {
|
|
622
|
+
switch (this$.tag) {
|
|
623
|
+
case 2:
|
|
624
|
+
return GlueAccessor.ReadOnly;
|
|
625
|
+
case 3:
|
|
626
|
+
return GlueAccessor.WriteOnly;
|
|
627
|
+
case 0:
|
|
628
|
+
case 4:
|
|
629
|
+
case 5:
|
|
630
|
+
case 6:
|
|
631
|
+
case 7:
|
|
632
|
+
return undefined;
|
|
633
|
+
default:
|
|
634
|
+
return this$.fields[0].Accessor;
|
|
635
|
+
}
|
|
636
|
+
}
|
|
637
|
+
|
|
638
|
+
export function GlueMember__get_Documentation(this$) {
|
|
639
|
+
switch (this$.tag) {
|
|
640
|
+
case 1:
|
|
641
|
+
return this$.fields[0].Documentation;
|
|
642
|
+
case 2:
|
|
643
|
+
return this$.fields[0].Documentation;
|
|
644
|
+
case 3:
|
|
645
|
+
return this$.fields[0].Documentation;
|
|
646
|
+
case 6:
|
|
647
|
+
return this$.fields[0].Documentation;
|
|
648
|
+
case 4:
|
|
649
|
+
case 5:
|
|
650
|
+
case 7:
|
|
651
|
+
return empty();
|
|
652
|
+
default:
|
|
653
|
+
return this$.fields[0].Documentation;
|
|
654
|
+
}
|
|
655
|
+
}
|
|
656
|
+
|
|
657
|
+
export function GlueMember__get_TypeParameters(this$) {
|
|
658
|
+
switch (this$.tag) {
|
|
659
|
+
case 1:
|
|
660
|
+
return GlueType__get_TypeParameters(this$.fields[0].Type);
|
|
661
|
+
case 2:
|
|
662
|
+
return empty();
|
|
663
|
+
case 3:
|
|
664
|
+
return empty();
|
|
665
|
+
case 4:
|
|
666
|
+
return GlueType__get_TypeParameters(this$.fields[0].Type);
|
|
667
|
+
case 5:
|
|
668
|
+
return GlueType__get_TypeParameters(this$.fields[0].Type);
|
|
669
|
+
case 6:
|
|
670
|
+
return GlueType__get_TypeParameters(this$.fields[0].Type);
|
|
671
|
+
case 7:
|
|
672
|
+
return GlueType__get_TypeParameters(this$.fields[0].Type);
|
|
673
|
+
default:
|
|
674
|
+
return GlueType__get_TypeParameters(this$.fields[0].Type);
|
|
675
|
+
}
|
|
541
676
|
}
|
|
542
677
|
|
|
543
678
|
export function GlueLiteral__ToText(this$) {
|
|
@@ -555,6 +690,28 @@ export function GlueLiteral__ToText(this$) {
|
|
|
555
690
|
}
|
|
556
691
|
}
|
|
557
692
|
|
|
693
|
+
export function GlueUtilityType__get_TypeParameters(this$) {
|
|
694
|
+
switch (this$.tag) {
|
|
695
|
+
case 1:
|
|
696
|
+
return empty();
|
|
697
|
+
case 2:
|
|
698
|
+
return GlueType__get_TypeParameters(this$.fields[0]);
|
|
699
|
+
case 3:
|
|
700
|
+
return GlueType__get_TypeParameters(this$.fields[0]);
|
|
701
|
+
case 4:
|
|
702
|
+
return collect(GlueMember__get_TypeParameters, this$.fields[0]);
|
|
703
|
+
case 5:
|
|
704
|
+
if (this$.fields[0].tag === 1) {
|
|
705
|
+
return collect((interfaceInfo) => interfaceInfo.TypeParameters, this$.fields[0].fields[0]);
|
|
706
|
+
}
|
|
707
|
+
else {
|
|
708
|
+
return collect(GlueMember__get_TypeParameters, this$.fields[0].fields[0]);
|
|
709
|
+
}
|
|
710
|
+
default:
|
|
711
|
+
return this$.fields[0].TypeParameters;
|
|
712
|
+
}
|
|
713
|
+
}
|
|
714
|
+
|
|
558
715
|
export function GlueType__get_Name(this$) {
|
|
559
716
|
switch (this$.tag) {
|
|
560
717
|
case 2:
|
|
@@ -582,6 +739,8 @@ export function GlueType__get_Name(this$) {
|
|
|
582
739
|
return "obj";
|
|
583
740
|
case 10:
|
|
584
741
|
return "obj";
|
|
742
|
+
case 12:
|
|
743
|
+
return "bigint";
|
|
585
744
|
case 11:
|
|
586
745
|
return "obj";
|
|
587
746
|
default:
|
|
@@ -609,11 +768,11 @@ export function GlueType__get_Name(this$) {
|
|
|
609
768
|
case 13:
|
|
610
769
|
return this$.fields[0].Name;
|
|
611
770
|
case 14:
|
|
612
|
-
return
|
|
771
|
+
return concat("ResizeArray<", GlueType__get_Name(this$.fields[0]), ">");
|
|
613
772
|
case 29: {
|
|
614
773
|
const info_11 = this$.fields[0];
|
|
615
774
|
if (info_11.tag === 14) {
|
|
616
|
-
return
|
|
775
|
+
return concat("ReadonlyArray<", GlueType__get_Name(info_11.fields[0]), ">");
|
|
617
776
|
}
|
|
618
777
|
else {
|
|
619
778
|
return GlueType__get_Name(info_11);
|
|
@@ -633,8 +792,12 @@ export function GlueType__get_Name(this$) {
|
|
|
633
792
|
case 0:
|
|
634
793
|
case 24:
|
|
635
794
|
case 28:
|
|
795
|
+
case 30:
|
|
796
|
+
case 32:
|
|
636
797
|
case 23:
|
|
637
798
|
return "obj";
|
|
799
|
+
case 31:
|
|
800
|
+
return this$.fields[0].Name;
|
|
638
801
|
case 26: {
|
|
639
802
|
const utilityType = this$.fields[0];
|
|
640
803
|
switch (utilityType.tag) {
|
|
@@ -653,4 +816,257 @@ export function GlueType__get_Name(this$) {
|
|
|
653
816
|
}
|
|
654
817
|
}
|
|
655
818
|
|
|
656
|
-
|
|
819
|
+
export function GlueType__get_TypeParameters(this$) {
|
|
820
|
+
switch (this$.tag) {
|
|
821
|
+
case 5:
|
|
822
|
+
return this$.fields[0].TypeParameters;
|
|
823
|
+
case 12:
|
|
824
|
+
return this$.fields[0].TypeParameters;
|
|
825
|
+
case 13:
|
|
826
|
+
return map((t) => (new GlueTypeParameter(GlueType__get_Name(t), undefined, undefined)), this$.fields[0].TypeArguments);
|
|
827
|
+
case 6:
|
|
828
|
+
return this$.fields[0].TypeParameters;
|
|
829
|
+
case 2:
|
|
830
|
+
return GlueType__get_TypeParameters(this$.fields[0].Type);
|
|
831
|
+
case 7:
|
|
832
|
+
return collect(GlueType__get_TypeParameters, this$.fields[0].fields[0]);
|
|
833
|
+
case 9:
|
|
834
|
+
return GlueType__get_TypeParameters(this$.fields[0]);
|
|
835
|
+
case 14:
|
|
836
|
+
return GlueType__get_TypeParameters(this$.fields[0]);
|
|
837
|
+
case 15:
|
|
838
|
+
return this$.fields[0].TypeParameters;
|
|
839
|
+
case 17:
|
|
840
|
+
return this$.fields[0].TypeParameters;
|
|
841
|
+
case 18:
|
|
842
|
+
return collect(GlueType__get_TypeParameters, this$.fields[0]);
|
|
843
|
+
case 19:
|
|
844
|
+
return GlueType__get_TypeParameters(this$.fields[0].Type);
|
|
845
|
+
case 22:
|
|
846
|
+
return GlueType__get_TypeParameters(this$.fields[0]);
|
|
847
|
+
case 27:
|
|
848
|
+
return singleton(this$.fields[0].TypeParameter);
|
|
849
|
+
case 29:
|
|
850
|
+
return GlueType__get_TypeParameters(this$.fields[0]);
|
|
851
|
+
case 20:
|
|
852
|
+
return collect(GlueMember__get_TypeParameters, this$.fields[0]);
|
|
853
|
+
case 26:
|
|
854
|
+
return GlueUtilityType__get_TypeParameters(this$.fields[0]);
|
|
855
|
+
case 23:
|
|
856
|
+
case 24:
|
|
857
|
+
case 25:
|
|
858
|
+
case 0:
|
|
859
|
+
case 3:
|
|
860
|
+
case 4:
|
|
861
|
+
case 8:
|
|
862
|
+
case 10:
|
|
863
|
+
case 11:
|
|
864
|
+
case 16:
|
|
865
|
+
case 21:
|
|
866
|
+
case 30:
|
|
867
|
+
case 31:
|
|
868
|
+
case 32:
|
|
869
|
+
case 28:
|
|
870
|
+
return empty();
|
|
871
|
+
default:
|
|
872
|
+
return this$.fields[0].TypeParameters;
|
|
873
|
+
}
|
|
874
|
+
}
|
|
875
|
+
|
|
876
|
+
export function GlueSubstitution_mentionedTypeParameters(glueType_mut) {
|
|
877
|
+
GlueSubstitution_mentionedTypeParameters:
|
|
878
|
+
while (true) {
|
|
879
|
+
const glueType = glueType_mut;
|
|
880
|
+
let matchResult, glueType_2;
|
|
881
|
+
switch (glueType.tag) {
|
|
882
|
+
case 16: {
|
|
883
|
+
matchResult = 0;
|
|
884
|
+
break;
|
|
885
|
+
}
|
|
886
|
+
case 13: {
|
|
887
|
+
matchResult = 1;
|
|
888
|
+
break;
|
|
889
|
+
}
|
|
890
|
+
case 14: {
|
|
891
|
+
matchResult = 2;
|
|
892
|
+
glueType_2 = glueType.fields[0];
|
|
893
|
+
break;
|
|
894
|
+
}
|
|
895
|
+
case 29: {
|
|
896
|
+
matchResult = 2;
|
|
897
|
+
glueType_2 = glueType.fields[0];
|
|
898
|
+
break;
|
|
899
|
+
}
|
|
900
|
+
case 22: {
|
|
901
|
+
matchResult = 2;
|
|
902
|
+
glueType_2 = glueType.fields[0];
|
|
903
|
+
break;
|
|
904
|
+
}
|
|
905
|
+
case 9: {
|
|
906
|
+
matchResult = 2;
|
|
907
|
+
glueType_2 = glueType.fields[0];
|
|
908
|
+
break;
|
|
909
|
+
}
|
|
910
|
+
case 7: {
|
|
911
|
+
matchResult = 3;
|
|
912
|
+
break;
|
|
913
|
+
}
|
|
914
|
+
case 18: {
|
|
915
|
+
matchResult = 4;
|
|
916
|
+
break;
|
|
917
|
+
}
|
|
918
|
+
case 19: {
|
|
919
|
+
matchResult = 5;
|
|
920
|
+
break;
|
|
921
|
+
}
|
|
922
|
+
case 10: {
|
|
923
|
+
matchResult = 6;
|
|
924
|
+
break;
|
|
925
|
+
}
|
|
926
|
+
case 15: {
|
|
927
|
+
matchResult = 7;
|
|
928
|
+
break;
|
|
929
|
+
}
|
|
930
|
+
default:
|
|
931
|
+
matchResult = 8;
|
|
932
|
+
}
|
|
933
|
+
switch (matchResult) {
|
|
934
|
+
case 0:
|
|
935
|
+
return singleton(glueType.fields[0]);
|
|
936
|
+
case 1:
|
|
937
|
+
return collect(GlueSubstitution_mentionedTypeParameters, glueType.fields[0].TypeArguments);
|
|
938
|
+
case 2: {
|
|
939
|
+
glueType_mut = glueType_2;
|
|
940
|
+
continue GlueSubstitution_mentionedTypeParameters;
|
|
941
|
+
}
|
|
942
|
+
case 3:
|
|
943
|
+
return collect(GlueSubstitution_mentionedTypeParameters, glueType.fields[0].fields[0]);
|
|
944
|
+
case 4:
|
|
945
|
+
return collect(GlueSubstitution_mentionedTypeParameters, glueType.fields[0]);
|
|
946
|
+
case 5: {
|
|
947
|
+
glueType_mut = glueType.fields[0].Type;
|
|
948
|
+
continue GlueSubstitution_mentionedTypeParameters;
|
|
949
|
+
}
|
|
950
|
+
case 6: {
|
|
951
|
+
const indexedAccess = glueType.fields[0];
|
|
952
|
+
return append(GlueSubstitution_mentionedTypeParameters(indexedAccess.ObjectType), GlueSubstitution_mentionedTypeParameters(indexedAccess.IndexType));
|
|
953
|
+
}
|
|
954
|
+
case 7: {
|
|
955
|
+
const functionType = glueType.fields[0];
|
|
956
|
+
return append(GlueSubstitution_mentionedTypeParameters(functionType.Type), collect((parameter) => GlueSubstitution_mentionedTypeParameters(parameter.Type), functionType.Parameters));
|
|
957
|
+
}
|
|
958
|
+
default:
|
|
959
|
+
return empty();
|
|
960
|
+
}
|
|
961
|
+
break;
|
|
962
|
+
}
|
|
963
|
+
}
|
|
964
|
+
|
|
965
|
+
export function GlueSubstitution_substitute(substitutions, glueType) {
|
|
966
|
+
let Parameters, ObjectType;
|
|
967
|
+
const substitute = (glueType_1) => GlueSubstitution_substitute(substitutions, glueType_1);
|
|
968
|
+
switch (glueType.tag) {
|
|
969
|
+
case 16: {
|
|
970
|
+
const matchValue = tryFind(glueType.fields[0], substitutions);
|
|
971
|
+
if (matchValue == null) {
|
|
972
|
+
return glueType;
|
|
973
|
+
}
|
|
974
|
+
else {
|
|
975
|
+
return matchValue;
|
|
976
|
+
}
|
|
977
|
+
}
|
|
978
|
+
case 13: {
|
|
979
|
+
const typeReference = glueType.fields[0];
|
|
980
|
+
return new GlueType(/* TypeReference */ 13, [new GlueTypeReference(typeReference.Name, typeReference.FullName, typeReference.ModulePath, map(substitute, typeReference.TypeArguments), typeReference.IsStandardLibrary)]);
|
|
981
|
+
}
|
|
982
|
+
case 7:
|
|
983
|
+
return new GlueType(/* Union */ 7, [new GlueTypeUnion(map(substitute, glueType.fields[0].fields[0]))]);
|
|
984
|
+
case 14:
|
|
985
|
+
return new GlueType(/* Array */ 14, [substitute(glueType.fields[0])]);
|
|
986
|
+
case 29:
|
|
987
|
+
return new GlueType(/* ReadOnly */ 29, [substitute(glueType.fields[0])]);
|
|
988
|
+
case 22:
|
|
989
|
+
return new GlueType(/* OptionalType */ 22, [substitute(glueType.fields[0])]);
|
|
990
|
+
case 18:
|
|
991
|
+
return new GlueType(/* TupleType */ 18, [map(substitute, glueType.fields[0])]);
|
|
992
|
+
case 19: {
|
|
993
|
+
const namedTuple = glueType.fields[0];
|
|
994
|
+
return new GlueType(/* NamedTupleType */ 19, [new NamedTupleType(namedTuple.Name, substitute(namedTuple.Type))]);
|
|
995
|
+
}
|
|
996
|
+
case 15: {
|
|
997
|
+
const functionType = glueType.fields[0];
|
|
998
|
+
return new GlueType(/* FunctionType */ 15, [(Parameters = map((parameter) => GlueSubstitution_substituteParameter(substitutions, parameter), functionType.Parameters), new GlueFunctionType(functionType.Documentation, substitute(functionType.Type), List_distinctBy((_arg) => _arg.Name, collect((typeParameter) => {
|
|
999
|
+
const matchValue_1 = tryFind(typeParameter.Name, substitutions);
|
|
1000
|
+
if (matchValue_1 != null) {
|
|
1001
|
+
return map((name_1) => (new GlueTypeParameter(name_1, undefined, undefined)), GlueSubstitution_mentionedTypeParameters(matchValue_1));
|
|
1002
|
+
}
|
|
1003
|
+
else {
|
|
1004
|
+
return singleton(typeParameter);
|
|
1005
|
+
}
|
|
1006
|
+
}, functionType.TypeParameters), {
|
|
1007
|
+
Equals: (x, y) => (x === y),
|
|
1008
|
+
GetHashCode: (x) => (stringHash(x) | 0),
|
|
1009
|
+
}), functionType.OwnTypeParameterNames, Parameters))]);
|
|
1010
|
+
}
|
|
1011
|
+
case 32: {
|
|
1012
|
+
const conditionalType = glueType.fields[0];
|
|
1013
|
+
return new GlueType(/* ConditionalType */ 32, [new GlueConditionalType(substitute(conditionalType.CheckType), substitute(conditionalType.ExtendsType), substitute(conditionalType.TrueType), substitute(conditionalType.FalseType))]);
|
|
1014
|
+
}
|
|
1015
|
+
case 9:
|
|
1016
|
+
return new GlueType(/* KeyOf */ 9, [substitute(glueType.fields[0])]);
|
|
1017
|
+
case 10: {
|
|
1018
|
+
const indexedAccess = glueType.fields[0];
|
|
1019
|
+
return new GlueType(/* IndexedAccessType */ 10, [(ObjectType = substitute(indexedAccess.ObjectType), new GlueIndexedAccessType(substitute(indexedAccess.IndexType), ObjectType))]);
|
|
1020
|
+
}
|
|
1021
|
+
case 20:
|
|
1022
|
+
return new GlueType(/* IntersectionType */ 20, [map((glueMember) => GlueSubstitution_substituteMember(substitutions, glueMember), glueType.fields[0])]);
|
|
1023
|
+
case 21:
|
|
1024
|
+
return new GlueType(/* TypeLiteral */ 21, [new GlueTypeLiteral(map((glueMember_1) => GlueSubstitution_substituteMember(substitutions, glueMember_1), glueType.fields[0].Members))]);
|
|
1025
|
+
default:
|
|
1026
|
+
return glueType;
|
|
1027
|
+
}
|
|
1028
|
+
}
|
|
1029
|
+
|
|
1030
|
+
export function GlueSubstitution_substituteParameter(substitutions, parameter) {
|
|
1031
|
+
return new GlueParameter(parameter.Name, parameter.IsOptional, parameter.IsSpread, GlueSubstitution_substitute(substitutions, parameter.Type));
|
|
1032
|
+
}
|
|
1033
|
+
|
|
1034
|
+
export function GlueSubstitution_substituteMember(substitutions, glueMember) {
|
|
1035
|
+
const substitute = (glueType) => GlueSubstitution_substitute(substitutions, glueType);
|
|
1036
|
+
const parameters = (list) => map((parameter) => GlueSubstitution_substituteParameter(substitutions, parameter), list);
|
|
1037
|
+
switch (glueMember.tag) {
|
|
1038
|
+
case 0: {
|
|
1039
|
+
const info_1 = glueMember.fields[0];
|
|
1040
|
+
return new GlueMember(/* Method */ 0, [new GlueMethod(info_1.Name, info_1.Documentation, info_1.TypeParameters, parameters(info_1.Parameters), substitute(info_1.Type), info_1.IsOptional, info_1.IsStatic)]);
|
|
1041
|
+
}
|
|
1042
|
+
case 6: {
|
|
1043
|
+
const info_2 = glueMember.fields[0];
|
|
1044
|
+
return new GlueMember(/* MethodSignature */ 6, [new GlueMethodSignature(info_2.Name, info_2.Documentation, info_2.TypeParameters, parameters(info_2.Parameters), substitute(info_2.Type))]);
|
|
1045
|
+
}
|
|
1046
|
+
case 2: {
|
|
1047
|
+
const info_3 = glueMember.fields[0];
|
|
1048
|
+
return new GlueMember(/* GetAccessor */ 2, [new GlueGetAccessor(info_3.Name, info_3.Documentation, substitute(info_3.Type), info_3.IsStatic, info_3.IsPrivate)]);
|
|
1049
|
+
}
|
|
1050
|
+
case 3: {
|
|
1051
|
+
const info_4 = glueMember.fields[0];
|
|
1052
|
+
return new GlueMember(/* SetAccessor */ 3, [new GlueSetAccessor(info_4.Name, info_4.Documentation, substitute(info_4.ArgumentType), info_4.IsStatic, info_4.IsPrivate)]);
|
|
1053
|
+
}
|
|
1054
|
+
case 4: {
|
|
1055
|
+
const info_5 = glueMember.fields[0];
|
|
1056
|
+
return new GlueMember(/* CallSignature */ 4, [new GlueCallSignature(info_5.TypeParameters, parameters(info_5.Parameters), substitute(info_5.Type))]);
|
|
1057
|
+
}
|
|
1058
|
+
case 5: {
|
|
1059
|
+
const info_6 = glueMember.fields[0];
|
|
1060
|
+
return new GlueMember(/* IndexSignature */ 5, [new GlueIndexSignature(parameters(info_6.Parameters), substitute(info_6.Type), info_6.IsReadOnly)]);
|
|
1061
|
+
}
|
|
1062
|
+
case 7: {
|
|
1063
|
+
const info_7 = glueMember.fields[0];
|
|
1064
|
+
return new GlueMember(/* ConstructSignature */ 7, [new GlueConstructSignature(parameters(info_7.Parameters), substitute(info_7.Type))]);
|
|
1065
|
+
}
|
|
1066
|
+
default: {
|
|
1067
|
+
const info = glueMember.fields[0];
|
|
1068
|
+
return new GlueMember(/* Property */ 1, [new GlueProperty(info.Name, info.Documentation, substitute(info.Type), info.IsStatic, info.IsOptional, info.Accessor, info.IsPrivate)]);
|
|
1069
|
+
}
|
|
1070
|
+
}
|
|
1071
|
+
}
|
|
1072
|
+
|