@glutinum/cli 0.9.0 → 0.11.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/dist/Glutinum.Converter/FsharpAST.js +57 -17
- package/dist/Glutinum.Converter/FsharpAST.js.map +1 -1
- package/dist/Glutinum.Converter/Generate.js +6 -8
- package/dist/Glutinum.Converter/Generate.js.map +1 -1
- package/dist/Glutinum.Converter/GlueAST.js +100 -23
- package/dist/Glutinum.Converter/GlueAST.js.map +1 -1
- package/dist/Glutinum.Converter/Log.js +5 -5
- package/dist/Glutinum.Converter/Log.js.map +1 -1
- package/dist/Glutinum.Converter/Merge.js +86 -0
- package/dist/Glutinum.Converter/Merge.js.map +1 -0
- package/dist/Glutinum.Converter/Printer.js +153 -73
- package/dist/Glutinum.Converter/Printer.js.map +1 -1
- package/dist/Glutinum.Converter/Read.js +5 -2
- package/dist/Glutinum.Converter/Read.js.map +1 -1
- package/dist/Glutinum.Converter/Reader/ClassDeclaration.js +1 -1
- package/dist/Glutinum.Converter/Reader/Declaration.js +20 -19
- package/dist/Glutinum.Converter/Reader/Declaration.js.map +1 -1
- package/dist/Glutinum.Converter/Reader/EnumDeclaration.js +4 -3
- package/dist/Glutinum.Converter/Reader/EnumDeclaration.js.map +1 -1
- package/dist/Glutinum.Converter/Reader/ExportAssignment.js +1 -1
- package/dist/Glutinum.Converter/Reader/FunctionDeclaration.js +2 -2
- package/dist/Glutinum.Converter/Reader/FunctionDeclaration.js.map +1 -1
- package/dist/Glutinum.Converter/Reader/IndexedAccessType.js +5 -6
- package/dist/Glutinum.Converter/Reader/IndexedAccessType.js.map +1 -1
- package/dist/Glutinum.Converter/Reader/InterfaceDeclaration.js +2 -2
- package/dist/Glutinum.Converter/Reader/InterfaceDeclaration.js.map +1 -1
- package/dist/Glutinum.Converter/Reader/MappedTypeNode.js +42 -0
- package/dist/Glutinum.Converter/Reader/MappedTypeNode.js.map +1 -0
- package/dist/Glutinum.Converter/Reader/NamedTupleMember.js +1 -1
- package/dist/Glutinum.Converter/Reader/Node.js +9 -6
- package/dist/Glutinum.Converter/Reader/Node.js.map +1 -1
- package/dist/Glutinum.Converter/Reader/Parameters.js +7 -4
- package/dist/Glutinum.Converter/Reader/Parameters.js.map +1 -1
- package/dist/Glutinum.Converter/Reader/Report.js +35 -0
- package/dist/Glutinum.Converter/Reader/Report.js.map +1 -0
- package/dist/Glutinum.Converter/Reader/TypeAliasDeclaration.js +5 -0
- package/dist/Glutinum.Converter/Reader/TypeAliasDeclaration.js.map +1 -1
- package/dist/Glutinum.Converter/Reader/TypeNode.js +109 -38
- package/dist/Glutinum.Converter/Reader/TypeNode.js.map +1 -1
- package/dist/Glutinum.Converter/Reader/TypeOperatorNode.js +31 -26
- package/dist/Glutinum.Converter/Reader/TypeOperatorNode.js.map +1 -1
- package/dist/Glutinum.Converter/Reader/TypeQueryNode.js +127 -0
- package/dist/Glutinum.Converter/Reader/TypeQueryNode.js.map +1 -0
- package/dist/Glutinum.Converter/Reader/TypeScriptReader.js +15 -3
- package/dist/Glutinum.Converter/Reader/TypeScriptReader.js.map +1 -1
- package/dist/Glutinum.Converter/Reader/UnionTypeNode.js +6 -9
- package/dist/Glutinum.Converter/Reader/UnionTypeNode.js.map +1 -1
- package/dist/Glutinum.Converter/Reader/Utils.js +11 -14
- package/dist/Glutinum.Converter/Reader/Utils.js.map +1 -1
- package/dist/Glutinum.Converter/Reader/VariableStatement.js +2 -2
- package/dist/Glutinum.Converter/Reader/VariableStatement.js.map +1 -1
- package/dist/Glutinum.Converter/Transform.js +483 -217
- package/dist/Glutinum.Converter/Transform.js.map +1 -1
- package/dist/Glutinum.Converter/TypeScript.Extensions.js +735 -0
- package/dist/Glutinum.Converter/TypeScript.Extensions.js.map +1 -0
- package/dist/Glutinum.Converter/Utils/Naming.js +6 -2
- package/dist/Glutinum.Converter/Utils/Naming.js.map +1 -1
- package/dist/Program.js +2 -2
- package/dist/Program.js.map +1 -1
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/AssemblyInfo.fs +19 -0
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/Async.fs +207 -0
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/Async.fs.js +127 -0
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/Async.fs.js.map +1 -0
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/AsyncOption.fs +81 -0
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/AsyncOptionCE.fs +183 -0
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/AsyncOptionCE.fs.js +37 -0
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/AsyncOptionCE.fs.js.map +1 -0
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/AsyncOptionOp.fs +24 -0
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/AsyncResult.fs +439 -0
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/AsyncResultCE.fs +217 -0
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/AsyncResultCE.fs.js +18 -0
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/AsyncResultCE.fs.js.map +1 -0
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/AsyncResultOp.fs +24 -0
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/AsyncResultOption.fs +75 -0
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/AsyncResultOption.fs.js +26 -0
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/AsyncResultOption.fs.js.map +1 -0
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/AsyncResultOptionCE.fs +238 -0
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/AsyncResultOptionCE.fs.js +18 -0
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/AsyncResultOptionCE.fs.js.map +1 -0
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/AsyncResultOptionOp.fs +24 -0
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/AsyncValidation.fs +190 -0
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/AsyncValidationCE.fs +194 -0
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/AsyncValidationCE.fs.js +18 -0
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/AsyncValidationCE.fs.js.map +1 -0
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/AsyncValidationOp.fs +35 -0
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/FsToolkit.ErrorHandling.fableproj +51 -0
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/List.fs +218 -0
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/List.fs.js +358 -0
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/List.fs.js.map +1 -0
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/Option.fs +331 -0
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/OptionCE.fs +186 -0
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/OptionCE.fs.js +18 -0
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/OptionCE.fs.js.map +1 -0
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/OptionOp.fs +21 -0
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/Result.fs +644 -0
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/Result.fs.js +45 -0
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/Result.fs.js.map +1 -0
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/ResultCE.fs +155 -0
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/ResultCE.fs.js +23 -0
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/ResultCE.fs.js.map +1 -0
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/ResultOp.fs +45 -0
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/ResultOption.fs +201 -0
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/ResultOption.fs.js +65 -0
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/ResultOption.fs.js.map +1 -0
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/ResultOptionCE.fs +146 -0
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/ResultOptionCE.fs.js +18 -0
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/ResultOptionCE.fs.js.map +1 -0
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/ResultOptionOp.fs +57 -0
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/Seq.fs +19 -0
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/Seq.fs.js +31 -0
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/Seq.fs.js.map +1 -0
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/Shims.fs +22 -0
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/Shims.fs.js +18 -0
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/Shims.fs.js.map +1 -0
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/Validation.fs +172 -0
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/ValidationCE.fs +148 -0
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/ValidationCE.fs.js +18 -0
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/ValidationCE.fs.js.map +1 -0
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/ValidationOp.fs +35 -0
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/ValueOption.fs +151 -0
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/ValueOptionCE.fs +165 -0
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/obj/Debug/netstandard2.1/.NETStandard,Version=v2.1.AssemblyAttributes.fs +3 -0
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/obj/Debug/netstandard2.1/FsToolkit.ErrorHandling.AssemblyInfo.fs +20 -0
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/obj/Release/netstandard2.0/.NETStandard,Version=v2.0.AssemblyAttributes.fs +3 -0
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/obj/Release/netstandard2.0/FsToolkit.ErrorHandling.AssemblyInfo.fs +20 -0
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/obj/Release/netstandard2.1/.NETStandard,Version=v2.1.AssemblyAttributes.fs +3 -0
- package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/obj/Release/netstandard2.1/FsToolkit.ErrorHandling.AssemblyInfo.fs +20 -0
- package/dist/fable_modules/project_cracked.json +1 -1
- package/package.json +3 -2
- package/src/Glutinum.Converter/js/bootstrap.js +16 -0
|
@@ -27,7 +27,7 @@ export function readExportAssignment(reader, exportNode) {
|
|
|
27
27
|
else {
|
|
28
28
|
typ = (($007CHasTypeFlags$007C_$007C(4, matchValue_1) != null) ? (new GlueType(3, [new GluePrimitive(0, [])])) : (($007CHasTypeFlags$007C_$007C(8, matchValue_1) != null) ? (new GlueType(3, [new GluePrimitive(5, [])])) : (($007CHasTypeFlags$007C_$007C(16, matchValue_1) != null) ? (new GlueType(3, [new GluePrimitive(3, [])])) : (($007CHasTypeFlags$007C_$007C(1, matchValue_1) != null) ? (new GlueType(3, [new GluePrimitive(6, [])])) : (($007CHasTypeFlags$007C_$007C(16384, matchValue_1) != null) ? (new GlueType(3, [new GluePrimitive(4, [])])) : (new GlueType(3, [new GluePrimitive(6, [])])))))));
|
|
29
29
|
}
|
|
30
|
-
return new GlueType(
|
|
30
|
+
return new GlueType(24, [new GlueType(2, [new GlueVariable(reader["Glutinum.Converter.Reader.Types.ITypeScriptReader.ReadDocumentationFromNode6C0FD055"](exportNode), identiferNode.getText(), typ)])]);
|
|
31
31
|
}
|
|
32
32
|
else {
|
|
33
33
|
return new GlueType(0, []);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { exists } from "../../fable_modules/fable-library-js.4.14.0/Seq.js";
|
|
2
|
-
import {
|
|
2
|
+
import { Report_readerError_Z19516DCE } from "./Report.js";
|
|
3
3
|
import { GlueFunctionDeclaration } from "../GlueAST.js";
|
|
4
4
|
|
|
5
5
|
export function readFunctionDeclaration(reader, declaration) {
|
|
@@ -9,7 +9,7 @@ export function readFunctionDeclaration(reader, declaration) {
|
|
|
9
9
|
let name_1;
|
|
10
10
|
const matchValue_1 = declaration.name;
|
|
11
11
|
if (matchValue_1 == null) {
|
|
12
|
-
throw new Error(
|
|
12
|
+
throw new Error(Report_readerError_Z19516DCE("function declaration", "Missing name", declaration, "/Users/mmangel/Workspaces/Github/glutinum-org/Glutinum.Converter/src/Glutinum.Converter/Reader/FunctionDeclaration.fs", 27));
|
|
13
13
|
}
|
|
14
14
|
else {
|
|
15
15
|
const name = matchValue_1;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/Glutinum.Converter/Reader/FunctionDeclaration.fs"],"names":["isDeclared","matchValue","declaration","modifier","name","reader"],"mappings":";;;;;
|
|
1
|
+
{"version":3,"sources":["../../../src/Glutinum.Converter/Reader/FunctionDeclaration.fs"],"names":["isDeclared","matchValue","declaration","modifier","name","reader"],"mappings":";;;;;AAaQA;AACMC,uBAAA,AAAAC;AAAA,AADNF,kBACM,CAAA,AAAAC,sBAMI,QAHH,sBACC,AAAAE,kBAAgB,MAFpBF;AAMJG;AACMH,yBAAA,AAAAC;AAAA,QAAA,AAAAD;AAQC,wBALH,6BACI,wBACA,gBACAC,aAHJ,yHAAA;;;AAFGE,qBAAQH;AAAA,AAFfG,iBAEe,AAAAA;;AASnB,WAAA,4BACoB,AAAAC,mGAAsCH,cACzCF,YACNI,QACA,AAAAC,kFAAoB,AAAAH,mBACd,AAAAG,oFAAsB,AAAAH,yBAClB,AAAAG,uFAA0B,AAAAH","file":null,"sourcesContent":null,"sourceRoot":null}
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { GlueType } from "../GlueAST.js";
|
|
1
|
+
import { Report_readerError_Z19516DCE } from "./Report.js";
|
|
2
|
+
import { TypeScript_Ts_SyntaxKind__SyntaxKind_get_Name } from "../TypeScript.Extensions.js";
|
|
3
|
+
import { GlueIndexedAccessType, GlueType } from "../GlueAST.js";
|
|
4
4
|
|
|
5
5
|
export function readIndexedAccessType(reader, declaration) {
|
|
6
|
-
let matchValue, typeOperatorNode, warning;
|
|
7
|
-
|
|
8
|
-
return new GlueType(10, [(matchValue = (nodeType.kind | 0), (matchValue === 198) ? ((typeOperatorNode = declaration.indexType, reader["Glutinum.Converter.Reader.Types.ITypeScriptReader.ReadTypeOperatorNodeZ6830FC33"](typeOperatorNode))) : ((warning = generateReaderError("readIndexedAccessType", toText(interpolate("Unsupported node kind %A%P()", [matchValue])), nodeType), (void (reader["Glutinum.Converter.Reader.Types.ITypeScriptReader.get_Warnings"]().push(warning)), new GlueType(0, [])))))]);
|
|
6
|
+
let idxNodeType, matchValue, numberKeywordNode, typeOperatorNode, warning, objNodeType, matchValue_1, pType, warning_1;
|
|
7
|
+
return new GlueType(10, [new GlueIndexedAccessType((idxNodeType = declaration.indexType, (matchValue = (idxNodeType.kind | 0), (matchValue === 150) ? ((numberKeywordNode = declaration.indexType, reader["Glutinum.Converter.Reader.Types.ITypeScriptReader.ReadTypeNode24A678AD"](numberKeywordNode))) : ((matchValue === 198) ? ((typeOperatorNode = declaration.indexType, reader["Glutinum.Converter.Reader.Types.ITypeScriptReader.ReadTypeOperatorNodeZ6830FC33"](typeOperatorNode))) : ((warning = Report_readerError_Z19516DCE("readIndexedAccessType", `Unsupported node kind ${TypeScript_Ts_SyntaxKind__SyntaxKind_get_Name(matchValue)}`, idxNodeType, "/Users/mmangel/Workspaces/Github/glutinum-org/Glutinum.Converter/src/Glutinum.Converter/Reader/IndexedAccessType.fs", 27), (void (reader["Glutinum.Converter.Reader.Types.ITypeScriptReader.get_Warnings"]().push(warning)), new GlueType(0, []))))))), (objNodeType = declaration.objectType, (matchValue_1 = (objNodeType.kind | 0), (matchValue_1 === 196) ? ((pType = declaration.objectType, reader["Glutinum.Converter.Reader.Types.ITypeScriptReader.ReadTypeNode24A678AD"](pType))) : ((warning_1 = Report_readerError_Z19516DCE("readIndexedAccessType", `Unsupported node kind ${TypeScript_Ts_SyntaxKind__SyntaxKind_get_Name(matchValue_1)}`, objNodeType, "/Users/mmangel/Workspaces/Github/glutinum-org/Glutinum.Converter/src/Glutinum.Converter/Reader/IndexedAccessType.fs", 47), (void (reader["Glutinum.Converter.Reader.Types.ITypeScriptReader.get_Warnings"]().push(warning_1)), new GlueType(0, [])))))))]);
|
|
9
8
|
}
|
|
10
9
|
|
|
11
10
|
//# sourceMappingURL=IndexedAccessType.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/Glutinum.Converter/Reader/IndexedAccessType.fs"],"names":["matchValue","typeOperatorNode","warning","
|
|
1
|
+
{"version":3,"sources":["../../../src/Glutinum.Converter/Reader/IndexedAccessType.fs"],"names":["idxNodeType","matchValue","numberKeywordNode","typeOperatorNode","warning","objNodeType","pType","declaration","reader"],"mappings":";;;;;QAaYA,aAEEC,YAMEC,mBAJAC,kBAQAC,SAYJC,aAEEJ,cAEEK,OAIAF;WAWZ,kBACI,2BA5CIJ,cAAc,AAAAO,wBAEZN,cAAA,AAAAD,uBAAA,CAAA,AAAAC,eAAA,SAMEC,oBAAoB,AAAAK,uBACxB,AAAAC,iFAAoBN,wBAPlB,CAAA,AAAAD,eAAA,SAEEE,mBAAmB,AAAAI,uBACvB,AAAAC,0FAA4BL,wBAOxBC,UACA,6BACI,yBACA,yBAAyB,8CAH7BH,eAIID,aAHJ,uHAAA,MAMJ,MAAA,AAAAQ,gFAAoBJ,WAEpB,4BAGAC,cAAc,AAAAE,yBAEZN,gBAAA,AAAAI,uBAAA,CAAA,AAAAJ,iBAAA,SAEEK,QAAQ,AAAAC,wBACZ,AAAAC,iFAAoBF,aAGhBF,YACA,6BACI,yBACA,yBAA2B,8CAH/BH,iBAIII,aAHJ,uHAAA,MAMJ,MAAA,AAAAG,gFAAoBJ,aAEpB","file":null,"sourcesContent":null,"sourceRoot":null}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { map } from "../../fable_modules/fable-library-js.4.14.0/List.js";
|
|
2
2
|
import { toList } from "../../fable_modules/fable-library-js.4.14.0/Seq.js";
|
|
3
|
-
import { readHeritageClauses } from "./Utils.js";
|
|
3
|
+
import { readHeritageClauses, getFullNameOrEmpty } from "./Utils.js";
|
|
4
4
|
import { GlueInterface } from "../GlueAST.js";
|
|
5
5
|
|
|
6
6
|
export function readInterfaceDeclaration(reader, declaration) {
|
|
7
7
|
const members = map((declaration_1) => reader["Glutinum.Converter.Reader.Types.ITypeScriptReader.ReadDeclaration61B89E55"](declaration_1), toList(declaration.members));
|
|
8
|
-
return new GlueInterface(declaration.name.getText(), members, reader["Glutinum.Converter.Reader.Types.ITypeScriptReader.ReadTypeParameters4088FB9E"](declaration.typeParameters), readHeritageClauses(reader, declaration.heritageClauses));
|
|
8
|
+
return new GlueInterface(getFullNameOrEmpty(reader["Glutinum.Converter.Reader.Types.ITypeScriptReader.get_checker"](), declaration), declaration.name.getText(), members, reader["Glutinum.Converter.Reader.Types.ITypeScriptReader.ReadTypeParameters4088FB9E"](declaration.typeParameters), readHeritageClauses(reader, declaration.heritageClauses));
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
//# sourceMappingURL=InterfaceDeclaration.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/Glutinum.Converter/Reader/InterfaceDeclaration.fs"],"names":["members","reader","declaration"],"mappings":";;;;;;AAYQA,oBACqC,uBAAS,AAAAC,oFAAAC,gBAAvB,OAAvB,AAAAA;AAEJ,WAAA,
|
|
1
|
+
{"version":3,"sources":["../../../src/Glutinum.Converter/Reader/InterfaceDeclaration.fs"],"names":["members","reader","declaration"],"mappings":";;;;;;AAYQA,oBACqC,uBAAS,AAAAC,oFAAAC,gBAAvB,OAAvB,AAAAA;AAEJ,WAAA,kBACe,mBAAyB,AAAAD,2EAAeC,cAC5C,AAAAA,4BACGF,SACO,AAAAC,uFAA0B,AAAAC,6BAEvC,oBAA0BD,QAAO,AAAAC","file":null,"sourcesContent":null,"sourceRoot":null}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { FSharpResult$2 } from "../../fable_modules/fable-library-js.4.14.0/Result.js";
|
|
2
|
+
import { Report_readerError_Z19516DCE } from "./Report.js";
|
|
3
|
+
import { head, tail, isEmpty, length } from "../../fable_modules/fable-library-js.4.14.0/List.js";
|
|
4
|
+
import { GlueType, GlueMappedType } from "../GlueAST.js";
|
|
5
|
+
|
|
6
|
+
export function readMappedTypeNode(reader, mappedTypeNode) {
|
|
7
|
+
let input_1, node;
|
|
8
|
+
let _arg_1;
|
|
9
|
+
let input_2;
|
|
10
|
+
const typeParameters = reader["Glutinum.Converter.Reader.Types.ITypeScriptReader.ReadTypeParameters4088FB9E"]([mappedTypeNode.typeParameter]);
|
|
11
|
+
let matchResult, tp;
|
|
12
|
+
if (!isEmpty(typeParameters)) {
|
|
13
|
+
if (isEmpty(tail(typeParameters))) {
|
|
14
|
+
matchResult = 0;
|
|
15
|
+
tp = head(typeParameters);
|
|
16
|
+
}
|
|
17
|
+
else {
|
|
18
|
+
matchResult = 1;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
else {
|
|
22
|
+
matchResult = 1;
|
|
23
|
+
}
|
|
24
|
+
switch (matchResult) {
|
|
25
|
+
case 0: {
|
|
26
|
+
input_2 = (new FSharpResult$2(0, [tp]));
|
|
27
|
+
break;
|
|
28
|
+
}
|
|
29
|
+
default:
|
|
30
|
+
input_2 = (new FSharpResult$2(1, [Report_readerError_Z19516DCE("readMappedTypeNode", `Expected exactly one type parameter but was ${length(typeParameters)}`, mappedTypeNode, "/Users/mmangel/Workspaces/Github/glutinum-org/Glutinum.Converter/src/Glutinum.Converter/Reader/MappedTypeNode.fs", 24)]));
|
|
31
|
+
}
|
|
32
|
+
_arg_1 = ((input_2.tag === 1) ? (new FSharpResult$2(1, [input_2.fields[0]])) : (new FSharpResult$2(0, [new GlueType(27, [new GlueMappedType(input_2.fields[0], (input_1 = mappedTypeNode.type, (input_1 == null) ? void 0 : ((node = input_1, reader["Glutinum.Converter.Reader.Types.ITypeScriptReader.ReadNode6C0FD055"](node)))))])])));
|
|
33
|
+
if (_arg_1.tag === 1) {
|
|
34
|
+
void (reader["Glutinum.Converter.Reader.Types.ITypeScriptReader.get_Warnings"]().push(_arg_1.fields[0]));
|
|
35
|
+
return new GlueType(0, []);
|
|
36
|
+
}
|
|
37
|
+
else {
|
|
38
|
+
return _arg_1.fields[0];
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
//# sourceMappingURL=MappedTypeNode.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../fable_modules/FsToolkit.ErrorHandling.4.16.0/Option.fs","../../../src/Glutinum.Converter/Reader/MappedTypeNode.fs","../../fable_modules/FsToolkit.ErrorHandling.4.16.0/Result.fs"],"names":["input","node","_arg2","typeParameters","reader","mappedTypeNode","tp"],"mappings":";;;;;;QAoCSA,SCHoDC;AAItDC;ACnBEF;ADHOG,2BACA,AAAAC,wFACuB,AAAAC;qBAIvBC;AADE,QAAA,CAAA,QAAAH;AAAA,YAAA,QAAA,KACJA;;AAAEG,iBADE,KACJH;;;;;;;;;;;AAAU,ACHfH,uBDGe,uBAAGM;;;;AAOR,ACVVN,uBDUU,uBALH,6BACI,sBACA,\u002BCAA\u002BC,OAAYG,mBAC3DE,gBAHJ,oHAAA;;ACHF,ADiBPH,cCjBO,CAAA,AAAAF,sBAEO,uBAAA,AAAAA,wBADH,uBDcH,kBAJH,mBCVM,AAAAA,oBFeTA,UCHc,AAAAK,qBDKT,CAAA,AAAAL,mBAEI,WCP2CC,ODMzCD,SCNyC,AAAAI,6EAAAH;AAItD,QAAA,AAAAC;AAGK,cAAA,AAAAE,gFAAA,AAAAF;AACA,eAAA;;;AAHa,eAAA,AAAAA","file":null,"sourcesContent":null,"sourceRoot":null}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { GlueType, NamedTupleType } from "../GlueAST.js";
|
|
2
2
|
|
|
3
3
|
export function readNamedTupleMember(reader, declaration) {
|
|
4
|
-
return new GlueType(
|
|
4
|
+
return new GlueType(19, [new NamedTupleType(declaration.name.getText(), reader["Glutinum.Converter.Reader.Types.ITypeScriptReader.ReadTypeNode24A678AD"](declaration.type))]);
|
|
5
5
|
}
|
|
6
6
|
|
|
7
7
|
//# sourceMappingURL=NamedTupleMember.js.map
|
|
@@ -1,16 +1,21 @@
|
|
|
1
1
|
import { map } from "../../fable_modules/fable-library-js.4.14.0/List.js";
|
|
2
2
|
import { toList } from "../../fable_modules/fable-library-js.4.14.0/Seq.js";
|
|
3
3
|
import { GlueType, GlueTypeLiteral } from "../GlueAST.js";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
4
|
+
import { Report_readerError_Z19516DCE } from "./Report.js";
|
|
5
|
+
import { TypeScript_Ts_SyntaxKind__SyntaxKind_get_Name } from "../TypeScript.Extensions.js";
|
|
6
6
|
|
|
7
7
|
export function readNode(reader, node) {
|
|
8
8
|
const matchValue = node.kind | 0;
|
|
9
9
|
switch (matchValue) {
|
|
10
|
+
case 136:
|
|
11
|
+
return reader["Glutinum.Converter.Reader.Types.ITypeScriptReader.ReadTypeNode24A678AD"](node);
|
|
10
12
|
case 187: {
|
|
11
13
|
const typeLiteralNode = node;
|
|
12
|
-
return new GlueType(
|
|
14
|
+
return new GlueType(21, [new GlueTypeLiteral(map((declaration) => reader["Glutinum.Converter.Reader.Types.ITypeScriptReader.ReadDeclaration61B89E55"](declaration), toList(typeLiteralNode.members)))]);
|
|
13
15
|
}
|
|
16
|
+
case 242:
|
|
17
|
+
case 278:
|
|
18
|
+
return new GlueType(0, []);
|
|
14
19
|
case 243:
|
|
15
20
|
return reader["Glutinum.Converter.Reader.Types.ITypeScriptReader.ReadVariableStatementZ66C4BA0A"](node);
|
|
16
21
|
case 262:
|
|
@@ -29,10 +34,8 @@ export function readNode(reader, node) {
|
|
|
29
34
|
return new GlueType(0, []);
|
|
30
35
|
case 277:
|
|
31
36
|
return reader["Glutinum.Converter.Reader.Types.ITypeScriptReader.ReadExportAssignmentZ3497D0FE"](node);
|
|
32
|
-
case 278:
|
|
33
|
-
return new GlueType(0, []);
|
|
34
37
|
default: {
|
|
35
|
-
const warning =
|
|
38
|
+
const warning = Report_readerError_Z19516DCE("node", `Unsupported node kind ${TypeScript_Ts_SyntaxKind__SyntaxKind_get_Name(matchValue)}`, node, "/Users/mmangel/Workspaces/Github/glutinum-org/Glutinum.Converter/src/Glutinum.Converter/Reader/Node.fs", 55);
|
|
36
39
|
void (reader["Glutinum.Converter.Reader.Types.ITypeScriptReader.get_Warnings"]().push(warning));
|
|
37
40
|
return new GlueType(0, []);
|
|
38
41
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/Glutinum.Converter/Reader/Node.fs"],"names":["matchValue","node","
|
|
1
|
+
{"version":3,"sources":["../../../src/Glutinum.Converter/Reader/Node.fs"],"names":["matchValue","node","reader","typeLiteralNode","declaration","warning"],"mappings":";;;;;;;AAOUA,uBAAA,AAAAC;YAAAD;aAAA;AA2C4B,mBAAA,AAAAE,iFAAoBD;aA3ChD;AA\u002BBEE,oCAAkBF;AAOsB,mBAAA,kBAA3C,oBAFM,qBAAS,AAAAC,oFAAAE,cADT,OADH,AAAAD;;aAlCF;aAAA;AAyC4B,mBAAA;aAzC5B;AAWF,mBAAA,AAAAD,2FAA6BD;aAX3B;AAcF,mBAAA,AAAAC,6FAA\u002BBD;aAd7B;AAoBF,mBAAA,AAAAC,0FAA4BD;aApB1B;AAQF,mBAAA,AAAAC,6FAAgCD;aAR9B;AAKF,mBAAA,AAAAC,8FAAgCD;aAL9B;AAEF,mBAAA,AAAAC,wFAA2BD;aAFzB;AAiBF,mBAAA,AAAAC,yFAA6BD;aAjB3B;AA4BF,mBAAA;aA5BE;AAuBF,mBAAA,AAAAC,0FAA4BD;;AAuBxBI,4BACA,6BACI,QACA,yBAA2B,8CAH/BL,eAIIC,MAHJ,0GAAA;AAMJ,kBAAA,AAAAC,gFAAoBG;AAEpB,mBAAA","file":null,"sourcesContent":null,"sourceRoot":null}
|
|
@@ -1,11 +1,14 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { mapIndexed } from "../../fable_modules/fable-library-js.4.14.0/List.js";
|
|
2
|
+
import { Report_readerError_Z19516DCE } from "./Report.js";
|
|
3
|
+
import { TypeScript_Ts_SyntaxKind__SyntaxKind_get_Name } from "../TypeScript.Extensions.js";
|
|
2
4
|
import { GlueParameter } from "../GlueAST.js";
|
|
3
5
|
import { toList } from "../../fable_modules/fable-library-js.4.14.0/Seq.js";
|
|
4
6
|
|
|
5
7
|
export function readParameters(reader, parameters) {
|
|
6
|
-
return
|
|
7
|
-
|
|
8
|
-
|
|
8
|
+
return mapIndexed((index, parameter) => {
|
|
9
|
+
let matchValue, name, item, objectArg;
|
|
10
|
+
const nameNode = parameter.name;
|
|
11
|
+
return new GlueParameter((matchValue = (nameNode.kind | 0), (matchValue === 80) ? ((name = nameNode, name.getText())) : ((matchValue === 206) ? (`arg${index}`) : (((item = Report_readerError_Z19516DCE("name", `Unsupported kind ${TypeScript_Ts_SyntaxKind__SyntaxKind_get_Name(nameNode.kind)}`, nameNode, "/Users/mmangel/Workspaces/Github/glutinum-org/Glutinum.Converter/src/Glutinum.Converter/Reader/Parameters.fs", 24), (objectArg = reader["Glutinum.Converter.Reader.Types.ITypeScriptReader.get_Warnings"](), void (objectArg.push(item)))), `arg${index}`)))), parameter.questionToken != null, parameter.dotDotDotToken != null, reader["Glutinum.Converter.Reader.Types.ITypeScriptReader.ReadTypeNodeZ64B23DD2"](parameter.type));
|
|
9
12
|
}, toList(parameters));
|
|
10
13
|
}
|
|
11
14
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/Glutinum.Converter/Reader/Parameters.fs"],"names":["name","parameter","reader","parameters"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../../../src/Glutinum.Converter/Reader/Parameters.fs"],"names":["matchValue","name","item","objectArg","nameNode","parameter","index","reader","parameters"],"mappings":";;;;;;;WAaO;YAIWA,YAEEC,MASDC,MAAAC;AAdPC,yBAA0B,AAAAC;AAkB9B,eAAA,mBAfUL,cAAA,AAAAI,oBAAA,CAAA,AAAAJ,eAAA,QAEEC,OAAOG,UACX,AAAAH,oBAHE,CAAA,AAAAD,eAAA,QAIkC,MAAQM,cAOzCJ,OALH,6BACI,QACA,oBAAsB,8CAAA,AAAAE,kBACtBA,UAHJ,gHAAA,MAKGD,YAAA,AAAAI,4EAAA,MAAAJ,eAAAD,UAEH,MAAQI,aAIC,AAAAD,iCACF,AAAAA,kCACJ,AAAAE,kFAAoB,AAAAF;OAxBhC,OADHG","file":null,"sourcesContent":null,"sourceRoot":null}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { class_type } from "../../fable_modules/fable-library-js.4.14.0/Reflection.js";
|
|
2
|
+
import { substring, interpolate, toText, replace } from "../../fable_modules/fable-library-js.4.14.0/String.js";
|
|
3
|
+
|
|
4
|
+
export class Report {
|
|
5
|
+
constructor() {
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
export function Report_$reflection() {
|
|
10
|
+
return class_type("Glutinum.Converter.Reader.Report.Report", void 0, Report);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export function Report_readerError_Z19516DCE(errorContext, reason, node, filePath = "", fileLine = 0) {
|
|
14
|
+
const errorOrigin = replace(toText(interpolate("%s%P()(%d%P())", ["./" + substring(filePath, filePath.indexOf("src/Glutinum.Converter")), fileLine])), "\\", "/");
|
|
15
|
+
const sourceFile = node.getSourceFile();
|
|
16
|
+
if (sourceFile == null) {
|
|
17
|
+
return `${errorOrigin}: Error while reading ${errorContext} from:
|
|
18
|
+
(source file not available for report)
|
|
19
|
+
|
|
20
|
+
${reason}`;
|
|
21
|
+
}
|
|
22
|
+
else {
|
|
23
|
+
const lineAndChar = sourceFile.getLineAndCharacterOfPosition(node.pos);
|
|
24
|
+
const line = (~~lineAndChar.line + 1) | 0;
|
|
25
|
+
const column = (~~lineAndChar.character + 1) | 0;
|
|
26
|
+
const typeFileName = replace(sourceFile.fileName, "\\", "/");
|
|
27
|
+
const parentText = (node.parent == null) ? "" : (`
|
|
28
|
+
--- Parent text ---
|
|
29
|
+
${node.parent.getFullText()}
|
|
30
|
+
---`);
|
|
31
|
+
return toText(interpolate("%s%P(): Error while reading %s%P() from:\n%s%P()(%d%P(),%d%P())\n\n%s%P()\n\n--- Text ---\n%s%P()\n---%s%P()", [errorOrigin, errorContext, typeFileName, line, column, reason, node.getFullText(), parentText]));
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
//# sourceMappingURL=Report.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/Glutinum.Converter/Reader/Report.fs"],"names":["errorOrigin","filePath","fileLine","sourceFile","node","errorContext","reason","lineAndChar","line","column","typeFileName","parentText"],"mappings":";;;;;;;;;;;;;AAsBYA,wBAKA,QAAA,OAAA,YAAA,mBAFI,OAAO,UAAAC,UADK,AAAAA,iBAAiB,4BAGfC,aAAoB,MAAM;AAE5CC,uBAAa,AAAAC;AAEjB,QAAG,AAAOD;eACN,GAAOH,oCAAqCK,8DAGrDC;;;AAEaC,4BAAc,AAAAJ,yCAAyC,AAAAC;AACvDI,sBAAO,EAAI,AAAAD,mBAAmB;AAC9BE,wBAAS,EAAI,AAAAF,wBAAwB;AACrCG,6BAAe,QAAA,AAAAP,qBAA4B,MAAM;AAEjDQ,2BACA,CAAG,AAAO,AAAAP,uBACN,MAEA,wBAEjB,AAAAA;AAGS,eAAA,OAAA,YAAA,iHAAOJ,aAAqCK,cACrDK,cAAiBF,MAASC,QAE1BH,QAGA,AAAAF,oBACGO","file":null,"sourcesContent":null,"sourceRoot":null}
|
|
@@ -19,6 +19,11 @@ export function readTypeAliasDeclaration(reader, declaration) {
|
|
|
19
19
|
typ = reader["Glutinum.Converter.Reader.Types.ITypeScriptReader.ReadIndexedAccessTypeZ5577BC0A"](declaration_1);
|
|
20
20
|
break;
|
|
21
21
|
}
|
|
22
|
+
case 200: {
|
|
23
|
+
const mappedTypeNode = declaration.type;
|
|
24
|
+
typ = reader["Glutinum.Converter.Reader.Types.ITypeScriptReader.ReadMappedTypeNode28272C00"](mappedTypeNode);
|
|
25
|
+
break;
|
|
26
|
+
}
|
|
22
27
|
default:
|
|
23
28
|
typ = reader["Glutinum.Converter.Reader.Types.ITypeScriptReader.ReadTypeNode24A678AD"](declaration.type);
|
|
24
29
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/Glutinum.Converter/Reader/TypeAliasDeclaration.fs"],"names":["typ","matchValue","declaration","unionTypeNode","reader","typeOperatorNode"],"mappings":";;;AAYQA;AACMC,uBAAA,AAAAC;YAAAD;aAAA;AAEEE,kCAAgB,AAAAD;AAEpB,AALJF,kBAKI,AAAAI,uFAAyBD;;;aAJvB;AAOEE,qCAAmB,AAAAH;AACvB,AATJF,kBASI,AAAAI,0FAA4BC;;;aAR1B;AAWEH,kCAAc,AAAAA;AAClB,AAbJF,kBAaI,AAAAI,2FAA6BF;;;;
|
|
1
|
+
{"version":3,"sources":["../../../src/Glutinum.Converter/Reader/TypeAliasDeclaration.fs"],"names":["typ","matchValue","declaration","unionTypeNode","reader","typeOperatorNode","mappedTypeNode"],"mappings":";;;AAYQA;AACMC,uBAAA,AAAAC;YAAAD;aAAA;AAEEE,kCAAgB,AAAAD;AAEpB,AALJF,kBAKI,AAAAI,uFAAyBD;;;aAJvB;AAOEE,qCAAmB,AAAAH;AACvB,AATJF,kBASI,AAAAI,0FAA4BC;;;aAR1B;AAWEH,kCAAc,AAAAA;AAClB,AAbJF,kBAaI,AAAAI,2FAA6BF;;;aAZ3B;AAeEI,mCAAiB,AAAAJ;AACrB,AAjBJF,kBAiBI,AAAAI,uFAA0BE;;;;AAEvB,AAnBPN,kBAmBO,AAAAI,iFAAoB,AAAAF;;AAQ5B,WAAA,iBANH,6BACoB,AAAAE,8FAAiCF,cAC1C,AAAAA,4BACAF,KACU,AAAAI,uFAA0B,AAAAF","file":null,"sourcesContent":null,"sourceRoot":null}
|
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
import { Union } from "../../fable_modules/fable-library-js.4.14.0/Types.js";
|
|
2
2
|
import { union_type, class_type } from "../../fable_modules/fable-library-js.4.14.0/Reflection.js";
|
|
3
|
-
import { tryReadLiteral,
|
|
4
|
-
import { GlueTypeLiteral, GlueFunctionType, GlueTypeReference, GlueRecord, GlueInterface, GlueTypeUnion, GlueLiteral, GlueClassDeclaration, GlueType, GluePrimitive } from "../GlueAST.js";
|
|
3
|
+
import { tryReadLiteral, isFromEs5Lib, $007CHasSymbolFlags$007C_$007C, readTypeArguments, getFullNameOrEmpty, $007CHasTypeFlags$007C_$007C } from "./Utils.js";
|
|
4
|
+
import { GlueThisType, GlueTypeLiteral, GlueFunctionType, GlueTypeReference, GlueRecord, GlueUtilityType, GlueInterface, GlueTypeUnion, GlueLiteral, GlueClassDeclaration, GlueType, GluePrimitive } from "../GlueAST.js";
|
|
5
5
|
import { exists, concat, item as item_1, map, choose, empty } from "../../fable_modules/fable-library-js.4.14.0/List.js";
|
|
6
6
|
import { head, toList } from "../../fable_modules/fable-library-js.4.14.0/Seq.js";
|
|
7
7
|
import { value as value_2 } from "../../fable_modules/fable-library-js.4.14.0/Option.js";
|
|
8
|
+
import { Report_readerError_Z19516DCE } from "./Report.js";
|
|
9
|
+
import { readTypeQueryNode } from "./TypeQueryNode.js";
|
|
8
10
|
import { List_distinct } from "../../fable_modules/fable-library-js.4.14.0/Seq2.js";
|
|
9
11
|
import { structuralHash, equals } from "../../fable_modules/fable-library-js.4.14.0/Util.js";
|
|
10
|
-
import {
|
|
12
|
+
import { TypeScript_Ts_SyntaxKind__SyntaxKind_get_Name } from "../TypeScript.Extensions.js";
|
|
11
13
|
|
|
12
14
|
class IntersectionTypePropertyResult extends Union {
|
|
13
15
|
constructor(tag, fields) {
|
|
@@ -94,7 +96,7 @@ export function UtilityType_readPartial(reader, typeReferenceNode) {
|
|
|
94
96
|
else {
|
|
95
97
|
const symbol = aliasTypeArguments[0].symbol;
|
|
96
98
|
if ((symbol == null) ? true : (symbol.members == null)) {
|
|
97
|
-
return new GlueType(
|
|
99
|
+
return new GlueType(23, []);
|
|
98
100
|
}
|
|
99
101
|
else {
|
|
100
102
|
const patternInput = head(value_2(symbol.members).entries());
|
|
@@ -102,7 +104,7 @@ export function UtilityType_readPartial(reader, typeReferenceNode) {
|
|
|
102
104
|
if (originalType.kind === 264) {
|
|
103
105
|
const interfaceDeclaration = originalType;
|
|
104
106
|
const members = map((declaration) => reader["Glutinum.Converter.Reader.Types.ITypeScriptReader.ReadDeclaration61B89E55"](declaration), toList(interfaceDeclaration.members));
|
|
105
|
-
return new GlueType(
|
|
107
|
+
return new GlueType(26, [new GlueUtilityType(0, [new GlueInterface(getFullNameOrEmpty(reader["Glutinum.Converter.Reader.Types.ITypeScriptReader.get_checker"](), originalType), interfaceDeclaration.name.getText(), members, empty(), empty())])]);
|
|
106
108
|
}
|
|
107
109
|
else {
|
|
108
110
|
return new GlueType(0, []);
|
|
@@ -117,7 +119,31 @@ export function UtilityType_readPartial(reader, typeReferenceNode) {
|
|
|
117
119
|
|
|
118
120
|
export function UtilityType_readRecord(reader, typeReferenceNode) {
|
|
119
121
|
const typeArguments = readTypeArguments(reader, typeReferenceNode);
|
|
120
|
-
return new GlueType(
|
|
122
|
+
return new GlueType(26, [new GlueUtilityType(1, [new GlueRecord(item_1(0, typeArguments), item_1(1, typeArguments))])]);
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
export function UtilityType_readReturnType(reader, typeReferenceNode) {
|
|
126
|
+
const typ = reader["Glutinum.Converter.Reader.Types.ITypeScriptReader.get_checker"]().getTypeFromTypeNode(typeReferenceNode);
|
|
127
|
+
const matchValue = reader["Glutinum.Converter.Reader.Types.ITypeScriptReader.get_checker"]().typeToTypeNode(typ, void 0, void 0);
|
|
128
|
+
if (matchValue == null) {
|
|
129
|
+
return new GlueType(26, [new GlueUtilityType(2, [readTypeUsingFlags(reader, typ)])]);
|
|
130
|
+
}
|
|
131
|
+
else {
|
|
132
|
+
const typeNode = matchValue;
|
|
133
|
+
return new GlueType(26, [new GlueUtilityType(2, [reader["Glutinum.Converter.Reader.Types.ITypeScriptReader.ReadTypeNode24A678AD"](typeNode)])]);
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
export function UtilityType_thisParameterType(reader, typeReferenceNode) {
|
|
138
|
+
const typ = reader["Glutinum.Converter.Reader.Types.ITypeScriptReader.get_checker"]().getTypeFromTypeNode(typeReferenceNode);
|
|
139
|
+
const matchValue = reader["Glutinum.Converter.Reader.Types.ITypeScriptReader.get_checker"]().typeToTypeNode(typ, void 0, void 0);
|
|
140
|
+
if (matchValue == null) {
|
|
141
|
+
return new GlueType(26, [new GlueUtilityType(3, [readTypeUsingFlags(reader, typ)])]);
|
|
142
|
+
}
|
|
143
|
+
else {
|
|
144
|
+
const typeNode = matchValue;
|
|
145
|
+
return new GlueType(26, [new GlueUtilityType(3, [reader["Glutinum.Converter.Reader.Types.ITypeScriptReader.ReadTypeNode24A678AD"](typeNode)])]);
|
|
146
|
+
}
|
|
121
147
|
}
|
|
122
148
|
|
|
123
149
|
export function readTypeNode(reader, typeNode) {
|
|
@@ -132,6 +158,8 @@ export function readTypeNode(reader, typeNode) {
|
|
|
132
158
|
return new GlueType(3, [new GluePrimitive(6, [])]);
|
|
133
159
|
case 136:
|
|
134
160
|
return new GlueType(3, [new GluePrimitive(3, [])]);
|
|
161
|
+
case 146:
|
|
162
|
+
return new GlueType(3, [new GluePrimitive(11, [])]);
|
|
135
163
|
case 150:
|
|
136
164
|
return new GlueType(3, [new GluePrimitive(5, [])]);
|
|
137
165
|
case 151:
|
|
@@ -143,7 +171,7 @@ export function readTypeNode(reader, typeNode) {
|
|
|
143
171
|
case 157:
|
|
144
172
|
return new GlueType(3, [new GluePrimitive(8, [])]);
|
|
145
173
|
case 159:
|
|
146
|
-
return new GlueType(
|
|
174
|
+
return new GlueType(23, []);
|
|
147
175
|
case 182:
|
|
148
176
|
return new GlueType(3, [new GluePrimitive(3, [])]);
|
|
149
177
|
case 183: {
|
|
@@ -152,7 +180,7 @@ export function readTypeNode(reader, typeNode) {
|
|
|
152
180
|
const readTypeReference = (isStandardLibrary) => {
|
|
153
181
|
const matchValue_1 = value_2(symbolOpt).flags | 0;
|
|
154
182
|
if ($007CHasSymbolFlags$007C_$007C(262144, matchValue_1) != null) {
|
|
155
|
-
return new GlueType(
|
|
183
|
+
return new GlueType(16, [value_2(symbolOpt).name]);
|
|
156
184
|
}
|
|
157
185
|
else {
|
|
158
186
|
return new GlueType(13, [new GlueTypeReference(typeReferenceNode.typeName.getText(), getFullNameOrEmpty(checker, typeReferenceNode.typeName), readTypeArguments(reader, typeReferenceNode), isStandardLibrary)]);
|
|
@@ -167,6 +195,10 @@ export function readTypeNode(reader, typeNode) {
|
|
|
167
195
|
return UtilityType_readPartial(reader, typeReferenceNode);
|
|
168
196
|
case "Record":
|
|
169
197
|
return UtilityType_readRecord(reader, typeReferenceNode);
|
|
198
|
+
case "ReturnType":
|
|
199
|
+
return UtilityType_readReturnType(reader, typeReferenceNode);
|
|
200
|
+
case "ThisParameterType":
|
|
201
|
+
return UtilityType_thisParameterType(reader, typeReferenceNode);
|
|
170
202
|
default:
|
|
171
203
|
return readTypeReference(true);
|
|
172
204
|
}
|
|
@@ -177,27 +209,36 @@ export function readTypeNode(reader, typeNode) {
|
|
|
177
209
|
}
|
|
178
210
|
case 184: {
|
|
179
211
|
const functionTypeNode = typeNode;
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
212
|
+
let typeParameters;
|
|
213
|
+
try {
|
|
214
|
+
const typParameters = functionTypeNode.parent.parent.typeParameters;
|
|
215
|
+
typeParameters = reader["Glutinum.Converter.Reader.Types.ITypeScriptReader.ReadTypeParameters4088FB9E"](typParameters);
|
|
216
|
+
}
|
|
217
|
+
catch (matchValue_3) {
|
|
218
|
+
void (reader["Glutinum.Converter.Reader.Types.ITypeScriptReader.get_Warnings"]().push(Report_readerError_Z19516DCE("FunctionType", "Unable to find TypeParameters information", functionTypeNode, "/Users/mmangel/Workspaces/Github/glutinum-org/Glutinum.Converter/src/Glutinum.Converter/Reader/TypeNode.fs", 261)));
|
|
219
|
+
typeParameters = empty();
|
|
220
|
+
}
|
|
221
|
+
return new GlueType(15, [new GlueFunctionType(reader["Glutinum.Converter.Reader.Types.ITypeScriptReader.ReadDocumentationFromNode6C0FD055"](typeNode), reader["Glutinum.Converter.Reader.Types.ITypeScriptReader.ReadTypeNode24A678AD"](functionTypeNode.type), typeParameters, reader["Glutinum.Converter.Reader.Types.ITypeScriptReader.ReadParametersZ17143B5B"](functionTypeNode.parameters))]);
|
|
185
222
|
}
|
|
223
|
+
case 185:
|
|
224
|
+
return new GlueType(28, []);
|
|
225
|
+
case 186:
|
|
226
|
+
return readTypeQueryNode(reader, typeNode);
|
|
186
227
|
case 187: {
|
|
187
228
|
const typeLiteralNode = typeNode;
|
|
188
|
-
return new GlueType(
|
|
229
|
+
return new GlueType(21, [new GlueTypeLiteral(map((declaration_3) => reader["Glutinum.Converter.Reader.Types.ITypeScriptReader.ReadDeclaration61B89E55"](declaration_3), toList(typeLiteralNode.members)))]);
|
|
189
230
|
}
|
|
190
231
|
case 188: {
|
|
191
232
|
const arrayTypeNode = typeNode;
|
|
192
|
-
return new GlueType(
|
|
233
|
+
return new GlueType(14, [reader["Glutinum.Converter.Reader.Types.ITypeScriptReader.ReadTypeNode24A678AD"](arrayTypeNode.elementType)]);
|
|
193
234
|
}
|
|
194
235
|
case 189: {
|
|
195
236
|
const tupleTypeNode = typeNode;
|
|
196
|
-
return new GlueType(
|
|
237
|
+
return new GlueType(18, [map((element) => reader["Glutinum.Converter.Reader.Types.ITypeScriptReader.ReadTypeNode24A678AD"](element), toList(tupleTypeNode.elements))]);
|
|
197
238
|
}
|
|
198
239
|
case 190: {
|
|
199
240
|
const optionalTypeNode = typeNode;
|
|
200
|
-
return new GlueType(
|
|
241
|
+
return new GlueType(22, [reader["Glutinum.Converter.Reader.Types.ITypeScriptReader.ReadTypeNode24A678AD"](optionalTypeNode.type)]);
|
|
201
242
|
}
|
|
202
243
|
case 192:
|
|
203
244
|
return reader["Glutinum.Converter.Reader.Types.ITypeScriptReader.ReadUnionTypeNodeZ5A082EC2"](typeNode);
|
|
@@ -205,14 +246,14 @@ export function readTypeNode(reader, typeNode) {
|
|
|
205
246
|
const intersectionTypeNode = typeNode;
|
|
206
247
|
const unionOrIntersectionType = checker.getTypeAtLocation(intersectionTypeNode);
|
|
207
248
|
const properties = choose((property) => {
|
|
208
|
-
const
|
|
209
|
-
if (
|
|
210
|
-
throw new Error(
|
|
249
|
+
const matchValue_7 = property.declarations;
|
|
250
|
+
if (matchValue_7 == null) {
|
|
251
|
+
throw new Error(Report_readerError_Z19516DCE("type node", "Missing declarations", typeNode, "/Users/mmangel/Workspaces/Github/glutinum-org/Glutinum.Converter/src/Glutinum.Converter/Reader/TypeNode.fs", 376));
|
|
211
252
|
}
|
|
212
253
|
else {
|
|
213
|
-
const
|
|
214
|
-
if (
|
|
215
|
-
return new IntersectionTypePropertyResult(0, [
|
|
254
|
+
const declarations_1 = matchValue_7;
|
|
255
|
+
if (declarations_1.length === 1) {
|
|
256
|
+
return new IntersectionTypePropertyResult(0, [declarations_1[0]]);
|
|
216
257
|
}
|
|
217
258
|
else {
|
|
218
259
|
return new IntersectionTypePropertyResult(1, []);
|
|
@@ -238,7 +279,7 @@ export function readTypeNode(reader, typeNode) {
|
|
|
238
279
|
return new GlueType(3, [new GluePrimitive(6, [])]);
|
|
239
280
|
}
|
|
240
281
|
else {
|
|
241
|
-
return new GlueType(
|
|
282
|
+
return new GlueType(20, [choose((_arg) => {
|
|
242
283
|
if (_arg.tag === 1) {
|
|
243
284
|
throw new Error("Sould not happen here");
|
|
244
285
|
}
|
|
@@ -250,20 +291,20 @@ export function readTypeNode(reader, typeNode) {
|
|
|
250
291
|
}
|
|
251
292
|
case 194: {
|
|
252
293
|
const conditionalTypeNode = typeNode;
|
|
253
|
-
const
|
|
294
|
+
const matchValue_9 = readTypeUsingFlags(reader, checker.getTypeAtLocation(conditionalTypeNode));
|
|
254
295
|
let matchResult, forward;
|
|
255
|
-
if (
|
|
256
|
-
if (
|
|
296
|
+
if (matchValue_9.tag === 3) {
|
|
297
|
+
if (matchValue_9.fields[0].tag === 6) {
|
|
257
298
|
matchResult = 0;
|
|
258
299
|
}
|
|
259
300
|
else {
|
|
260
301
|
matchResult = 1;
|
|
261
|
-
forward =
|
|
302
|
+
forward = matchValue_9;
|
|
262
303
|
}
|
|
263
304
|
}
|
|
264
305
|
else {
|
|
265
306
|
matchResult = 1;
|
|
266
|
-
forward =
|
|
307
|
+
forward = matchValue_9;
|
|
267
308
|
}
|
|
268
309
|
switch (matchResult) {
|
|
269
310
|
case 0:
|
|
@@ -278,33 +319,63 @@ export function readTypeNode(reader, typeNode) {
|
|
|
278
319
|
}
|
|
279
320
|
case 197: {
|
|
280
321
|
const thisTypeNode = typeNode;
|
|
281
|
-
const
|
|
282
|
-
|
|
322
|
+
const typ = checker.getTypeAtLocation(thisTypeNode);
|
|
323
|
+
let typParameters_1;
|
|
324
|
+
const matchValue_5 = typ.symbol.declarations;
|
|
325
|
+
if (matchValue_5 == null) {
|
|
326
|
+
typParameters_1 = empty();
|
|
327
|
+
}
|
|
328
|
+
else {
|
|
329
|
+
const declarations = matchValue_5;
|
|
330
|
+
if (declarations.length !== 1) {
|
|
331
|
+
typParameters_1 = empty();
|
|
332
|
+
}
|
|
333
|
+
else {
|
|
334
|
+
const declaration = declarations[0];
|
|
335
|
+
const matchValue_6 = declaration.kind | 0;
|
|
336
|
+
switch (matchValue_6) {
|
|
337
|
+
case 263:
|
|
338
|
+
case 264: {
|
|
339
|
+
const classDeclaration = declaration;
|
|
340
|
+
typParameters_1 = reader["Glutinum.Converter.Reader.Types.ITypeScriptReader.ReadTypeParameters4088FB9E"](classDeclaration.typeParameters);
|
|
341
|
+
break;
|
|
342
|
+
}
|
|
343
|
+
default:
|
|
344
|
+
typParameters_1 = empty();
|
|
345
|
+
}
|
|
346
|
+
}
|
|
347
|
+
}
|
|
348
|
+
return new GlueType(17, [new GlueThisType(typ.symbol.name, typParameters_1)]);
|
|
283
349
|
}
|
|
284
350
|
case 198: {
|
|
285
351
|
const typeOperatorNode = typeNode;
|
|
286
352
|
return reader["Glutinum.Converter.Reader.Types.ITypeScriptReader.ReadTypeOperatorNodeZ6830FC33"](typeOperatorNode);
|
|
287
353
|
}
|
|
354
|
+
case 199: {
|
|
355
|
+
const indexedAccessType = typeNode;
|
|
356
|
+
return reader["Glutinum.Converter.Reader.Types.ITypeScriptReader.ReadIndexedAccessTypeZ5577BC0A"](indexedAccessType);
|
|
357
|
+
}
|
|
288
358
|
case 201: {
|
|
289
359
|
const literalTypeNode = typeNode;
|
|
290
|
-
const
|
|
291
|
-
if (
|
|
292
|
-
throw new Error(
|
|
360
|
+
const matchValue_4 = tryReadLiteral(literalTypeNode.literal);
|
|
361
|
+
if (matchValue_4 == null) {
|
|
362
|
+
throw new Error(Report_readerError_Z19516DCE("type node - literal type", "Could not read literal type", typeNode, "/Users/mmangel/Workspaces/Github/glutinum-org/Glutinum.Converter/src/Glutinum.Converter/Reader/TypeNode.fs", 291));
|
|
293
363
|
}
|
|
294
364
|
else {
|
|
295
|
-
return new GlueType(8, [
|
|
365
|
+
return new GlueType(8, [matchValue_4]);
|
|
296
366
|
}
|
|
297
367
|
}
|
|
298
368
|
case 202:
|
|
299
369
|
return reader["Glutinum.Converter.Reader.Types.ITypeScriptReader.ReadNamedTupleMemberZ6E17C942"](typeNode);
|
|
300
370
|
case 203:
|
|
301
|
-
return new GlueType(
|
|
371
|
+
return new GlueType(25, []);
|
|
302
372
|
case 233: {
|
|
303
373
|
const expression = typeNode;
|
|
304
|
-
|
|
374
|
+
const symbolOpt_1 = checker.getSymbolAtLocation(expression.expression);
|
|
375
|
+
return new GlueType(13, [new GlueTypeReference(expression.expression.getText(), getFullNameOrEmpty(checker, expression.expression), readTypeArguments(reader, expression), isFromEs5Lib(symbolOpt_1))]);
|
|
305
376
|
}
|
|
306
377
|
default: {
|
|
307
|
-
const item =
|
|
378
|
+
const item = Report_readerError_Z19516DCE("type node", `Unsupported kind ${TypeScript_Ts_SyntaxKind__SyntaxKind_get_Name(typeNode.kind)}`, typeNode, "/Users/mmangel/Workspaces/Github/glutinum-org/Glutinum.Converter/src/Glutinum.Converter/Reader/TypeNode.fs", 484);
|
|
308
379
|
const objectArg = reader["Glutinum.Converter.Reader.Types.ITypeScriptReader.get_Warnings"]();
|
|
309
380
|
void (objectArg.push(item));
|
|
310
381
|
return new GlueType(3, [new GluePrimitive(6, [])]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/Glutinum.Converter/Reader/TypeNode.fs"],"names":["matchValue","typ","declarations","declaration","reader","typeReferenceNode","literalType","aliasTypeArguments","symbol","patternInput","originalType","interfaceDeclaration","members","typeArguments","
|
|
1
|
+
{"version":3,"sources":["../../../src/Glutinum.Converter/Reader/TypeNode.fs"],"names":["matchValue","typ","declarations","declaration","reader","typeReferenceNode","literalType","aliasTypeArguments","symbol","patternInput","originalType","interfaceDeclaration","members","typeArguments","readTypeUsingFlags","typeNode","checker","symbolOpt","readTypeReference","isStandardLibrary","readExclude","readPartial","readRecord","readReturnType","thisParameterType","functionTypeNode","typeParameters","typParameters","typeLiteralNode","arrayTypeNode","tupleTypeNode","element","optionalTypeNode","intersectionTypeNode","unionOrIntersectionType","properties","property","_arg1","conditionalTypeNode","forward","parenthesizedTypeNode","thisTypeNode","classDeclaration","typeOperatorNode","indexedAccessType","literalTypeNode","expression","item","objectArg"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAeUA,uBAAA,AAAAC;AACJ,QADI,AACJ,6BAAa,QADTD;AAGIA,6BAAA,AAAAC;AAAA,YAAA,AAAAD;AAoBI,mBAAA,iBAAmB;;;AAnBtBE,iCACCF;AAAAG,gCAAc,AAAAD,aAAc;AAE1BF,iCAAA,AAAAG;oBAAAH;qBAAA;AASC,2BAAA,kBAPH,yBACW,AAAAC,iBACQ,SACL,SACO,SACC;qBAPpB;AAa\u002BB,2BAAA;;AAC9B,2BAAA,AAAAG,6EAAgBD;;;;SAG7B,IAxBI,AAwBJ,6BAAa,GAxBTH;AAyBF,eAAA,iBAAmB;;SACrB,IA1BI,AA0BJ,6BAAa,GA1BTA;AA2BF,eAAA,iBAAmB;;SACrB,IA5BI,AA4BJ,6BAAa,IA5BTA;AA4BiC,eAAA,iBAAmB;;SACxD,IA7BI,AA6BJ,6BAAa,GA7BTA;AA6B6B,eAAA,iBAAmB;;SACpD,IA9BI,AA8BJ,6BAAa,OA9BTA;AA8B8B,eAAA,iBAAmB;;;AAChD,eAAA,iBAAmB;;;;;AAOlBC,gBACA,AAAAG,8FAAmCC;AA6Bb,WAAA,iBAAjB,kBAvBF;AACOL,2BAAA,AAAAC;AACJ,YADI,AACJ,6BAAa,KADTD;AAEEM,gCAAcL;AAIU,mBAAA,iBAA5B,oBAF0B,AAAAK;;aAG5B,IAPI,AAOJ,6BAAa,KAPTN;AAQEM,kCAAcL;AAUT,mBAAA,iBAPL,AAC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