@quenk/potoo 4.0.12 → 4.1.2

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 (74) hide show
  1. package/lib/actor/address.d.ts +5 -1
  2. package/lib/actor/address.js +7 -2
  3. package/lib/actor/address.js.map +1 -1
  4. package/lib/actor/system/vm/allocator/index.d.ts +9 -2
  5. package/lib/actor/system/vm/allocator/map.d.ts +2 -1
  6. package/lib/actor/system/vm/allocator/map.js +30 -23
  7. package/lib/actor/system/vm/allocator/map.js.map +1 -1
  8. package/lib/actor/system/vm/event/dispatcher.d.ts +4 -4
  9. package/lib/actor/system/vm/event/dispatcher.js +9 -9
  10. package/lib/actor/system/vm/event/dispatcher.js.map +1 -1
  11. package/lib/actor/system/vm/event/index.d.ts +1 -1
  12. package/lib/actor/system/vm/event/index.js +1 -1
  13. package/lib/actor/system/vm/index.d.ts +16 -9
  14. package/lib/actor/system/vm/index.js +17 -9
  15. package/lib/actor/system/vm/index.js.map +1 -1
  16. package/lib/actor/system/vm/runtime/error.d.ts +0 -42
  17. package/lib/actor/system/vm/runtime/error.js +1 -61
  18. package/lib/actor/system/vm/runtime/error.js.map +1 -1
  19. package/lib/actor/system/vm/thread/collector.d.ts +35 -0
  20. package/lib/actor/system/vm/thread/collector.js +52 -0
  21. package/lib/actor/system/vm/thread/collector.js.map +1 -0
  22. package/lib/actor/system/vm/thread/factory.js +2 -2
  23. package/lib/actor/system/vm/thread/factory.js.map +1 -1
  24. package/lib/actor/system/vm/thread/index.d.ts +5 -0
  25. package/lib/actor/system/vm/thread/index.js.map +1 -1
  26. package/lib/actor/system/vm/thread/process.d.ts +4 -2
  27. package/lib/actor/system/vm/thread/process.js +4 -3
  28. package/lib/actor/system/vm/thread/process.js.map +1 -1
  29. package/lib/actor/system/vm/thread/runner.d.ts +31 -0
  30. package/lib/actor/system/vm/thread/runner.js +60 -0
  31. package/lib/actor/system/vm/thread/runner.js.map +1 -0
  32. package/lib/actor/system/vm/thread/shared/js.d.ts +4 -3
  33. package/lib/actor/system/vm/thread/shared/js.js +18 -6
  34. package/lib/actor/system/vm/thread/shared/js.js.map +1 -1
  35. package/lib/actor/template.d.ts +0 -5
  36. package/lib/actor/template.js +1 -13
  37. package/lib/actor/template.js.map +1 -1
  38. package/package.json +1 -1
  39. package/lib/actor/system/vm/frame.d.ts +0 -228
  40. package/lib/actor/system/vm/frame.js +0 -233
  41. package/lib/actor/system/vm/frame.js.map +0 -1
  42. package/lib/actor/system/vm/object/foreign.d.ts +0 -9
  43. package/lib/actor/system/vm/object/foreign.js +0 -13
  44. package/lib/actor/system/vm/object/foreign.js.map +0 -1
  45. package/lib/actor/system/vm/object/index.d.ts +0 -5
  46. package/lib/actor/system/vm/object/index.js +0 -3
  47. package/lib/actor/system/vm/object/index.js.map +0 -1
  48. package/lib/actor/system/vm/object/list.d.ts +0 -8
  49. package/lib/actor/system/vm/object/list.js +0 -12
  50. package/lib/actor/system/vm/object/list.js.map +0 -1
  51. package/lib/actor/system/vm/op/actor.d.ts +0 -69
  52. package/lib/actor/system/vm/op/actor.js +0 -118
  53. package/lib/actor/system/vm/op/actor.js.map +0 -1
  54. package/lib/actor/system/vm/op/base.d.ts +0 -142
  55. package/lib/actor/system/vm/op/base.js +0 -242
  56. package/lib/actor/system/vm/op/base.js.map +0 -1
  57. package/lib/actor/system/vm/op/index.d.ts +0 -106
  58. package/lib/actor/system/vm/op/index.js +0 -232
  59. package/lib/actor/system/vm/op/index.js.map +0 -1
  60. package/lib/actor/system/vm/op/object.d.ts +0 -31
  61. package/lib/actor/system/vm/op/object.js +0 -78
  62. package/lib/actor/system/vm/op/object.js.map +0 -1
  63. package/lib/actor/system/vm/registry.d.ts +0 -126
  64. package/lib/actor/system/vm/registry.js +0 -191
  65. package/lib/actor/system/vm/registry.js.map +0 -1
  66. package/lib/actor/system/vm/script/index.d.ts +0 -49
  67. package/lib/actor/system/vm/script/index.js +0 -29
  68. package/lib/actor/system/vm/script/index.js.map +0 -1
  69. package/lib/actor/system/vm/script/info.d.ts +0 -279
  70. package/lib/actor/system/vm/script/info.js +0 -256
  71. package/lib/actor/system/vm/script/info.js.map +0 -1
  72. package/lib/actor/system/vm/type.d.ts +0 -90
  73. package/lib/actor/system/vm/type.js +0 -29
  74. package/lib/actor/system/vm/type.js.map +0 -1
