starlight-fsharp-oracle 0.1.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.
Files changed (89) hide show
  1. package/Directory.Build.props +25 -0
  2. package/Directory.Packages.props +18 -0
  3. package/README.md +80 -0
  4. package/dist/Extensions/StringBuilder.js +28 -0
  5. package/dist/Extensions/TextNode.js +115 -0
  6. package/dist/FSharp.Oracle.Schema/Schema.js +674 -0
  7. package/dist/Generate.js +254 -0
  8. package/dist/Helpers.js +69 -0
  9. package/dist/Plugin.js +139 -0
  10. package/dist/Render/Documentation.js +87 -0
  11. package/dist/Render/Entries.js +148 -0
  12. package/dist/Render/Pages.js +292 -0
  13. package/dist/Render/Primitives.js +114 -0
  14. package/dist/Render/Types.js +30 -0
  15. package/dist/Render.js +12 -0
  16. package/dist/Themes.js +78 -0
  17. package/oracle-bin/FSharp.Compiler.Service.dll +0 -0
  18. package/oracle-bin/FSharp.Core.dll +0 -0
  19. package/oracle-bin/FSharp.DependencyManager.Nuget.dll +0 -0
  20. package/oracle-bin/FSharp.Oracle.Schema.dll +0 -0
  21. package/oracle-bin/FSharp.Oracle.Schema.pdb +0 -0
  22. package/oracle-bin/FSharp.Oracle.Schema.xml +219 -0
  23. package/oracle-bin/Fable.Core.dll +0 -0
  24. package/oracle-bin/Oracle +0 -0
  25. package/oracle-bin/Oracle.deps.json +280 -0
  26. package/oracle-bin/Oracle.dll +0 -0
  27. package/oracle-bin/Oracle.pdb +0 -0
  28. package/oracle-bin/Oracle.runtimeconfig.json +13 -0
  29. package/oracle-bin/Oracle.xml +111 -0
  30. package/oracle-bin/Thoth.Json.Core.Auto.dll +0 -0
  31. package/oracle-bin/Thoth.Json.Core.dll +0 -0
  32. package/oracle-bin/Thoth.Json.System.Text.Json.dll +0 -0
  33. package/oracle-bin/cs/FSharp.Compiler.Service.resources.dll +0 -0
  34. package/oracle-bin/cs/FSharp.Core.resources.dll +0 -0
  35. package/oracle-bin/cs/FSharp.DependencyManager.Nuget.resources.dll +0 -0
  36. package/oracle-bin/de/FSharp.Compiler.Service.resources.dll +0 -0
  37. package/oracle-bin/de/FSharp.Core.resources.dll +0 -0
  38. package/oracle-bin/de/FSharp.DependencyManager.Nuget.resources.dll +0 -0
  39. package/oracle-bin/es/FSharp.Compiler.Service.resources.dll +0 -0
  40. package/oracle-bin/es/FSharp.Core.resources.dll +0 -0
  41. package/oracle-bin/es/FSharp.DependencyManager.Nuget.resources.dll +0 -0
  42. package/oracle-bin/fr/FSharp.Compiler.Service.resources.dll +0 -0
  43. package/oracle-bin/fr/FSharp.Core.resources.dll +0 -0
  44. package/oracle-bin/fr/FSharp.DependencyManager.Nuget.resources.dll +0 -0
  45. package/oracle-bin/it/FSharp.Compiler.Service.resources.dll +0 -0
  46. package/oracle-bin/it/FSharp.Core.resources.dll +0 -0
  47. package/oracle-bin/it/FSharp.DependencyManager.Nuget.resources.dll +0 -0
  48. package/oracle-bin/ja/FSharp.Compiler.Service.resources.dll +0 -0
  49. package/oracle-bin/ja/FSharp.Core.resources.dll +0 -0
  50. package/oracle-bin/ja/FSharp.DependencyManager.Nuget.resources.dll +0 -0
  51. package/oracle-bin/ko/FSharp.Compiler.Service.resources.dll +0 -0
  52. package/oracle-bin/ko/FSharp.Core.resources.dll +0 -0
  53. package/oracle-bin/ko/FSharp.DependencyManager.Nuget.resources.dll +0 -0
  54. package/oracle-bin/pl/FSharp.Compiler.Service.resources.dll +0 -0
  55. package/oracle-bin/pl/FSharp.Core.resources.dll +0 -0
  56. package/oracle-bin/pl/FSharp.DependencyManager.Nuget.resources.dll +0 -0
  57. package/oracle-bin/pt-BR/FSharp.Compiler.Service.resources.dll +0 -0
  58. package/oracle-bin/pt-BR/FSharp.Core.resources.dll +0 -0
  59. package/oracle-bin/pt-BR/FSharp.DependencyManager.Nuget.resources.dll +0 -0
  60. package/oracle-bin/ru/FSharp.Compiler.Service.resources.dll +0 -0
  61. package/oracle-bin/ru/FSharp.Core.resources.dll +0 -0
  62. package/oracle-bin/ru/FSharp.DependencyManager.Nuget.resources.dll +0 -0
  63. package/oracle-bin/tr/FSharp.Compiler.Service.resources.dll +0 -0
  64. package/oracle-bin/tr/FSharp.Core.resources.dll +0 -0
  65. package/oracle-bin/tr/FSharp.DependencyManager.Nuget.resources.dll +0 -0
  66. package/oracle-bin/zh-Hans/FSharp.Compiler.Service.resources.dll +0 -0
  67. package/oracle-bin/zh-Hans/FSharp.Core.resources.dll +0 -0
  68. package/oracle-bin/zh-Hans/FSharp.DependencyManager.Nuget.resources.dll +0 -0
  69. package/oracle-bin/zh-Hant/FSharp.Compiler.Service.resources.dll +0 -0
  70. package/oracle-bin/zh-Hant/FSharp.Core.resources.dll +0 -0
  71. package/oracle-bin/zh-Hant/FSharp.DependencyManager.Nuget.resources.dll +0 -0
  72. package/package.json +38 -0
  73. package/packages/FSharp.Oracle/Extractor/Assembly.fs +160 -0
  74. package/packages/FSharp.Oracle/Extractor/EntityExtractor.fs +608 -0
  75. package/packages/FSharp.Oracle/Extractor/Helpers.fs +150 -0
  76. package/packages/FSharp.Oracle/Extractor/MemberExtractor.fs +172 -0
  77. package/packages/FSharp.Oracle/Extractor/ModuleExtractor.fs +45 -0
  78. package/packages/FSharp.Oracle/Extractor/ParameterExtractor.fs +47 -0
  79. package/packages/FSharp.Oracle/Extractor/SignatureRendering.fs +464 -0
  80. package/packages/FSharp.Oracle/Extractor/ValueExtractor.fs +171 -0
  81. package/packages/FSharp.Oracle/FSharp.Oracle.fsproj +36 -0
  82. package/packages/FSharp.Oracle/Program.fs +66 -0
  83. package/packages/FSharp.Oracle/XmlDoc.fs +463 -0
  84. package/packages/FSharp.Oracle.Schema/FSharp.Oracle.Schema.fsproj +16 -0
  85. package/packages/FSharp.Oracle.Schema/Schema.fs +454 -0
  86. package/packages/Starlight.FSharp.Oracle/components/DocEntry.astro +256 -0
  87. package/packages/Starlight.FSharp.Oracle/components/FSharpDocPage.astro +121 -0
  88. package/packages/Starlight.FSharp.Oracle/components/fsharp-doc.css +58 -0
  89. package/packages/Starlight.FSharp.Oracle/layouts/FSharpDocLayout.astro +27 -0
