astn 0.110.20 → 0.110.22

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 (138) hide show
  1. package/dist/generated/implementation/generic/resolve.d.ts +41 -10
  2. package/dist/generated/implementation/generic/resolve.js +75 -50
  3. package/dist/generated/implementation/generic/unmarshall.d.ts +15 -10
  4. package/dist/generated/implementation/generic/unmarshall.js +124 -55
  5. package/dist/generated/implementation/schemas/ast/marshall.d.ts +6 -6
  6. package/dist/generated/implementation/schemas/ast/marshall.js +9 -4
  7. package/dist/generated/implementation/schemas/ast/unmarshall.js +142 -66
  8. package/dist/generated/implementation/schemas/ide/marshall.d.ts +3 -3
  9. package/dist/generated/implementation/schemas/ide/marshall.js +1 -1
  10. package/dist/generated/implementation/schemas/ide/unmarshall.js +26 -16
  11. package/dist/generated/implementation/schemas/parse_result/marshall.d.ts +2 -2
  12. package/dist/generated/implementation/schemas/parse_result/marshall.js +3 -3
  13. package/dist/generated/implementation/schemas/parse_result/unmarshall.js +50 -38
  14. package/dist/generated/implementation/schemas/target/marshall.d.ts +2 -2
  15. package/dist/generated/implementation/schemas/target/marshall.js +1 -1
  16. package/dist/generated/implementation/schemas/target/unmarshall.js +43 -29
  17. package/dist/generated/implementation/schemas/token/marshall.d.ts +10 -10
  18. package/dist/generated/implementation/schemas/token/marshall.js +8 -4
  19. package/dist/generated/implementation/schemas/token/unmarshall.js +93 -54
  20. package/dist/generated/interface/core/astn_source.d.ts +8 -8
  21. package/dist/generated/interface/core/astn_target.d.ts +15 -15
  22. package/dist/generated/interface/core/resolve.d.ts +6 -6
  23. package/dist/generated/interface/core/resolved.d.ts +46 -46
  24. package/dist/generated/interface/core/unconstrained.d.ts +10 -10
  25. package/dist/generated/interface/core/unresolved.d.ts +84 -87
  26. package/dist/generated/interface/schemas/ast/data_types/unconstrained.d.ts +952 -0
  27. package/dist/generated/interface/schemas/{target_json → ast/data_types}/unconstrained.js +1 -1
  28. package/dist/generated/interface/schemas/ast/marshall.d.ts +44 -87
  29. package/dist/generated/interface/schemas/ast/migrate_boilerplate.d.ts +2 -2
  30. package/dist/generated/interface/schemas/ast/unmarshall.d.ts +56 -7
  31. package/dist/generated/interface/schemas/ast/value_deserializers.d.ts +44 -0
  32. package/dist/generated/interface/schemas/ast/value_deserializers.js +3 -0
  33. package/dist/generated/interface/schemas/ast/value_serializers.d.ts +44 -0
  34. package/dist/generated/interface/schemas/ast/value_serializers.js +3 -0
  35. package/dist/generated/interface/schemas/ide/data_types/unconstrained.d.ts +190 -0
  36. package/dist/generated/interface/schemas/ide/data_types/unconstrained.js +3 -0
  37. package/dist/generated/interface/schemas/ide/marshall.d.ts +23 -66
  38. package/dist/generated/interface/schemas/ide/migrate_boilerplate.d.ts +2 -2
  39. package/dist/generated/interface/schemas/ide/unmarshall.d.ts +29 -4
  40. package/dist/generated/interface/schemas/ide/value_deserializers.d.ts +44 -0
  41. package/dist/generated/interface/schemas/ide/value_deserializers.js +3 -0
  42. package/dist/generated/interface/schemas/ide/value_serializers.d.ts +44 -0
  43. package/dist/generated/interface/schemas/ide/value_serializers.js +3 -0
  44. package/dist/generated/interface/schemas/parse_result/data_types/unconstrained.d.ts +268 -0
  45. package/dist/generated/interface/schemas/parse_result/data_types/unconstrained.js +3 -0
  46. package/dist/generated/interface/schemas/parse_result/marshall.d.ts +16 -59
  47. package/dist/generated/interface/schemas/parse_result/migrate_boilerplate.d.ts +2 -2
  48. package/dist/generated/interface/schemas/parse_result/unmarshall.d.ts +20 -3
  49. package/dist/generated/interface/schemas/parse_result/value_deserializers.d.ts +44 -0
  50. package/dist/generated/interface/schemas/parse_result/value_deserializers.js +3 -0
  51. package/dist/generated/interface/schemas/parse_result/value_serializers.d.ts +44 -0
  52. package/dist/generated/interface/schemas/parse_result/value_serializers.js +3 -0
  53. package/dist/generated/{generic/astn_target.d.ts → interface/schemas/target/data_types/unconstrained.d.ts} +1 -1
  54. package/dist/generated/interface/schemas/target/data_types/unconstrained.js +3 -0
  55. package/dist/generated/interface/schemas/target/marshall.d.ts +16 -79
  56. package/dist/generated/interface/schemas/target/migrate_boilerplate.d.ts +2 -2
  57. package/dist/generated/interface/schemas/target/unmarshall.d.ts +20 -3
  58. package/dist/generated/interface/schemas/target/value_deserializers.d.ts +64 -0
  59. package/dist/generated/interface/schemas/target/value_deserializers.js +3 -0
  60. package/dist/generated/interface/schemas/target/{serializer.d.ts → value_serializers.d.ts} +0 -62
  61. package/dist/generated/interface/schemas/target/value_serializers.js +3 -0
  62. package/dist/generated/interface/schemas/token/data_types/unconstrained.d.ts +328 -0
  63. package/dist/generated/interface/schemas/token/data_types/unconstrained.js +3 -0
  64. package/dist/generated/interface/schemas/token/marshall.d.ts +72 -115
  65. package/dist/generated/interface/schemas/token/migrate_boilerplate.d.ts +2 -2
  66. package/dist/generated/interface/schemas/token/unmarshall.d.ts +92 -11
  67. package/dist/generated/interface/schemas/token/value_deserializers.d.ts +44 -0
  68. package/dist/generated/interface/schemas/token/value_deserializers.js +3 -0
  69. package/dist/generated/interface/schemas/token/value_serializers.d.ts +44 -0
  70. package/dist/generated/interface/schemas/token/value_serializers.js +3 -0
  71. package/dist/parse/ast.d.ts +3 -3
  72. package/dist/parse/ast.js +1 -5
  73. package/dist/parse/astn_parse_generic.d.ts +2 -2
  74. package/dist/parse/parse.d.ts +1 -1
  75. package/dist/parse/token.d.ts +1 -1
  76. package/dist/parse/token.js +5 -1
  77. package/dist/serializers/parse_result.d.ts +1 -1
  78. package/dist/transformations/ast/ide.d.ts +3 -3
  79. package/dist/transformations/ast/ide.js +2 -1
  80. package/dist/transformations/ast/json_target.d.ts +1 -1
  81. package/dist/transformations/ast/json_target.js +2 -1
  82. package/dist/transformations/ast/temp_value_range.d.ts +7 -0
  83. package/dist/transformations/ast/temp_value_range.js +77 -0
  84. package/dist/transformations/target/fountain_pen_block.d.ts +1 -1
  85. package/package.json +3 -3
  86. package/dist/generated/generic/astn_target.js +0 -3
  87. package/dist/generated/generic/resolve.d.ts +0 -90
  88. package/dist/generated/generic/resolve.js +0 -251
  89. package/dist/generated/implementation/schemas/ast/migration_boilerplate.d.ts +0 -14
  90. package/dist/generated/implementation/schemas/ast/migration_boilerplate.js +0 -179
  91. package/dist/generated/implementation/schemas/ast/serializer.d.ts +0 -14
  92. package/dist/generated/implementation/schemas/ast/serializer.js +0 -328
  93. package/dist/generated/implementation/schemas/ide/migration_boilerplate.d.ts +0 -3
  94. package/dist/generated/implementation/schemas/ide/migration_boilerplate.js +0 -58
  95. package/dist/generated/implementation/schemas/ide/serializer.d.ts +0 -3
  96. package/dist/generated/implementation/schemas/ide/serializer.js +0 -72
  97. package/dist/generated/implementation/schemas/parse_result/migration_boilerplate.d.ts +0 -6
  98. package/dist/generated/implementation/schemas/parse_result/migration_boilerplate.js +0 -136
  99. package/dist/generated/implementation/schemas/parse_result/serializer.d.ts +0 -6
  100. package/dist/generated/implementation/schemas/parse_result/serializer.js +0 -288
  101. package/dist/generated/implementation/schemas/target/migration_boilerplate.d.ts +0 -3
  102. package/dist/generated/implementation/schemas/target/migration_boilerplate.js +0 -73
  103. package/dist/generated/implementation/schemas/target/serializer.d.ts +0 -3
  104. package/dist/generated/implementation/schemas/target/serializer.js +0 -122
  105. package/dist/generated/implementation/schemas/target_json/migration_boilerplate.d.ts +0 -3
  106. package/dist/generated/implementation/schemas/target_json/migration_boilerplate.js +0 -67
  107. package/dist/generated/interface/core/poormans_parser.d.ts +0 -184
  108. package/dist/generated/interface/core/poormans_parser.js +0 -3
  109. package/dist/generated/interface/generic/resolve.d.ts +0 -11
  110. package/dist/generated/interface/generic/resolve.js +0 -3
  111. package/dist/generated/interface/schemas/ast/migration_boilerplate.d.ts +0 -288
  112. package/dist/generated/interface/schemas/ast/migration_boilerplate.js +0 -3
  113. package/dist/generated/interface/schemas/ast/serializer.d.ts +0 -436
  114. package/dist/generated/interface/schemas/ast/serializer.js +0 -3
  115. package/dist/generated/interface/schemas/ide/migration_boilerplate.d.ts +0 -46
  116. package/dist/generated/interface/schemas/ide/migration_boilerplate.js +0 -3
  117. package/dist/generated/interface/schemas/ide/serializer.d.ts +0 -106
  118. package/dist/generated/interface/schemas/ide/serializer.js +0 -3
  119. package/dist/generated/interface/schemas/parse_result/migration_boilerplate.d.ts +0 -112
  120. package/dist/generated/interface/schemas/parse_result/migration_boilerplate.js +0 -3
  121. package/dist/generated/interface/schemas/parse_result/serializer.d.ts +0 -196
  122. package/dist/generated/interface/schemas/parse_result/serializer.js +0 -3
  123. package/dist/generated/interface/schemas/target/migration_boilerplate.d.ts +0 -46
  124. package/dist/generated/interface/schemas/target/migration_boilerplate.js +0 -3
  125. package/dist/generated/interface/schemas/target/serializer.js +0 -3
  126. package/dist/generated/interface/schemas/target_json/migration_boilerplate.d.ts +0 -46
  127. package/dist/generated/interface/schemas/target_json/migration_boilerplate.js +0 -3
  128. package/dist/generated/interface/schemas/target_json/unconstrained.d.ts +0 -169
  129. package/dist/index.d.ts +0 -6
  130. package/dist/index.js +0 -33
  131. package/dist/parse/parse_generic.d.ts +0 -8
  132. package/dist/parse/parse_generic.js +0 -65
  133. package/dist/parse/tokenize.d.ts +0 -8
  134. package/dist/parse/tokenize.js +0 -483
  135. package/dist/serializers/json.d.ts +0 -5
  136. package/dist/serializers/json.js +0 -36
  137. package/dist/transformations/target_json/fountain_pen_block.d.ts +0 -4
  138. package/dist/transformations/target_json/fountain_pen_block.js +0 -91