@@ -1,49 +0,0 @@
1
- import { Either } from '@quenk/noni/lib/data/either';
2
- import { Err } from '@quenk/noni/lib/control/error';
3
- import { PTNumber, PTString } from '../type';
4
- import { Instruction } from '../op';
5
- import { Info } from './info';
6
- export declare const CONSTANTS_INDEX_NUMBER = 0;
7
- export declare const CONSTANTS_INDEX_STRING = 1;
8
- /**
9
- * Constants is a tuple of immutable values available to a
10
- * Script at runtime.
11
- */
12
- export type Constants = [PTNumber[], PTString[]];
13
- /**
14
- * Script contains the code and supporting information of an actor used by
15
- * the VM for code execution.
16
- */
17
- export interface Script {
18
- /**
19
- * name of the Script.
20
- * This is an absolute path or an id for dynamically generated scripts.
21
- */
22
- name: string;
23
- /**
24
- * constants pool for the actor where certain references are resolved from.
25
- */
26
- constants: Constants;
27
- /**
28
- * info is a table of various named structures within the script source.
29
- */
30
- info: Info[];
31
- /**
32
- * code is the actual instructions the VM will execute.
33
- */
34
- code: Instruction[];
35
- }
36
- /**
37
- * PScript provides a constructor for creating Scripts.
38
- */
39
- export declare class PScript implements Script {
40
- name: string;
41
- constants: Constants;
42
- info: Info[];
43
- code: Instruction[];
44
- constructor(name: string, constants?: Constants, info?: Info[], code?: Instruction[]);
45
- }
46
- /**
47
- * getInfo retrivies an Info object from the info section.
48
- */
49
- export declare const getInfo: (s: Script, idx: number) => Either<Err, Info>;
@@ -1,29 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getInfo = exports.PScript = exports.CONSTANTS_INDEX_STRING = exports.CONSTANTS_INDEX_NUMBER = void 0;
4
- const either_1 = require("@quenk/noni/lib/data/either");
5
- const error_1 = require("../runtime/error");
6
- exports.CONSTANTS_INDEX_NUMBER = 0;
7
- exports.CONSTANTS_INDEX_STRING = 1;
8
- /**
9
- * PScript provides a constructor for creating Scripts.
10
- */
11
- class PScript {
12
- constructor(name, constants = [[], []], info = [], code = []) {
13
- this.name = name;
14
- this.constants = constants;
15
- this.info = info;
16
- this.code = code;
17
- }
18
- }
19
- exports.PScript = PScript;
20
- /**
21
- * getInfo retrivies an Info object from the info section.
22
- */
23
- const getInfo = (s, idx) => {
24
- if (s.info[idx] == null)
25
- return (0, either_1.left)(new error_1.MissingInfoErr(idx));
26
- return (0, either_1.right)(s.info[idx]);
27
- };
28
- exports.getInfo = getInfo;
29
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/actor/system/vm/script/index.ts"],"names":[],"mappings":";;;AAAA,wDAAkE;AAGlE,4CAAkD;AAKrC,QAAA,sBAAsB,GAAG,CAAC,CAAC;AAC3B,QAAA,sBAAsB,GAAG,CAAC,CAAC;AAmCxC;;GAEG;AACH,MAAa,OAAO;IAChB,YACW,IAAY,EACZ,YAAuB,CAAC,EAAE,EAAE,EAAE,CAAC,EAC/B,OAAe,EAAE,EACjB,OAAsB,EAAE;QAHxB,SAAI,GAAJ,IAAI,CAAQ;QACZ,cAAS,GAAT,SAAS,CAAsB;QAC/B,SAAI,GAAJ,IAAI,CAAa;QACjB,SAAI,GAAJ,IAAI,CAAoB;IAChC,CAAC;CACP;AAPD,0BAOC;AAED;;GAEG;AACI,MAAM,OAAO,GAAG,CAAC,CAAS,EAAE,GAAW,EAAqB,EAAE;IACjE,IAAI,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,IAAI,IAAI;QAAE,OAAO,IAAA,aAAI,EAAC,IAAI,sBAAc,CAAC,GAAG,CAAC,CAAC,CAAC;IAE9D,OAAO,IAAA,cAAK,EAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC;AAC9B,CAAC,CAAC;AAJW,QAAA,OAAO,WAIlB"}
@@ -1,279 +0,0 @@
1
- import { ForeignFun, TypeDescriptor } from '../type';
2
- import { Instruction } from '../op';
3
- /**
4
- * Info objects provide important information about named identifiers appearing
5
- * in the compiled source.
6
- */
7
- export interface Info {
8
- /**
9
- * type is the TypeInfo object of the indentifier.
10
- */
11
- type: TypeInfo;
12
- /**
13
- * name of the identifier as it appears in source text.
14
- */
15
- name: string;
16
- /**
17
- * descriptor
18
- */
19
- descriptor: TypeDescriptor;
20
- }
21
- /**
22
- * TypeInfo holds type information about a named identifier.
23
- *
24
- * In effect, it describes the constructor of a symbol and is itself a symbol.
25
- */
26
- export interface TypeInfo extends Info {
27
- /**
28
- * properties is an array of property info objects that describe the
29
- * properties of objects created with this constructor.
30
- */
31
- properties: PropInfo[];
32
- }
33
- /**
34
- * ArrayTypeInfo is a TypeInfo for array types.
35
- *
36
- * This structure exists because arrays can be recursive and may need to
37
- * retain nested type information on their elements.
38
- */
39
- export interface ArrayTypeInfo extends TypeInfo {
40
- /**
41
- * elements indicates the type of the array's elements.
42
- */
43
- elements: TypeInfo;
44
- }
45
- /**
46
- * FunInfo maintains information about compiled functions.
47
- */
48
- export interface FunInfo extends Info {
49
- /**
50
- * argc is the argument count of the function.
51
- */
52
- argc: number;
53
- /**
54
- * code section.
55
- */
56
- code: Instruction[];
57
- /**
58
- * foreign indicates whether the function is implemented using a JS
59
- * function.
60
- * If so, the exec property must be provided.
61
- */
62
- foreign: boolean;
63
- }
64
- /**
65
- * ForeignFunInfo maintains information about foreigin functions.
66
- */
67
- export interface ForeignFunInfo extends FunInfo {
68
- /**
69
- * exec (foreign only).
70
- */
71
- exec: ForeignFun;
72
- }
73
- /**
74
- * PropInfo holds information about a property on an object.
75
- */
76
- export interface PropInfo {
77
- /**
78
- * name of the property.
79
- */
80
- name: string;
81
- /**
82
- * type information about the property.
83
- */
84
- type: TypeInfo;
85
- }
86
- /**
87
- * NewInfo
88
- */
89
- export declare abstract class NewInfo implements Info {
90
- name: string;
91
- constructor(name: string);
92
- abstract type: TypeInfo;
93
- abstract descriptor: number;
94
- }
95
- /**
96
- * VoidInfo
97
- */
98
- export declare class VoidInfo extends NewInfo {
99
- type: NewTypeInfo;
100
- descriptor: number;
101
- }
102
- /**
103
- * NewUInt8Info
104
- */
105
- export declare class NewUInt8Info extends NewInfo {
106
- type: NewTypeInfo;
107
- descriptor: number;
108
- }
109
- /**
110
- * NewUInt16Info
111
- */
112
- export declare class NewUInt16Info extends NewInfo {
113
- type: NewTypeInfo;
114
- descriptor: number;
115
- }
116
- /**
117
- * NewUInt32Info
118
- */
119
- export declare class NewUInt32Info extends NewInfo {
120
- type: NewTypeInfo;
121
- descriptor: number;
122
- }
123
- /**
124
- * NewInt8Info
125
- */
126
- export declare class NewInt8Info extends NewInfo {
127
- type: NewTypeInfo;
128
- descriptor: number;
129
- }
130
- /**
131
- * NewInt16Info
132
- */
133
- export declare class NewInt16Info extends NewInfo {
134
- type: NewTypeInfo;
135
- descriptor: number;
136
- }
137
- /**
138
- * NewInt32Info
139
- */
140
- export declare class NewInt32Info extends NewInfo {
141
- type: NewTypeInfo;
142
- descriptor: number;
143
- }
144
- /**
145
- * NewBooleanInfo
146
- */
147
- export declare class NewBooleanInfo extends NewInfo {
148
- type: NewTypeInfo;
149
- descriptor: number;
150
- }
151
- /**
152
- * NewStringInfo
153
- */
154
- export declare class NewStringInfo extends NewInfo {
155
- type: NewTypeInfo;
156
- descriptor: number;
157
- }
158
- /**
159
- * NewObjectInfo
160
- */
161
- export declare class NewObjectInfo extends NewInfo {
162
- type: NewTypeInfo;
163
- descriptor: number;
164
- }
165
- /**
166
- * NewArrayInfo
167
- */
168
- export declare class NewArrayInfo extends NewInfo {
169
- name: string;
170
- type: ArrayTypeInfo;
171
- constructor(name: string, type: ArrayTypeInfo);
172
- descriptor: number;
173
- }
174
- /**
175
- * NewFunInfo
176
- */
177
- export declare class NewFunInfo extends NewInfo implements FunInfo {
178
- name: string;
179
- argc: number;
180
- code: Instruction[];
181
- constructor(name: string, argc: number, code: Instruction[]);
182
- type: NewTypeInfo;
183
- descriptor: number;
184
- foreign: boolean;
185
- }
186
- /**
187
- * NewForeignFunInfo
188
- */
189
- export declare class NewForeignFunInfo extends NewInfo implements FunInfo {
190
- name: string;
191
- argc: number;
192
- exec: ForeignFun;
193
- constructor(name: string, argc: number, exec: ForeignFun);
194
- type: NewTypeInfo;
195
- descriptor: number;
196
- foreign: boolean;
197
- code: never[];
198
- }
199
- /**
200
- * NewTypeInfo
201
- */
202
- export declare class NewTypeInfo extends NewInfo implements TypeInfo {
203
- name: string;
204
- argc: number;
205
- properties: PropInfo[];
206
- descriptor: number;
207
- constructor(name: string, argc: number, properties: PropInfo[], descriptor?: number);
208
- type: NewTypeInfo;
209
- code: never[];
210
- }
211
- /**
212
- * NewArrayTypeInfo
213
- */
214
- export declare class NewArrayTypeInfo extends NewInfo implements ArrayTypeInfo {
215
- name: string;
216
- elements: TypeInfo;
217
- constructor(name: string, elements: TypeInfo);
218
- type: NewTypeInfo;
219
- argc: number;
220
- properties: never[];
221
- code: never[];
222
- descriptor: number;
223
- }
224
- /**
225
- * NewPropInfo
226
- */
227
- export declare class NewPropInfo implements PropInfo {
228
- name: string;
229
- type: TypeInfo;
230
- constructor(name: string, type: TypeInfo);
231
- }
232
- /**
233
- * voidType constructor.
234
- */
235
- export declare const voidType: NewTypeInfo;
236
- /**
237
- * int8Type constructor.
238
- */
239
- export declare const int8Type: NewTypeInfo;
240
- /**
241
- * int16Type constructor.
242
- */
243
- export declare const int16Type: NewTypeInfo;
244
- /**
245
- * int32type constructor.
246
- */
247
- export declare const int32Type: NewTypeInfo;
248
- /**
249
- * uint8Type constructor.
250
- */
251
- export declare const uint8Type: NewTypeInfo;
252
- /**
253
- * uint16Type constructor.
254
- */
255
- export declare const uint16Type: NewTypeInfo;
256
- /**
257
- * uint32type constructor.
258
- */
259
- export declare const uint32Type: NewTypeInfo;
260
- /**
261
- * booleanType constructor.
262
- */
263
- export declare const booleanType: NewTypeInfo;
264
- /**
265
- * stringType constructor.
266
- */
267
- export declare const stringType: NewTypeInfo;
268
- /**
269
- * arrayType constructor.
270
- */
271
- export declare const arrayType: NewTypeInfo;
272
- /**
273
- * objectCons
274
- */
275
- export declare const objectType: NewTypeInfo;
276
- /**
277
- * funType
278
- */
279
- export declare const funType: NewTypeInfo;
@@ -1,256 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.funType = exports.objectType = exports.arrayType = exports.stringType = exports.booleanType = exports.uint32Type = exports.uint16Type = exports.uint8Type = exports.int32Type = exports.int16Type = exports.int8Type = exports.voidType = exports.NewPropInfo = exports.NewArrayTypeInfo = exports.NewTypeInfo = exports.NewForeignFunInfo = exports.NewFunInfo = exports.NewArrayInfo = exports.NewObjectInfo = exports.NewStringInfo = exports.NewBooleanInfo = exports.NewInt32Info = exports.NewInt16Info = exports.NewInt8Info = exports.NewUInt32Info = exports.NewUInt16Info = exports.NewUInt8Info = exports.VoidInfo = exports.NewInfo = void 0;
4
- const types = require("../type");
5
- /**
6
- * NewInfo
7
- */
8
- class NewInfo {
9
- constructor(name) {
10
- this.name = name;
11
- }
12
- }
13
- exports.NewInfo = NewInfo;
14
- /**
15
- * VoidInfo
16
- */
17
- class VoidInfo extends NewInfo {
18
- constructor() {
19
- super(...arguments);
20
- this.type = exports.voidType;
21
- this.descriptor = types.TYPE_VOID;
22
- }
23
- }
24
- exports.VoidInfo = VoidInfo;
25
- /**
26
- * NewUInt8Info
27
- */
28
- class NewUInt8Info extends NewInfo {
29
- constructor() {
30
- super(...arguments);
31
- this.type = exports.uint8Type;
32
- this.descriptor = types.TYPE_UINT8;
33
- }
34
- }
35
- exports.NewUInt8Info = NewUInt8Info;
36
- /**
37
- * NewUInt16Info
38
- */
39
- class NewUInt16Info extends NewInfo {
40
- constructor() {
41
- super(...arguments);
42
- this.type = exports.uint16Type;
43
- this.descriptor = types.TYPE_UINT16;
44
- }
45
- }
46
- exports.NewUInt16Info = NewUInt16Info;
47
- /**
48
- * NewUInt32Info
49
- */
50
- class NewUInt32Info extends NewInfo {
51
- constructor() {
52
- super(...arguments);
53
- this.type = exports.uint32Type;
54
- this.descriptor = types.TYPE_UINT32;
55
- }
56
- }
57
- exports.NewUInt32Info = NewUInt32Info;
58
- /**
59
- * NewInt8Info
60
- */
61
- class NewInt8Info extends NewInfo {
62
- constructor() {
63
- super(...arguments);
64
- this.type = exports.int8Type;
65
- this.descriptor = types.TYPE_INT8;
66
- }
67
- }
68
- exports.NewInt8Info = NewInt8Info;
69
- /**
70
- * NewInt16Info
71
- */
72
- class NewInt16Info extends NewInfo {
73
- constructor() {
74
- super(...arguments);
75
- this.type = exports.int16Type;
76
- this.descriptor = types.TYPE_INT16;
77
- }
78
- }
79
- exports.NewInt16Info = NewInt16Info;
80
- /**
81
- * NewInt32Info
82
- */
83
- class NewInt32Info extends NewInfo {
84
- constructor() {
85
- super(...arguments);
86
- this.type = exports.int32Type;
87
- this.descriptor = types.TYPE_INT32;
88
- }
89
- }
90
- exports.NewInt32Info = NewInt32Info;
91
- /**
92
- * NewBooleanInfo
93
- */
94
- class NewBooleanInfo extends NewInfo {
95
- constructor() {
96
- super(...arguments);
97
- this.type = exports.booleanType;
98
- this.descriptor = types.TYPE_BOOLEAN;
99
- }
100
- }
101
- exports.NewBooleanInfo = NewBooleanInfo;
102
- /**
103
- * NewStringInfo
104
- */
105
- class NewStringInfo extends NewInfo {
106
- constructor() {
107
- super(...arguments);
108
- this.type = exports.stringType;
109
- this.descriptor = types.TYPE_STRING;
110
- }
111
- }
112
- exports.NewStringInfo = NewStringInfo;
113
- /**
114
- * NewObjectInfo
115
- */
116
- class NewObjectInfo extends NewInfo {
117
- constructor() {
118
- super(...arguments);
119
- this.type = exports.objectType;
120
- this.descriptor = types.TYPE_OBJECT;
121
- }
122
- }
123
- exports.NewObjectInfo = NewObjectInfo;
124
- /**
125
- * NewArrayInfo
126
- */
127
- class NewArrayInfo extends NewInfo {
128
- constructor(name, type) {
129
- super(name);
130
- this.name = name;
131
- this.type = type;
132
- this.descriptor = types.TYPE_LIST;
133
- }
134
- }
135
- exports.NewArrayInfo = NewArrayInfo;
136
- /**
137
- * NewFunInfo
138
- */
139
- class NewFunInfo extends NewInfo {
140
- constructor(name, argc, code) {
141
- super(name);
142
- this.name = name;
143
- this.argc = argc;
144
- this.code = code;
145
- this.type = exports.funType;
146
- this.descriptor = types.TYPE_FUN;
147
- this.foreign = false;
148
- }
149
- }
150
- exports.NewFunInfo = NewFunInfo;
151
- /**
152
- * NewForeignFunInfo
153
- */
154
- class NewForeignFunInfo extends NewInfo {
155
- constructor(name, argc, exec) {
156
- super(name);
157
- this.name = name;
158
- this.argc = argc;
159
- this.exec = exec;
160
- this.type = exports.funType;
161
- this.descriptor = types.TYPE_FUN;
162
- this.foreign = true;
163
- this.code = [];
164
- }
165
- }
166
- exports.NewForeignFunInfo = NewForeignFunInfo;
167
- /**
168
- * NewTypeInfo
169
- */
170
- class NewTypeInfo extends NewInfo {
171
- constructor(name, argc, properties, descriptor = types.TYPE_OBJECT) {
172
- super(name);
173
- this.name = name;
174
- this.argc = argc;
175
- this.properties = properties;
176
- this.descriptor = descriptor;
177
- this.type = exports.funType;
178
- this.code = [];
179
- }
180
- }
181
- exports.NewTypeInfo = NewTypeInfo;
182
- /**
183
- * NewArrayTypeInfo
184
- */
185
- class NewArrayTypeInfo extends NewInfo {
186
- constructor(name, elements) {
187
- super(name);
188
- this.name = name;
189
- this.elements = elements;
190
- this.type = exports.funType;
191
- this.argc = 0;
192
- this.properties = [];
193
- this.code = [];
194
- this.descriptor = types.TYPE_LIST;
195
- }
196
- }
197
- exports.NewArrayTypeInfo = NewArrayTypeInfo;
198
- /**
199
- * NewPropInfo
200
- */
201
- class NewPropInfo {
202
- constructor(name, type) {
203
- this.name = name;
204
- this.type = type;
205
- }
206
- }
207
- exports.NewPropInfo = NewPropInfo;
208
- /**
209
- * voidType constructor.
210
- */
211
- exports.voidType = new NewTypeInfo('void', 0, [], types.TYPE_VOID);
212
- /**
213
- * int8Type constructor.
214
- */
215
- exports.int8Type = new NewTypeInfo('int8', 1, [], types.TYPE_INT8);
216
- /**
217
- * int16Type constructor.
218
- */
219
- exports.int16Type = new NewTypeInfo('int16', 1, [], types.TYPE_INT16);
220
- /**
221
- * int32type constructor.
222
- */
223
- exports.int32Type = new NewTypeInfo('int32', 1, [], types.TYPE_INT32);
224
- /**
225
- * uint8Type constructor.
226
- */
227
- exports.uint8Type = new NewTypeInfo('uint8', 1, [], types.TYPE_UINT8);
228
- /**
229
- * uint16Type constructor.
230
- */
231
- exports.uint16Type = new NewTypeInfo('uint16', 1, [], types.TYPE_UINT16);
232
- /**
233
- * uint32type constructor.
234
- */
235
- exports.uint32Type = new NewTypeInfo('uint32', 1, [], types.TYPE_UINT32);
236
- /**
237
- * booleanType constructor.
238
- */
239
- exports.booleanType = new NewTypeInfo('boolean', 1, [], types.TYPE_BOOLEAN);
240
- /**
241
- * stringType constructor.
242
- */
243
- exports.stringType = new NewTypeInfo('string', 1, [], types.TYPE_STRING);
244
- /**
245
- * arrayType constructor.
246
- */
247
- exports.arrayType = new NewTypeInfo('array', 0, [], types.TYPE_LIST);
248
- /**
249
- * objectCons
250
- */
251
- exports.objectType = new NewTypeInfo('object', 0, [], types.TYPE_OBJECT);
252
- /**
253
- * funType
254
- */
255
- exports.funType = new NewTypeInfo('function', 0, [], types.TYPE_FUN);
256
- //# sourceMappingURL=info.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"info.js","sourceRoot":"","sources":["../../../../../src/actor/system/vm/script/info.ts"],"names":[],"mappings":";;;AAAA,iCAAiC;AAmGjC;;GAEG;AACH,MAAsB,OAAO;IACzB,YAAmB,IAAY;QAAZ,SAAI,GAAJ,IAAI,CAAQ;IAAG,CAAC;CAKtC;AAND,0BAMC;AAED;;GAEG;AACH,MAAa,QAAS,SAAQ,OAAO;IAArC;;QACI,SAAI,GAAG,gBAAQ,CAAC;QAEhB,eAAU,GAAG,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