@@ -0,0 +1,674 @@
1
+
2
+ import { Union, Record } from "../fable_modules/fable-library-js.5.0.0-rc.7/Types.js";
3
+ import { bool_type, int32_type, union_type, list_type, option_type, record_type, string_type } from "../fable_modules/fable-library-js.5.0.0-rc.7/Reflection.js";
4
+ import { ofArray, skipWhile, empty } from "../fable_modules/fable-library-js.5.0.0-rc.7/List.js";
5
+
6
+ export class XmlDocParam extends Record {
7
+ constructor(Name, Doc) {
8
+ super();
9
+ this.Name = Name;
10
+ this.Doc = Doc;
11
+ }
12
+ }
13
+
14
+ export function XmlDocParam_$reflection() {
15
+ return record_type("FSharp.Oracle.Schema.XmlDocParam", [], XmlDocParam, () => [["Name", string_type], ["Doc", string_type]]);
16
+ }
17
+
18
+ export class XmlDoc extends Record {
19
+ constructor(Summary, Remarks, Returns, Params, Examples) {
20
+ super();
21
+ this.Summary = Summary;
22
+ this.Remarks = Remarks;
23
+ this.Returns = Returns;
24
+ this.Params = Params;
25
+ this.Examples = Examples;
26
+ }
27
+ }
28
+
29
+ export function XmlDoc_$reflection() {
30
+ return record_type("FSharp.Oracle.Schema.XmlDoc", [], XmlDoc, () => [["Summary", option_type(string_type)], ["Remarks", option_type(string_type)], ["Returns", option_type(string_type)], ["Params", list_type(XmlDocParam_$reflection())], ["Examples", list_type(string_type)]]);
31
+ }
32
+
33
+ /**
34
+ * Whether an API is obsolete and, if so, whether a custom message was supplied.
35
+ */
36
+ export class ObsoleteInfo extends Union {
37
+ constructor(tag, fields) {
38
+ super();
39
+ this.tag = tag;
40
+ this.fields = fields;
41
+ }
42
+ cases() {
43
+ return ["Active", "Deprecated", "DeprecatedWithMessage"];
44
+ }
45
+ }
46
+
47
+ export function ObsoleteInfo_$reflection() {
48
+ return union_type("FSharp.Oracle.Schema.ObsoleteInfo", [], ObsoleteInfo, () => [[], [], [["Item", string_type]]]);
49
+ }
50
+
51
+ export class TextNode extends Union {
52
+ constructor(tag, fields) {
53
+ super();
54
+ this.tag = tag;
55
+ this.fields = fields;
56
+ }
57
+ cases() {
58
+ return ["Text", "TypeRef", "TypeVar", "Keyword", "LeftBrace", "RightBrace", "Equal", "Arrow", "Tick", "Space", "Spaces", "Comma", "Colon", "Dot", "LeftParen", "RightParen", "LessThan", "GreaterThan", "Star", "Node", "NewLine", "OpenTag", "CloseTag", "OpenTagWithClass", "Anchor", "AnchoredProperty", "AnchoredKeyword"];
59
+ }
60
+ }
61
+
62
+ export function TextNode_$reflection() {
63
+ return union_type("FSharp.Oracle.Schema.TextNode", [], TextNode, () => [[["Item", string_type]], [["name", string_type], ["fullName", string_type], ["url", string_type]], [["Item", string_type]], [["Item", string_type]], [], [], [], [], [], [], [["Item", int32_type]], [], [], [], [], [], [], [], [], [["nodes", list_type(TextNode_$reflection())]], [], [["Item", string_type]], [["Item", string_type]], [["Item1", string_type], ["Item2", string_type]], [["text", string_type], ["href", string_type]], [["text", string_type], ["href", string_type]], [["text", string_type], ["href", string_type]]]);
64
+ }
65
+
66
+ export function TextNode__TrimStart(this$) {
67
+ const isWhitespace = (_arg) => {
68
+ switch (_arg.tag) {
69
+ case 9:
70
+ case 10:
71
+ case 20:
72
+ return true;
73
+ default:
74
+ return false;
75
+ }
76
+ };
77
+ switch (this$.tag) {
78
+ case 9:
79
+ case 10:
80
+ case 20:
81
+ return new TextNode(19, [empty()]);
82
+ case 19: {
83
+ const nodes = this$.fields[0];
84
+ return new TextNode(19, [skipWhile(isWhitespace, nodes)]);
85
+ }
86
+ default:
87
+ return this$;
88
+ }
89
+ }
90
+
91
+ export class Parameter extends Record {
92
+ constructor(Name, Type, Declaration, AlignedDeclaration) {
93
+ super();
94
+ this.Name = Name;
95
+ this.Type = Type;
96
+ this.Declaration = Declaration;
97
+ this.AlignedDeclaration = AlignedDeclaration;
98
+ }
99
+ }
100
+
101
+ export function Parameter_$reflection() {
102
+ return record_type("FSharp.Oracle.Schema.Parameter", [], Parameter, () => [["Name", string_type], ["Type", TextNode_$reflection()], ["Declaration", TextNode_$reflection()], ["AlignedDeclaration", TextNode_$reflection()]]);
103
+ }
104
+
105
+ export class Function$ extends Record {
106
+ constructor(Name, FullName, Signature, Parameters, Declaration, AlignedDeclaration, GenericParameters, ReturnType, XmlDoc, ObsoleteInfo) {
107
+ super();
108
+ this.Name = Name;
109
+ this.FullName = FullName;
110
+ this.Signature = Signature;
111
+ this.Parameters = Parameters;
112
+ this.Declaration = Declaration;
113
+ this.AlignedDeclaration = AlignedDeclaration;
114
+ this.GenericParameters = GenericParameters;
115
+ this.ReturnType = ReturnType;
116
+ this.XmlDoc = XmlDoc;
117
+ this.ObsoleteInfo = ObsoleteInfo;
118
+ }
119
+ }
120
+
121
+ export function Function$_$reflection() {
122
+ return record_type("FSharp.Oracle.Schema.Function", [], Function$, () => [["Name", string_type], ["FullName", string_type], ["Signature", TextNode_$reflection()], ["Parameters", list_type(list_type(Parameter_$reflection()))], ["Declaration", TextNode_$reflection()], ["AlignedDeclaration", TextNode_$reflection()], ["GenericParameters", option_type(TextNode_$reflection())], ["ReturnType", TextNode_$reflection()], ["XmlDoc", XmlDoc_$reflection()], ["ObsoleteInfo", ObsoleteInfo_$reflection()]]);
123
+ }
124
+
125
+ export class Value extends Record {
126
+ constructor(Name, FullName, Signature, Declaration, GenericParameters, XmlDoc, ObsoleteInfo) {
127
+ super();
128
+ this.Name = Name;
129
+ this.FullName = FullName;
130
+ this.Signature = Signature;
131
+ this.Declaration = Declaration;
132
+ this.GenericParameters = GenericParameters;
133
+ this.XmlDoc = XmlDoc;
134
+ this.ObsoleteInfo = ObsoleteInfo;
135
+ }
136
+ }
137
+
138
+ export function Value_$reflection() {
139
+ return record_type("FSharp.Oracle.Schema.Value", [], Value, () => [["Name", string_type], ["FullName", string_type], ["Signature", TextNode_$reflection()], ["Declaration", TextNode_$reflection()], ["GenericParameters", option_type(TextNode_$reflection())], ["XmlDoc", XmlDoc_$reflection()], ["ObsoleteInfo", ObsoleteInfo_$reflection()]]);
140
+ }
141
+
142
+ export class MemberKind extends Union {
143
+ constructor(tag, fields) {
144
+ super();
145
+ this.tag = tag;
146
+ this.fields = fields;
147
+ }
148
+ cases() {
149
+ return ["Method", "Property", "Constructor", "Operator"];
150
+ }
151
+ }
152
+
153
+ export function MemberKind_$reflection() {
154
+ return union_type("FSharp.Oracle.Schema.MemberKind", [], MemberKind, () => [[], [], [], []]);
155
+ }
156
+
157
+ export class Member extends Record {
158
+ constructor(Kind, Name, FullName, Parameters, ReturnType, Declaration, GenericParameters, XmlDoc, IsStatic, IsAbstract, ObsoleteInfo) {
159
+ super();
160
+ this.Kind = Kind;
161
+ this.Name = Name;
162
+ this.FullName = FullName;
163
+ this.Parameters = Parameters;
164
+ this.ReturnType = ReturnType;
165
+ this.Declaration = Declaration;
166
+ this.GenericParameters = GenericParameters;
167
+ this.XmlDoc = XmlDoc;
168
+ this.IsStatic = IsStatic;
169
+ this.IsAbstract = IsAbstract;
170
+ this.ObsoleteInfo = ObsoleteInfo;
171
+ }
172
+ }
173
+
174
+ export function Member_$reflection() {
175
+ return record_type("FSharp.Oracle.Schema.Member", [], Member, () => [["Kind", MemberKind_$reflection()], ["Name", string_type], ["FullName", string_type], ["Parameters", list_type(list_type(Parameter_$reflection()))], ["ReturnType", TextNode_$reflection()], ["Declaration", TextNode_$reflection()], ["GenericParameters", option_type(TextNode_$reflection())], ["XmlDoc", XmlDoc_$reflection()], ["IsStatic", bool_type], ["IsAbstract", bool_type], ["ObsoleteInfo", ObsoleteInfo_$reflection()]]);
176
+ }
177
+
178
+ export class Field extends Record {
179
+ constructor(Name, Type, XmlDoc, Declaration) {
180
+ super();
181
+ this.Name = Name;
182
+ this.Type = Type;
183
+ this.XmlDoc = XmlDoc;
184
+ this.Declaration = Declaration;
185
+ }
186
+ }
187
+
188
+ export function Field_$reflection() {
189
+ return record_type("FSharp.Oracle.Schema.Field", [], Field, () => [["Name", string_type], ["Type", TextNode_$reflection()], ["XmlDoc", XmlDoc_$reflection()], ["Declaration", TextNode_$reflection()]]);
190
+ }
191
+
192
+ /**
193
+ * Pre-formatted signature: `val field1 : type`
194
+ */
195
+ export function Field__get_Signature(this$) {
196
+ return new TextNode(19, [ofArray([new TextNode(3, ["val"]), new TextNode(9, []), this$.Declaration])]);
197
+ }
198
+
199
+ export class UnionCase extends Record {
200
+ constructor(Name, FullName, Fields, XmlDoc, Declaration) {
201
+ super();
202
+ this.Name = Name;
203
+ this.FullName = FullName;
204
+ this.Fields = Fields;
205
+ this.XmlDoc = XmlDoc;
206
+ this.Declaration = Declaration;
207
+ }
208
+ }
209
+
210
+ export function UnionCase_$reflection() {
211
+ return record_type("FSharp.Oracle.Schema.UnionCase", [], UnionCase, () => [["Name", string_type], ["FullName", string_type], ["Fields", list_type(Field_$reflection())], ["XmlDoc", XmlDoc_$reflection()], ["Declaration", TextNode_$reflection()]]);
212
+ }
213
+
214
+ export class RecordEntity extends Record {
215
+ constructor(Name, FullName, XmlDoc, Fields, Members, Declaration, ObsoleteInfo, IsStruct) {
216
+ super();
217
+ this.Name = Name;
218
+ this.FullName = FullName;
219
+ this.XmlDoc = XmlDoc;
220
+ this.Fields = Fields;
221
+ this.Members = Members;
222
+ this.Declaration = Declaration;
223
+ this.ObsoleteInfo = ObsoleteInfo;
224
+ this.IsStruct = IsStruct;
225
+ }
226
+ }
227
+
228
+ export function RecordEntity_$reflection() {
229
+ return record_type("FSharp.Oracle.Schema.RecordEntity", [], RecordEntity, () => [["Name", string_type], ["FullName", string_type], ["XmlDoc", XmlDoc_$reflection()], ["Fields", list_type(Field_$reflection())], ["Members", list_type(Member_$reflection())], ["Declaration", TextNode_$reflection()], ["ObsoleteInfo", ObsoleteInfo_$reflection()], ["IsStruct", bool_type]]);
230
+ }
231
+
232
+ export class UnionEntity extends Record {
233
+ constructor(Name, FullName, XmlDoc, Cases, Members, Declaration, ObsoleteInfo, IsStruct) {
234
+ super();
235
+ this.Name = Name;
236
+ this.FullName = FullName;
237
+ this.XmlDoc = XmlDoc;
238
+ this.Cases = Cases;
239
+ this.Members = Members;
240
+ this.Declaration = Declaration;
241
+ this.ObsoleteInfo = ObsoleteInfo;
242
+ this.IsStruct = IsStruct;
243
+ }
244
+ }
245
+
246
+ export function UnionEntity_$reflection() {
247
+ return record_type("FSharp.Oracle.Schema.UnionEntity", [], UnionEntity, () => [["Name", string_type], ["FullName", string_type], ["XmlDoc", XmlDoc_$reflection()], ["Cases", list_type(UnionCase_$reflection())], ["Members", list_type(Member_$reflection())], ["Declaration", TextNode_$reflection()], ["ObsoleteInfo", ObsoleteInfo_$reflection()], ["IsStruct", bool_type]]);
248
+ }
249
+
250
+ export class AbbrevEntity extends Record {
251
+ constructor(Name, FullName, XmlDoc, Signature, Declaration, ObsoleteInfo, IsStruct) {
252
+ super();
253
+ this.Name = Name;
254
+ this.FullName = FullName;
255
+ this.XmlDoc = XmlDoc;
256
+ this.Signature = Signature;
257
+ this.Declaration = Declaration;
258
+ this.ObsoleteInfo = ObsoleteInfo;
259
+ this.IsStruct = IsStruct;
260
+ }
261
+ }
262
+
263
+ export function AbbrevEntity_$reflection() {
264
+ return record_type("FSharp.Oracle.Schema.AbbrevEntity", [], AbbrevEntity, () => [["Name", string_type], ["FullName", string_type], ["XmlDoc", XmlDoc_$reflection()], ["Signature", TextNode_$reflection()], ["Declaration", TextNode_$reflection()], ["ObsoleteInfo", ObsoleteInfo_$reflection()], ["IsStruct", bool_type]]);
265
+ }
266
+
267
+ export class ClassEntity extends Record {
268
+ constructor(Name, FullName, XmlDoc, Members, Declaration, ObsoleteInfo, IsStruct) {
269
+ super();
270
+ this.Name = Name;
271
+ this.FullName = FullName;
272
+ this.XmlDoc = XmlDoc;
273
+ this.Members = Members;
274
+ this.Declaration = Declaration;
275
+ this.ObsoleteInfo = ObsoleteInfo;
276
+ this.IsStruct = IsStruct;
277
+ }
278
+ }
279
+
280
+ export function ClassEntity_$reflection() {
281
+ return record_type("FSharp.Oracle.Schema.ClassEntity", [], ClassEntity, () => [["Name", string_type], ["FullName", string_type], ["XmlDoc", XmlDoc_$reflection()], ["Members", list_type(Member_$reflection())], ["Declaration", TextNode_$reflection()], ["ObsoleteInfo", ObsoleteInfo_$reflection()], ["IsStruct", bool_type]]);
282
+ }
283
+
284
+ export class InterfaceEntity extends Record {
285
+ constructor(Name, FullName, XmlDoc, Members, Declaration, ObsoleteInfo, IsStruct) {
286
+ super();
287
+ this.Name = Name;
288
+ this.FullName = FullName;
289
+ this.XmlDoc = XmlDoc;
290
+ this.Members = Members;
291
+ this.Declaration = Declaration;
292
+ this.ObsoleteInfo = ObsoleteInfo;
293
+ this.IsStruct = IsStruct;
294
+ }
295
+ }
296
+
297
+ export function InterfaceEntity_$reflection() {
298
+ return record_type("FSharp.Oracle.Schema.InterfaceEntity", [], InterfaceEntity, () => [["Name", string_type], ["FullName", string_type], ["XmlDoc", XmlDoc_$reflection()], ["Members", list_type(Member_$reflection())], ["Declaration", TextNode_$reflection()], ["ObsoleteInfo", ObsoleteInfo_$reflection()], ["IsStruct", bool_type]]);
299
+ }
300
+
301
+ export class EnumEntity extends Record {
302
+ constructor(Name, FullName, XmlDoc, Fields, Declaration, ObsoleteInfo, IsStruct) {
303
+ super();
304
+ this.Name = Name;
305
+ this.FullName = FullName;
306
+ this.XmlDoc = XmlDoc;
307
+ this.Fields = Fields;
308
+ this.Declaration = Declaration;
309
+ this.ObsoleteInfo = ObsoleteInfo;
310
+ this.IsStruct = IsStruct;
311
+ }
312
+ }
313
+
314
+ export function EnumEntity_$reflection() {
315
+ return record_type("FSharp.Oracle.Schema.EnumEntity", [], EnumEntity, () => [["Name", string_type], ["FullName", string_type], ["XmlDoc", XmlDoc_$reflection()], ["Fields", list_type(Field_$reflection())], ["Declaration", TextNode_$reflection()], ["ObsoleteInfo", ObsoleteInfo_$reflection()], ["IsStruct", bool_type]]);
316
+ }
317
+
318
+ export class MeasureEntity extends Record {
319
+ constructor(Name, FullName, XmlDoc, Declaration, ObsoleteInfo) {
320
+ super();
321
+ this.Name = Name;
322
+ this.FullName = FullName;
323
+ this.XmlDoc = XmlDoc;
324
+ this.Declaration = Declaration;
325
+ this.ObsoleteInfo = ObsoleteInfo;
326
+ }
327
+ }
328
+
329
+ export function MeasureEntity_$reflection() {
330
+ return record_type("FSharp.Oracle.Schema.MeasureEntity", [], MeasureEntity, () => [["Name", string_type], ["FullName", string_type], ["XmlDoc", XmlDoc_$reflection()], ["Declaration", TextNode_$reflection()], ["ObsoleteInfo", ObsoleteInfo_$reflection()]]);
331
+ }
332
+
333
+ export class ExceptionEntity extends Record {
334
+ constructor(Name, FullName, XmlDoc, Fields, Declaration, ObsoleteInfo) {
335
+ super();
336
+ this.Name = Name;
337
+ this.FullName = FullName;
338
+ this.XmlDoc = XmlDoc;
339
+ this.Fields = Fields;
340
+ this.Declaration = Declaration;
341
+ this.ObsoleteInfo = ObsoleteInfo;
342
+ }
343
+ }
344
+
345
+ export function ExceptionEntity_$reflection() {
346
+ return record_type("FSharp.Oracle.Schema.ExceptionEntity", [], ExceptionEntity, () => [["Name", string_type], ["FullName", string_type], ["XmlDoc", XmlDoc_$reflection()], ["Fields", list_type(Field_$reflection())], ["Declaration", TextNode_$reflection()], ["ObsoleteInfo", ObsoleteInfo_$reflection()]]);
347
+ }
348
+
349
+ export class DelegateEntity extends Record {
350
+ constructor(Name, FullName, XmlDoc, Signature, Declaration, ObsoleteInfo) {
351
+ super();
352
+ this.Name = Name;
353
+ this.FullName = FullName;
354
+ this.XmlDoc = XmlDoc;
355
+ this.Signature = Signature;
356
+ this.Declaration = Declaration;
357
+ this.ObsoleteInfo = ObsoleteInfo;
358
+ }
359
+ }
360
+
361
+ export function DelegateEntity_$reflection() {
362
+ return record_type("FSharp.Oracle.Schema.DelegateEntity", [], DelegateEntity, () => [["Name", string_type], ["FullName", string_type], ["XmlDoc", XmlDoc_$reflection()], ["Signature", TextNode_$reflection()], ["Declaration", TextNode_$reflection()], ["ObsoleteInfo", ObsoleteInfo_$reflection()]]);
363
+ }
364
+
365
+ export class Entity extends Union {
366
+ constructor(tag, fields) {
367
+ super();
368
+ this.tag = tag;
369
+ this.fields = fields;
370
+ }
371
+ cases() {
372
+ return ["Record", "Union", "Abbrev", "Class", "Interface", "Enum", "Measure", "Exception", "Delegate"];
373
+ }
374
+ }
375
+
376
+ export function Entity_$reflection() {
377
+ return union_type("FSharp.Oracle.Schema.Entity", [], Entity, () => [[["Item", RecordEntity_$reflection()]], [["Item", UnionEntity_$reflection()]], [["Item", AbbrevEntity_$reflection()]], [["Item", ClassEntity_$reflection()]], [["Item", InterfaceEntity_$reflection()]], [["Item", EnumEntity_$reflection()]], [["Item", MeasureEntity_$reflection()]], [["Item", ExceptionEntity_$reflection()]], [["Item", DelegateEntity_$reflection()]]]);
378
+ }
379
+
380
+ export function Entity__get_Name(this$) {
381
+ switch (this$.tag) {
382
+ case 1: {
383
+ const e_1 = this$.fields[0];
384
+ return e_1.Name;
385
+ }
386
+ case 2: {
387
+ const e_2 = this$.fields[0];
388
+ return e_2.Name;
389
+ }
390
+ case 3: {
391
+ const e_3 = this$.fields[0];
392
+ return e_3.Name;
393
+ }
394
+ case 4: {
395
+ const e_4 = this$.fields[0];
396
+ return e_4.Name;
397
+ }
398
+ case 5: {
399
+ const e_5 = this$.fields[0];
400
+ return e_5.Name;
401
+ }
402
+ case 6: {
403
+ const e_6 = this$.fields[0];
404
+ return e_6.Name;
405
+ }
406
+ case 7: {
407
+ const e_7 = this$.fields[0];
408
+ return e_7.Name;
409
+ }
410
+ case 8: {
411
+ const e_8 = this$.fields[0];
412
+ return e_8.Name;
413
+ }
414
+ default: {
415
+ const e = this$.fields[0];
416
+ return e.Name;
417
+ }
418
+ }
419
+ }
420
+
421
+ export function Entity__get_FullName(this$) {
422
+ switch (this$.tag) {
423
+ case 1: {
424
+ const e_1 = this$.fields[0];
425
+ return e_1.FullName;
426
+ }
427
+ case 2: {
428
+ const e_2 = this$.fields[0];
429
+ return e_2.FullName;
430
+ }
431
+ case 3: {
432
+ const e_3 = this$.fields[0];
433
+ return e_3.FullName;
434
+ }
435
+ case 4: {
436
+ const e_4 = this$.fields[0];
437
+ return e_4.FullName;
438
+ }
439
+ case 5: {
440
+ const e_5 = this$.fields[0];
441
+ return e_5.FullName;
442
+ }
443
+ case 6: {
444
+ const e_6 = this$.fields[0];
445
+ return e_6.FullName;
446
+ }
447
+ case 7: {
448
+ const e_7 = this$.fields[0];
449
+ return e_7.FullName;
450
+ }
451
+ case 8: {
452
+ const e_8 = this$.fields[0];
453
+ return e_8.FullName;
454
+ }
455
+ default: {
456
+ const e = this$.fields[0];
457
+ return e.FullName;
458
+ }
459
+ }
460
+ }
461
+
462
+ export function Entity__get_XmlDoc(this$) {
463
+ switch (this$.tag) {
464
+ case 1: {
465
+ const e_1 = this$.fields[0];
466
+ return e_1.XmlDoc;
467
+ }
468
+ case 2: {
469
+ const e_2 = this$.fields[0];
470
+ return e_2.XmlDoc;
471
+ }
472
+ case 3: {
473
+ const e_3 = this$.fields[0];
474
+ return e_3.XmlDoc;
475
+ }
476
+ case 4: {
477
+ const e_4 = this$.fields[0];
478
+ return e_4.XmlDoc;
479
+ }
480
+ case 5: {
481
+ const e_5 = this$.fields[0];
482
+ return e_5.XmlDoc;
483
+ }
484
+ case 6: {
485
+ const e_6 = this$.fields[0];
486
+ return e_6.XmlDoc;
487
+ }
488
+ case 7: {
489
+ const e_7 = this$.fields[0];
490
+ return e_7.XmlDoc;
491
+ }
492
+ case 8: {
493
+ const e_8 = this$.fields[0];
494
+ return e_8.XmlDoc;
495
+ }
496
+ default: {
497
+ const e = this$.fields[0];
498
+ return e.XmlDoc;
499
+ }
500
+ }
501
+ }
502
+
503
+ export function Entity__get_Declaration(this$) {
504
+ switch (this$.tag) {
505
+ case 1: {
506
+ const e_1 = this$.fields[0];
507
+ return e_1.Declaration;
508
+ }
509
+ case 2: {
510
+ const e_2 = this$.fields[0];
511
+ return e_2.Declaration;
512
+ }
513
+ case 3: {
514
+ const e_3 = this$.fields[0];
515
+ return e_3.Declaration;
516
+ }
517
+ case 4: {
518
+ const e_4 = this$.fields[0];
519
+ return e_4.Declaration;
520
+ }
521
+ case 5: {
522
+ const e_5 = this$.fields[0];
523
+ return e_5.Declaration;
524
+ }
525
+ case 6: {
526
+ const e_6 = this$.fields[0];
527
+ return e_6.Declaration;
528
+ }
529
+ case 7: {
530
+ const e_7 = this$.fields[0];
531
+ return e_7.Declaration;
532
+ }
533
+ case 8: {
534
+ const e_8 = this$.fields[0];
535
+ return e_8.Declaration;
536
+ }
537
+ default: {
538
+ const e = this$.fields[0];
539
+ return e.Declaration;
540
+ }
541
+ }
542
+ }
543
+
544
+ export function Entity__get_ObsoleteInfo(this$) {
545
+ switch (this$.tag) {
546
+ case 1: {
547
+ const e_1 = this$.fields[0];
548
+ return e_1.ObsoleteInfo;
549
+ }
550
+ case 2: {
551
+ const e_2 = this$.fields[0];
552
+ return e_2.ObsoleteInfo;
553
+ }
554
+ case 3: {
555
+ const e_3 = this$.fields[0];
556
+ return e_3.ObsoleteInfo;
557
+ }
558
+ case 4: {
559
+ const e_4 = this$.fields[0];
560
+ return e_4.ObsoleteInfo;
561
+ }
562
+ case 5: {
563
+ const e_5 = this$.fields[0];
564
+ return e_5.ObsoleteInfo;
565
+ }
566
+ case 6: {
567
+ const e_6 = this$.fields[0];
568
+ return e_6.ObsoleteInfo;
569
+ }
570
+ case 7: {
571
+ const e_7 = this$.fields[0];
572
+ return e_7.ObsoleteInfo;
573
+ }
574
+ case 8: {
575
+ const e_8 = this$.fields[0];
576
+ return e_8.ObsoleteInfo;
577
+ }
578
+ default: {
579
+ const e = this$.fields[0];
580
+ return e.ObsoleteInfo;
581
+ }
582
+ }
583
+ }
584
+
585
+ export function Entity__get_IsStruct(this$) {
586
+ switch (this$.tag) {
587
+ case 1: {
588
+ const e_1 = this$.fields[0];
589
+ return e_1.IsStruct;
590
+ }
591
+ case 2: {
592
+ const e_2 = this$.fields[0];
593
+ return e_2.IsStruct;
594
+ }
595
+ case 3: {
596
+ const e_3 = this$.fields[0];
597
+ return e_3.IsStruct;
598
+ }
599
+ case 4: {
600
+ const e_4 = this$.fields[0];
601
+ return e_4.IsStruct;
602
+ }
603
+ case 5: {
604
+ const e_5 = this$.fields[0];
605
+ return e_5.IsStruct;
606
+ }
607
+ case 6:
608
+ return false;
609
+ case 7:
610
+ return false;
611
+ case 8:
612
+ return false;
613
+ default: {
614
+ const e = this$.fields[0];
615
+ return e.IsStruct;
616
+ }
617
+ }
618
+ }
619
+
620
+ export class Module extends Record {
621
+ constructor(Name, FullName, Namespace, XmlDoc, Entities, Functions, Values, IsSynthetic, ObsoleteInfo) {
622
+ super();
623
+ this.Name = Name;
624
+ this.FullName = FullName;
625
+ this.Namespace = Namespace;
626
+ this.XmlDoc = XmlDoc;
627
+ this.Entities = Entities;
628
+ this.Functions = Functions;
629
+ this.Values = Values;
630
+ this.IsSynthetic = IsSynthetic;
631
+ this.ObsoleteInfo = ObsoleteInfo;
632
+ }
633
+ }
634
+
635
+ export function Module_$reflection() {
636
+ return record_type("FSharp.Oracle.Schema.Module", [], Module, () => [["Name", string_type], ["FullName", string_type], ["Namespace", string_type], ["XmlDoc", option_type(string_type)], ["Entities", list_type(Entity_$reflection())], ["Functions", list_type(Function$_$reflection())], ["Values", list_type(Value_$reflection())], ["IsSynthetic", bool_type], ["ObsoleteInfo", ObsoleteInfo_$reflection()]]);
637
+ }
638
+
639
+ export class Namespace extends Record {
640
+ constructor(Name, FullName) {
641
+ super();
642
+ this.Name = Name;
643
+ this.FullName = FullName;
644
+ }
645
+ }
646
+
647
+ export function Namespace_$reflection() {
648
+ return record_type("FSharp.Oracle.Schema.Namespace", [], Namespace, () => [["Name", string_type], ["FullName", string_type]]);
649
+ }
650
+
651
+ export class Assembly extends Record {
652
+ constructor(Name, Namespaces, Modules) {
653
+ super();
654
+ this.Name = Name;
655
+ this.Namespaces = Namespaces;
656
+ this.Modules = Modules;
657
+ }
658
+ }
659
+
660
+ export function Assembly_$reflection() {
661
+ return record_type("FSharp.Oracle.Schema.Assembly", [], Assembly, () => [["Name", string_type], ["Namespaces", list_type(Namespace_$reflection())], ["Modules", list_type(Module_$reflection())]]);
662
+ }
663
+
664
+ export class Root extends Record {
665
+ constructor(Assemblies) {
666
+ super();
667
+ this.Assemblies = Assemblies;
668
+ }
669
+ }
670
+
671
+ export function Root_$reflection() {
672
+ return record_type("FSharp.Oracle.Schema.Root", [], Root, () => [["Assemblies", list_type(Assembly_$reflection())]]);
673
+ }
674
+