@@ -1,124 +1,61 @@
1
- import * as _i_in from "./unconstrained";
1
+ import * as _i_in from "./data_types/unconstrained";
2
2
  import * as _i_out from "../../core/astn_target";
3
- export type _T_Value_Serializers = {
4
- readonly 'boolean': ($$_: boolean, $$_p: null) => string;
5
- readonly 'custom numbers': {
6
- readonly 'Position': ($$_: number, $$_p: null) => string;
7
- };
8
- readonly 'default number': ($$_: number, $$_p: null) => string;
9
- };
10
- export type _T_s_Document = ($$_: _i_in._T_Document, $$_p: {
11
- readonly 'value serializers': _T_Value_Serializers;
3
+ import * as _i_vs from "./value_serializers";
4
+ export type _T_Document = ($$_: _i_in._T_Document, $$_p: {
5
+ readonly 'value serializers': _i_vs._T_Value_Serializers;
12
6
  }) => _i_out._T_Value;
13
- export type _T_s_Value = ($$_: _i_in._T_Value, $$_p: {
14
- readonly 'value serializers': _T_Value_Serializers;
7
+ export type _T_Value = ($$_: _i_in._T_Value, $$_p: {
8
+ readonly 'value serializers': _i_vs._T_Value_Serializers;
15
9
  }) => _i_out._T_Value;
16
- export type Value_Serializers = _T_Value_Serializers;
17
- export type s_Document = _T_s_Document;
18
- export type s_Value = _T_s_Value;
19
- export declare namespace _T_Value_Serializers {
20
- namespace _boolean {
21
- type CONTEXT = boolean;
22
- namespace PARAMS {
23
- }
24
- type RESULT = string;
25
- }
26
- type _boolean = ($$_: boolean, $$_p: null) => string;
27
- namespace custom_numbers {
28
- namespace Position {
29
- type CONTEXT = number;
30
- namespace PARAMS {
31
- }
32
- type RESULT = string;
33
- }
34
- type Position = ($$_: number, $$_p: null) => string;
35
- }
36
- type custom_numbers = {
37
- readonly 'Position': ($$_: number, $$_p: null) => string;
38
- };
39
- namespace default_number {
40
- type CONTEXT = number;
41
- namespace PARAMS {
42
- }
43
- type RESULT = string;
44
- }
45
- type default_number = ($$_: number, $$_p: null) => string;
46
- }
47
- export declare namespace _T_s_Document {
10
+ export type Document = _T_Document;
11
+ export type Value = _T_Value;
12
+ export declare namespace _T_Document {
48
13
  namespace CONTEXT {
49
14
  }
50
15
  type CONTEXT = _i_in._T_Document;
51
16
  namespace PARAMS {
52
17
  namespace value_serializers {
53
18
  }
54
- type value_serializers = _T_Value_Serializers;
19
+ type value_serializers = _i_vs._T_Value_Serializers;
55
20
  }
56
21
  namespace RESULT {
57
22
  }
58
23
  type RESULT = _i_out._T_Value;
59
24
  }
60
- export declare namespace _T_s_Value {
25
+ export declare namespace _T_Value {
61
26
  namespace CONTEXT {
62
27
  }
63
28
  type CONTEXT = _i_in._T_Value;
64
29
  namespace PARAMS {
65
30
  namespace value_serializers {
66
31
  }
67
- type value_serializers = _T_Value_Serializers;
32
+ type value_serializers = _i_vs._T_Value_Serializers;
68
33
  }
69
34
  namespace RESULT {
70
35
  }
71
36
  type RESULT = _i_out._T_Value;
72
37
  }
73
- export declare namespace Value_Serializers {
74
- namespace _boolean {
75
- type CONTEXT = boolean;
76
- namespace PARAMS {
77
- }
78
- type RESULT = string;
79
- }
80
- type _boolean = ($$_: boolean, $$_p: null) => string;
81
- namespace custom_numbers {
82
- namespace Position {
83
- type CONTEXT = number;
84
- namespace PARAMS {
85
- }
86
- type RESULT = string;
87
- }
88
- type Position = ($$_: number, $$_p: null) => string;
89
- }
90
- type custom_numbers = {
91
- readonly 'Position': ($$_: number, $$_p: null) => string;
92
- };
93
- namespace default_number {
94
- type CONTEXT = number;
95
- namespace PARAMS {
96
- }
97
- type RESULT = string;
98
- }
99
- type default_number = ($$_: number, $$_p: null) => string;
100
- }
101
- export declare namespace s_Document {
38
+ export declare namespace Document {
102
39
  namespace CONTEXT {
103
40
  }
104
41
  type CONTEXT = _i_in._T_Document;
105
42
  namespace PARAMS {
106
43
  namespace value_serializers {
107
44
  }
108
- type value_serializers = _T_Value_Serializers;
45
+ type value_serializers = _i_vs._T_Value_Serializers;
109
46
  }
110
47
  namespace RESULT {
111
48
  }
112
49
  type RESULT = _i_out._T_Value;
113
50
  }
114
- export declare namespace s_Value {
51
+ export declare namespace Value {
115
52
  namespace CONTEXT {
116
53
  }
117
54
  type CONTEXT = _i_in._T_Value;
118
55
  namespace PARAMS {
119
56
  namespace value_serializers {
120
57
  }
121
- type value_serializers = _T_Value_Serializers;
58
+ type value_serializers = _i_vs._T_Value_Serializers;
122
59
  }
123
60
  namespace RESULT {
124
61
  }
@@ -1,5 +1,5 @@
1
- import * as _i_in from "./unconstrained";
2
- import * as _i_out from "./unconstrained";
1
+ import * as _i_in from "./data_types/unconstrained";
2
+ import * as _i_out from "./data_types/unconstrained";
3
3
  export type _T_Document = ($$_: _i_in._T_Document, $$_p: null) => _i_out._T_Document;
4
4
  export type _T_Value = ($$_: _i_in._T_Value, $$_p: null) => _i_out._T_Value;
5
5
  export type Document = _T_Document;
@@ -1,7 +1,12 @@
1
1
  import * as _i_in from "../../core/astn_source";
2
- import * as _i_out from "./unconstrained";
3
- export type _T_Document = ($$_: _i_in._T_Value, $$_p: null) => _i_out._T_Document;
4
- export type _T_Value = ($$_: _i_in._T_Value, $$_p: null) => _i_out._T_Value;
2
+ import * as _i_out from "./data_types/unconstrained";
3
+ import * as _i_vd from "./value_deserializers";
4
+ export type _T_Document = ($$_: _i_in._T_Value, $$_p: {
5
+ readonly 'value deserializers': _i_vd._T_Value_Deserializers;
6
+ }) => _i_out._T_Document;
7
+ export type _T_Value = ($$_: _i_in._T_Value, $$_p: {
8
+ readonly 'value deserializers': _i_vd._T_Value_Deserializers;
9
+ }) => _i_out._T_Value;
5
10
  export type Document = _T_Document;
6
11
  export type Value = _T_Value;
7
12
  export declare namespace _T_Document {
@@ -9,6 +14,9 @@ export declare namespace _T_Document {
9
14
  }
10
15
  type CONTEXT = _i_in._T_Value;
11
16
  namespace PARAMS {
17
+ namespace value_deserializers {
18
+ }
19
+ type value_deserializers = _i_vd._T_Value_Deserializers;
12
20
  }
13
21
  namespace RESULT {
14
22
  }
@@ -19,6 +27,9 @@ export declare namespace _T_Value {
19
27
  }
20
28
  type CONTEXT = _i_in._T_Value;
21
29
  namespace PARAMS {
30
+ namespace value_deserializers {
31
+ }
32
+ type value_deserializers = _i_vd._T_Value_Deserializers;
22
33
  }
23
34
  namespace RESULT {
24
35
  }
@@ -29,6 +40,9 @@ export declare namespace Document {
29
40
  }
30
41
  type CONTEXT = _i_in._T_Value;
31
42
  namespace PARAMS {
43
+ namespace value_deserializers {
44
+ }
45
+ type value_deserializers = _i_vd._T_Value_Deserializers;
32
46
  }
33
47
  namespace RESULT {
34
48
  }
@@ -39,6 +53,9 @@ export declare namespace Value {
39
53
  }
40
54
  type CONTEXT = _i_in._T_Value;
41
55
  namespace PARAMS {
56
+ namespace value_deserializers {
57
+ }
58
+ type value_deserializers = _i_vd._T_Value_Deserializers;
42
59
  }
43
60
  namespace RESULT {
44
61
  }
@@ -0,0 +1,64 @@
1
+ export type _T_Value_Deserializers = {
2
+ readonly 'boolean': ($$_: string, $$_p: null) => boolean;
3
+ readonly 'custom numbers': {
4
+ readonly 'Position': ($$_: string, $$_p: null) => number;
5
+ };
6
+ readonly 'default number': ($$_: string, $$_p: null) => number;
7
+ };
8
+ export type Value_Deserializers = _T_Value_Deserializers;
9
+ export declare namespace _T_Value_Deserializers {
10
+ namespace _boolean {
11
+ type CONTEXT = string;
12
+ namespace PARAMS {
13
+ }
14
+ type RESULT = boolean;
15
+ }
16
+ type _boolean = ($$_: string, $$_p: null) => boolean;
17
+ namespace custom_numbers {
18
+ namespace Position {
19
+ type CONTEXT = string;
20
+ namespace PARAMS {
21
+ }
22
+ type RESULT = number;
23
+ }
24
+ type Position = ($$_: string, $$_p: null) => number;
25
+ }
26
+ type custom_numbers = {
27
+ readonly 'Position': ($$_: string, $$_p: null) => number;
28
+ };
29
+ namespace default_number {
30
+ type CONTEXT = string;
31
+ namespace PARAMS {
32
+ }
33
+ type RESULT = number;
34
+ }
35
+ type default_number = ($$_: string, $$_p: null) => number;
36
+ }
37
+ export declare namespace Value_Deserializers {
38
+ namespace _boolean {
39
+ type CONTEXT = string;
40
+ namespace PARAMS {
41
+ }
42
+ type RESULT = boolean;
43
+ }
44
+ type _boolean = ($$_: string, $$_p: null) => boolean;
45
+ namespace custom_numbers {
46
+ namespace Position {
47
+ type CONTEXT = string;
48
+ namespace PARAMS {
49
+ }
50
+ type RESULT = number;
51
+ }
52
+ type Position = ($$_: string, $$_p: null) => number;
53
+ }
54
+ type custom_numbers = {
55
+ readonly 'Position': ($$_: string, $$_p: null) => number;
56
+ };
57
+ namespace default_number {
58
+ type CONTEXT = string;
59
+ namespace PARAMS {
60
+ }
61
+ type RESULT = number;
62
+ }
63
+ type default_number = ($$_: string, $$_p: null) => number;
64
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmFsdWVfZGVzZXJpYWxpemVycy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9nZW5lcmF0ZWQvaW50ZXJmYWNlL3NjaGVtYXMvdGFyZ2V0L3ZhbHVlX2Rlc2VyaWFsaXplcnMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiJ9
@@ -1,5 +1,3 @@
1
- import * as _i_in from "./unconstrained";
2
- import * as _i_out from "../../core/astn_target";
3
1
  export type _T_Value_Serializers = {
4
2
  readonly 'boolean': ($$_: boolean, $$_p: null) => string;
5
3
  readonly 'custom numbers': {
@@ -7,15 +5,7 @@ export type _T_Value_Serializers = {
7
5
  };
8
6
  readonly 'default number': ($$_: number, $$_p: null) => string;
9
7
  };
10
- export type _T_s_Document = ($$_: _i_in._T_Document, $$_p: {
11
- readonly 'value serializers': _T_Value_Serializers;
12
- }) => _i_out._T_Value;
13
- export type _T_s_Value = ($$_: _i_in._T_Value, $$_p: {
14
- readonly 'value serializers': _T_Value_Serializers;
15
- }) => _i_out._T_Value;
16
8
  export type Value_Serializers = _T_Value_Serializers;
17
- export type s_Document = _T_s_Document;
18
- export type s_Value = _T_s_Value;
19
9
  export declare namespace _T_Value_Serializers {
20
10
  namespace _boolean {
21
11
  type CONTEXT = boolean;
@@ -44,32 +34,6 @@ export declare namespace _T_Value_Serializers {
44
34
  }
45
35
  type default_number = ($$_: number, $$_p: null) => string;
46
36
  }
47
- export declare namespace _T_s_Document {
48
- namespace CONTEXT {
49
- }
50
- type CONTEXT = _i_in._T_Document;
51
- namespace PARAMS {
52
- namespace value_serializers {
53
- }
54
- type value_serializers = _T_Value_Serializers;
55
- }
56
- namespace RESULT {
57
- }
58
- type RESULT = _i_out._T_Value;
59
- }
60
- export declare namespace _T_s_Value {
61
- namespace CONTEXT {
62
- }
63
- type CONTEXT = _i_in._T_Value;
64
- namespace PARAMS {
65
- namespace value_serializers {
66
- }
67
- type value_serializers = _T_Value_Serializers;
68
- }
69
- namespace RESULT {
70
- }
71
- type RESULT = _i_out._T_Value;
72
- }
73
37
  export declare namespace Value_Serializers {
74
38
  namespace _boolean {
75
39
  type CONTEXT = boolean;
@@ -98,29 +62,3 @@ export declare namespace Value_Serializers {
98
62
  }
99
63
  type default_number = ($$_: number, $$_p: null) => string;
100
64
  }
101
- export declare namespace s_Document {
102
- namespace CONTEXT {
103
- }
104
- type CONTEXT = _i_in._T_Document;
105
- namespace PARAMS {
106
- namespace value_serializers {
107
- }
108
- type value_serializers = _T_Value_Serializers;
109
- }
110
- namespace RESULT {
111
- }
112
- type RESULT = _i_out._T_Value;
113
- }
114
- export declare namespace s_Value {
115
- namespace CONTEXT {
116
- }
117
- type CONTEXT = _i_in._T_Value;
118
- namespace PARAMS {
119
- namespace value_serializers {
120
- }
121
- type value_serializers = _T_Value_Serializers;
122
- }
123
- namespace RESULT {
124
- }
125
- type RESULT = _i_out._T_Value;
126
- }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmFsdWVfc2VyaWFsaXplcnMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvZ2VuZXJhdGVkL2ludGVyZmFjZS9zY2hlbWFzL3RhcmdldC92YWx1ZV9zZXJpYWxpemVycy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIn0=
@@ -0,0 +1,328 @@
1
+ import * as _i_core from "../../../core/unconstrained";
2
+ export type _T_Annotated_Token = {
3
+ readonly 'end': _T_Location;
4
+ readonly 'start': _T_Location;
5
+ readonly 'trailing trivia': _T_Trivia;
6
+ readonly 'type': _T_Token_Type;
7
+ };
8
+ export type _T_Delimited_String = string;
9
+ export type _T_Location = {
10
+ readonly 'absolute': number;
11
+ readonly 'relative': _T_Relative_Location;
12
+ };
13
+ export type _T_Range = {
14
+ readonly 'end': _T_Location;
15
+ readonly 'start': _T_Location;
16
+ };
17
+ export type _T_Relative_Location = {
18
+ readonly 'column': number;
19
+ readonly 'line': number;
20
+ };
21
+ export type _T_String_Type = _i_core._T_State_Group<null, readonly ['apostrophed', null] | readonly ['backticked', null] | readonly ['quoted', null] | readonly ['undelimited', null]>;
22
+ export type _T_Token_Type = _i_core._T_State_Group<null, readonly ['!', null] | readonly ['#', null] | readonly ['(', null] | readonly [')', null] | readonly ['*', null] | readonly [',', null] | readonly [':', null] | readonly ['<', null] | readonly ['>', null] | readonly ['@', null] | readonly ['[', null] | readonly [']', null] | readonly [
23
+ 'string',
24
+ {
25
+ readonly 'type': _T_String_Type;
26
+ readonly 'value': _T_Delimited_String;
27
+ }
28
+ ] | readonly ['{', null] | readonly ['|', null] | readonly ['}', null] | readonly ['~', null]>;
29
+ export type _T_Tokenizer_Result = {
30
+ readonly 'end': _T_Location;
31
+ readonly 'leading trivia': _T_Trivia;
32
+ readonly 'tokens': _i_core._T_List<null, _T_Annotated_Token>;
33
+ };
34
+ export type _T_Trivia = {
35
+ readonly 'comments': _i_core._T_List<null, {
36
+ readonly 'content': string;
37
+ readonly 'range': _T_Range;
38
+ readonly 'trailing whitespace': _T_Whitespace;
39
+ readonly 'type': _i_core._T_State_Group<null, readonly ['block', null] | readonly ['line', null]>;
40
+ }>;
41
+ readonly 'leading whitespace': _T_Whitespace;
42
+ };
43
+ export type _T_Whitespace = {
44
+ readonly 'range': _T_Range;
45
+ readonly 'value': string;
46
+ };
47
+ export type Annotated_Token = _T_Annotated_Token;
48
+ export type Delimited_String = _T_Delimited_String;
49
+ export type Location = _T_Location;
50
+ export type Range = _T_Range;
51
+ export type Relative_Location = _T_Relative_Location;
52
+ export type String_Type = _T_String_Type;
53
+ export type Token_Type = _T_Token_Type;
54
+ export type Tokenizer_Result = _T_Tokenizer_Result;
55
+ export type Trivia = _T_Trivia;
56
+ export type Whitespace = _T_Whitespace;
57
+ export declare namespace _T_Annotated_Token {
58
+ namespace end {
59
+ }
60
+ type end = _T_Location;
61
+ namespace start {
62
+ }
63
+ type start = _T_Location;
64
+ namespace trailing_trivia {
65
+ }
66
+ type trailing_trivia = _T_Trivia;
67
+ namespace _type {
68
+ }
69
+ type _type = _T_Token_Type;
70
+ }
71
+ export declare namespace _T_Location {
72
+ type absolute = number;
73
+ namespace relative {
74
+ }
75
+ type relative = _T_Relative_Location;
76
+ }
77
+ export declare namespace _T_Range {
78
+ namespace end {
79
+ }
80
+ type end = _T_Location;
81
+ namespace start {
82
+ }
83
+ type start = _T_Location;
84
+ }
85
+ export declare namespace _T_Relative_Location {
86
+ type column = number;
87
+ type line = number;
88
+ }
89
+ export declare namespace _T_String_Type {
90
+ namespace SG {
91
+ type apostrophed = null;
92
+ type backticked = null;
93
+ type quoted = null;
94
+ type undelimited = null;
95
+ }
96
+ type SG = readonly ['apostrophed', null] | readonly ['backticked', null] | readonly ['quoted', null] | readonly ['undelimited', null];
97
+ }
98
+ export declare namespace _T_Token_Type {
99
+ namespace SG {
100
+ type $ex_ = null;
101
+ type $ha_ = null;
102
+ type $po_ = null;
103
+ type $pc_ = null;
104
+ type $sr_ = null;
105
+ type $cm_ = null;
106
+ type $cl_ = null;
107
+ type $st_ = null;
108
+ type $gt_ = null;
109
+ type $at_ = null;
110
+ type $bo_ = null;
111
+ type $bc_ = null;
112
+ namespace _string {
113
+ namespace _type {
114
+ }
115
+ type _type = _T_String_Type;
116
+ namespace value {
117
+ }
118
+ type value = _T_Delimited_String;
119
+ }
120
+ type _string = {
121
+ readonly 'type': _T_String_Type;
122
+ readonly 'value': _T_Delimited_String;
123
+ };
124
+ type $co_ = null;
125
+ type $vb_ = null;
126
+ type $cc_ = null;
127
+ type $ti_ = null;
128
+ }
129
+ type SG = readonly ['!', null] | readonly ['#', null] | readonly ['(', null] | readonly [')', null] | readonly ['*', null] | readonly [',', null] | readonly [':', null] | readonly ['<', null] | readonly ['>', null] | readonly ['@', null] | readonly ['[', null] | readonly [']', null] | readonly [
130
+ 'string',
131
+ {
132
+ readonly 'type': _T_String_Type;
133
+ readonly 'value': _T_Delimited_String;
134
+ }
135
+ ] | readonly ['{', null] | readonly ['|', null] | readonly ['}', null] | readonly ['~', null];
136
+ }
137
+ export declare namespace _T_Tokenizer_Result {
138
+ namespace end {
139
+ }
140
+ type end = _T_Location;
141
+ namespace leading_trivia {
142
+ }
143
+ type leading_trivia = _T_Trivia;
144
+ namespace tokens {
145
+ namespace L {
146
+ }
147
+ type L = _T_Annotated_Token;
148
+ }
149
+ type tokens = _i_core._T_List<null, _T_Annotated_Token>;
150
+ }
151
+ export declare namespace _T_Trivia {
152
+ namespace comments {
153
+ namespace L {
154
+ type content = string;
155
+ namespace range {
156
+ }
157
+ type range = _T_Range;
158
+ namespace trailing_whitespace {
159
+ }
160
+ type trailing_whitespace = _T_Whitespace;
161
+ namespace _type {
162
+ namespace SG {
163
+ type block = null;
164
+ type line = null;
165
+ }
166
+ type SG = readonly ['block', null] | readonly ['line', null];
167
+ }
168
+ type _type = _i_core._T_State_Group<null, readonly ['block', null] | readonly ['line', null]>;
169
+ }
170
+ type L = {
171
+ readonly 'content': string;
172
+ readonly 'range': _T_Range;
173
+ readonly 'trailing whitespace': _T_Whitespace;
174
+ readonly 'type': _i_core._T_State_Group<null, readonly ['block', null] | readonly ['line', null]>;
175
+ };
176
+ }
177
+ type comments = _i_core._T_List<null, {
178
+ readonly 'content': string;
179
+ readonly 'range': _T_Range;
180
+ readonly 'trailing whitespace': _T_Whitespace;
181
+ readonly 'type': _i_core._T_State_Group<null, readonly ['block', null] | readonly ['line', null]>;
182
+ }>;
183
+ namespace leading_whitespace {
184
+ }
185
+ type leading_whitespace = _T_Whitespace;
186
+ }
187
+ export declare namespace _T_Whitespace {
188
+ namespace range {
189
+ }
190
+ type range = _T_Range;
191
+ type value = string;
192
+ }
193
+ export declare namespace Annotated_Token {
194
+ namespace end {
195
+ }
196
+ type end = _T_Location;
197
+ namespace start {
198
+ }
199
+ type start = _T_Location;
200
+ namespace trailing_trivia {
201
+ }
202
+ type trailing_trivia = _T_Trivia;
203
+ namespace _type {
204
+ }
205
+ type _type = _T_Token_Type;
206
+ }
207
+ export declare namespace Location {
208
+ type absolute = number;
209
+ namespace relative {
210
+ }
211
+ type relative = _T_Relative_Location;
212
+ }
213
+ export declare namespace Range {
214
+ namespace end {
215
+ }
216
+ type end = _T_Location;
217
+ namespace start {
218
+ }
219
+ type start = _T_Location;
220
+ }
221
+ export declare namespace Relative_Location {
222
+ type column = number;
223
+ type line = number;
224
+ }
225
+ export declare namespace String_Type {
226
+ namespace SG {
227
+ type apostrophed = null;
228
+ type backticked = null;
229
+ type quoted = null;
230
+ type undelimited = null;
231
+ }
232
+ type SG = readonly ['apostrophed', null] | readonly ['backticked', null] | readonly ['quoted', null] | readonly ['undelimited', null];
233
+ }
234
+ export declare namespace Token_Type {
235
+ namespace SG {
236
+ type $ex_ = null;
237
+ type $ha_ = null;
238
+ type $po_ = null;
239
+ type $pc_ = null;
240
+ type $sr_ = null;
241
+ type $cm_ = null;
242
+ type $cl_ = null;
243
+ type $st_ = null;
244
+ type $gt_ = null;
245
+ type $at_ = null;
246
+ type $bo_ = null;
247
+ type $bc_ = null;
248
+ namespace _string {
249
+ namespace _type {
250
+ }
251
+ type _type = _T_String_Type;
252
+ namespace value {
253
+ }
254
+ type value = _T_Delimited_String;
255
+ }
256
+ type _string = {
257
+ readonly 'type': _T_String_Type;
258
+ readonly 'value': _T_Delimited_String;
259
+ };
260
+ type $co_ = null;
261
+ type $vb_ = null;
262
+ type $cc_ = null;
263
+ type $ti_ = null;
264
+ }
265
+ type SG = readonly ['!', null] | readonly ['#', null] | readonly ['(', null] | readonly [')', null] | readonly ['*', null] | readonly [',', null] | readonly [':', null] | readonly ['<', null] | readonly ['>', null] | readonly ['@', null] | readonly ['[', null] | readonly [']', null] | readonly [
266
+ 'string',
267
+ {
268
+ readonly 'type': _T_String_Type;
269
+ readonly 'value': _T_Delimited_String;
270
+ }
271
+ ] | readonly ['{', null] | readonly ['|', null] | readonly ['}', null] | readonly ['~', null];
272
+ }
273
+ export declare namespace Tokenizer_Result {
274
+ namespace end {
275
+ }
276
+ type end = _T_Location;
277
+ namespace leading_trivia {
278
+ }
279
+ type leading_trivia = _T_Trivia;
280
+ namespace tokens {
281
+ namespace L {
282
+ }
283
+ type L = _T_Annotated_Token;
284
+ }
285
+ type tokens = _i_core._T_List<null, _T_Annotated_Token>;
286
+ }
287
+ export declare namespace Trivia {
288
+ namespace comments {
289
+ namespace L {
290
+ type content = string;
291
+ namespace range {
292
+ }
293
+ type range = _T_Range;
294
+ namespace trailing_whitespace {
295
+ }
296
+ type trailing_whitespace = _T_Whitespace;
297
+ namespace _type {
298
+ namespace SG {
299
+ type block = null;
300
+ type line = null;
301
+ }
302
+ type SG = readonly ['block', null] | readonly ['line', null];
303
+ }
304
+ type _type = _i_core._T_State_Group<null, readonly ['block', null] | readonly ['line', null]>;
305
+ }
306
+ type L = {
307
+ readonly 'content': string;
308
+ readonly 'range': _T_Range;
309
+ readonly 'trailing whitespace': _T_Whitespace;
310
+ readonly 'type': _i_core._T_State_Group<null, readonly ['block', null] | readonly ['line', null]>;
311
+ };
312
+ }
313
+ type comments = _i_core._T_List<null, {
314
+ readonly 'content': string;
315
+ readonly 'range': _T_Range;
316
+ readonly 'trailing whitespace': _T_Whitespace;
317
+ readonly 'type': _i_core._T_State_Group<null, readonly ['block', null] | readonly ['line', null]>;
318
+ }>;
319
+ namespace leading_whitespace {
320
+ }
321
+ type leading_whitespace = _T_Whitespace;
322
+ }
323
+ export declare namespace Whitespace {
324
+ namespace range {
325
+ }
326
+ type range = _T_Range;
327
+ type value = string;
328
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidW5jb25zdHJhaW5lZC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy9nZW5lcmF0ZWQvaW50ZXJmYWNlL3NjaGVtYXMvdG9rZW4vZGF0YV90eXBlcy91bmNvbnN0cmFpbmVkLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIifQ==