@keymanapp/kmc-ldml 18.0.8-alpha → 18.0.10-alpha
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -0
- package/build/src/compiler/compiler.d.ts +69 -8
- package/build/src/compiler/compiler.d.ts.map +1 -1
- package/build/src/compiler/compiler.js +51 -14
- package/build/src/compiler/compiler.js.map +1 -1
- package/build/src/compiler/disp.d.ts +2 -2
- package/build/src/compiler/disp.d.ts.map +1 -1
- package/build/src/compiler/disp.js +9 -6
- package/build/src/compiler/disp.js.map +1 -1
- package/build/src/compiler/keys.d.ts +2 -2
- package/build/src/compiler/keys.d.ts.map +1 -1
- package/build/src/compiler/keys.js +8 -9
- package/build/src/compiler/keys.js.map +1 -1
- package/build/src/compiler/ldml-compiler-options.d.ts +4 -0
- package/build/src/compiler/ldml-compiler-options.d.ts.map +1 -1
- package/build/src/compiler/ldml-compiler-options.js +2 -2
- package/build/src/compiler/ldml-compiler-options.js.map +1 -1
- package/build/src/compiler/messages.d.ts +42 -43
- package/build/src/compiler/messages.d.ts.map +1 -1
- package/build/src/compiler/messages.js +47 -45
- package/build/src/compiler/messages.js.map +1 -1
- package/build/src/compiler/substitution-tracker.d.ts +48 -0
- package/build/src/compiler/substitution-tracker.d.ts.map +1 -0
- package/build/src/compiler/{marker-tracker.js → substitution-tracker.js} +47 -17
- package/build/src/compiler/substitution-tracker.js.map +1 -0
- package/build/src/compiler/tran.d.ts +2 -2
- package/build/src/compiler/tran.d.ts.map +1 -1
- package/build/src/compiler/tran.js +21 -8
- package/build/src/compiler/tran.js.map +1 -1
- package/build/src/compiler/vars.d.ts +5 -5
- package/build/src/compiler/vars.d.ts.map +1 -1
- package/build/src/compiler/vars.js +88 -85
- package/build/src/compiler/vars.js.map +1 -1
- package/build/src/main.d.ts +0 -5
- package/build/src/main.d.ts.map +1 -1
- package/build/src/main.js +2 -7
- package/build/src/main.js.map +1 -1
- package/package.json +6 -6
- package/build/src/compiler/marker-tracker.d.ts +0 -34
- package/build/src/compiler/marker-tracker.d.ts.map +0 -1
- package/build/src/compiler/marker-tracker.js.map +0 -1
|
@@ -1,18 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @internal
|
|
3
|
+
*/
|
|
1
4
|
export declare class CompilerMessages {
|
|
2
|
-
static Hint_NormalizationDisabled: () => import("@keymanapp/common-types").CompilerEvent;
|
|
3
5
|
static HINT_NormalizationDisabled: number;
|
|
6
|
+
static Hint_NormalizationDisabled: () => import("@keymanapp/common-types").CompilerEvent;
|
|
7
|
+
static ERROR_InvalidLocale: number;
|
|
4
8
|
static Error_InvalidLocale: (o: {
|
|
5
9
|
tag: string;
|
|
6
10
|
}) => import("@keymanapp/common-types").CompilerEvent;
|
|
7
|
-
static ERROR_InvalidLocale: number;
|
|
8
|
-
static Error_HardwareLayerHasTooManyRows: () => import("@keymanapp/common-types").CompilerEvent;
|
|
9
11
|
static ERROR_HardwareLayerHasTooManyRows: number;
|
|
12
|
+
static Error_HardwareLayerHasTooManyRows: () => import("@keymanapp/common-types").CompilerEvent;
|
|
13
|
+
static ERROR_RowOnHardwareLayerHasTooManyKeys: number;
|
|
10
14
|
static Error_RowOnHardwareLayerHasTooManyKeys: (o: {
|
|
11
15
|
row: number;
|
|
12
16
|
hardware: string;
|
|
13
17
|
modifiers: string;
|
|
14
18
|
}) => import("@keymanapp/common-types").CompilerEvent;
|
|
15
|
-
static
|
|
19
|
+
static ERROR_KeyNotFoundInKeyBag: number;
|
|
16
20
|
static Error_KeyNotFoundInKeyBag: (o: {
|
|
17
21
|
keyId: string;
|
|
18
22
|
col: number;
|
|
@@ -20,153 +24,148 @@ export declare class CompilerMessages {
|
|
|
20
24
|
layer: string;
|
|
21
25
|
form: string;
|
|
22
26
|
}) => import("@keymanapp/common-types").CompilerEvent;
|
|
23
|
-
static ERROR_KeyNotFoundInKeyBag: number;
|
|
24
|
-
static Hint_OneOrMoreRepeatedLocales: () => import("@keymanapp/common-types").CompilerEvent;
|
|
25
27
|
static HINT_OneOrMoreRepeatedLocales: number;
|
|
28
|
+
static Hint_OneOrMoreRepeatedLocales: () => import("@keymanapp/common-types").CompilerEvent;
|
|
29
|
+
static ERROR_InvalidFile: number;
|
|
26
30
|
static Error_InvalidFile: (o: {
|
|
27
31
|
errorText: string;
|
|
28
32
|
}) => import("@keymanapp/common-types").CompilerEvent;
|
|
29
|
-
static
|
|
33
|
+
static HINT_LocaleIsNotMinimalAndClean: number;
|
|
30
34
|
static Hint_LocaleIsNotMinimalAndClean: (o: {
|
|
31
35
|
sourceLocale: string;
|
|
32
36
|
locale: string;
|
|
33
37
|
}) => import("@keymanapp/common-types").CompilerEvent;
|
|
34
|
-
static
|
|
38
|
+
static ERROR_InvalidScanCode: number;
|
|
35
39
|
static Error_InvalidScanCode: (o: {
|
|
36
40
|
form?: string;
|
|
37
41
|
codes?: string[];
|
|
38
42
|
}) => import("@keymanapp/common-types").CompilerEvent;
|
|
39
|
-
static
|
|
43
|
+
static WARN_CustomForm: number;
|
|
40
44
|
static Warn_CustomForm: (o: {
|
|
41
45
|
id: string;
|
|
42
46
|
}) => import("@keymanapp/common-types").CompilerEvent;
|
|
43
|
-
static
|
|
47
|
+
static ERROR_GestureKeyNotFoundInKeyBag: number;
|
|
44
48
|
static Error_GestureKeyNotFoundInKeyBag: (o: {
|
|
45
49
|
keyId: string;
|
|
46
50
|
parentKeyId: string;
|
|
47
51
|
attribute: string;
|
|
48
52
|
}) => import("@keymanapp/common-types").CompilerEvent;
|
|
49
|
-
static
|
|
53
|
+
static ERROR_InvalidVersion: number;
|
|
50
54
|
static Error_InvalidVersion: (o: {
|
|
51
55
|
version: string;
|
|
52
56
|
}) => import("@keymanapp/common-types").CompilerEvent;
|
|
53
|
-
static ERROR_InvalidVersion: number;
|
|
54
|
-
static Error_MustBeAtLeastOneLayerElement: () => import("@keymanapp/common-types").CompilerEvent;
|
|
55
57
|
static ERROR_MustBeAtLeastOneLayerElement: number;
|
|
56
|
-
static
|
|
57
|
-
sect: string;
|
|
58
|
-
}) => import("@keymanapp/common-types").CompilerEvent;
|
|
59
|
-
static FATAL_SectionCompilerFailed: number;
|
|
58
|
+
static Error_MustBeAtLeastOneLayerElement: () => import("@keymanapp/common-types").CompilerEvent;
|
|
60
59
|
/** annotate the to= or id= entry */
|
|
61
60
|
private static outputOrKeyId;
|
|
61
|
+
static ERROR_DisplayIsRepeated: number;
|
|
62
62
|
static Error_DisplayIsRepeated: (o: {
|
|
63
63
|
output?: string;
|
|
64
64
|
keyId?: string;
|
|
65
65
|
}) => import("@keymanapp/common-types").CompilerEvent;
|
|
66
|
-
static
|
|
66
|
+
static ERROR_KeyMissingToGapOrSwitch: number;
|
|
67
67
|
static Error_KeyMissingToGapOrSwitch: (o: {
|
|
68
68
|
keyId: string;
|
|
69
69
|
}) => import("@keymanapp/common-types").CompilerEvent;
|
|
70
|
-
static
|
|
70
|
+
static ERROR_ExcessHardware: number;
|
|
71
71
|
static Error_ExcessHardware: (o: {
|
|
72
72
|
formId: string;
|
|
73
73
|
}) => import("@keymanapp/common-types").CompilerEvent;
|
|
74
|
-
static
|
|
74
|
+
static ERROR_InvalidHardware: number;
|
|
75
75
|
static Error_InvalidHardware: (o: {
|
|
76
76
|
formId: string;
|
|
77
77
|
}) => import("@keymanapp/common-types").CompilerEvent;
|
|
78
|
-
static
|
|
78
|
+
static ERROR_InvalidModifier: number;
|
|
79
79
|
static Error_InvalidModifier: (o: {
|
|
80
80
|
layer: string;
|
|
81
81
|
modifiers: string;
|
|
82
82
|
}) => import("@keymanapp/common-types").CompilerEvent;
|
|
83
|
-
static
|
|
83
|
+
static ERROR_MissingFlicks: number;
|
|
84
84
|
static Error_MissingFlicks: (o: {
|
|
85
85
|
flickId: string;
|
|
86
86
|
id: string;
|
|
87
87
|
}) => import("@keymanapp/common-types").CompilerEvent;
|
|
88
|
-
static
|
|
88
|
+
static ERROR_DuplicateVariable: number;
|
|
89
89
|
static Error_DuplicateVariable: (o: {
|
|
90
90
|
ids: string;
|
|
91
91
|
}) => import("@keymanapp/common-types").CompilerEvent;
|
|
92
|
-
static
|
|
92
|
+
static ERROR_InvalidTransformsType: number;
|
|
93
93
|
static Error_InvalidTransformsType: (o: {
|
|
94
94
|
types: string[];
|
|
95
95
|
}) => import("@keymanapp/common-types").CompilerEvent;
|
|
96
|
-
static
|
|
96
|
+
static ERROR_DuplicateTransformsType: number;
|
|
97
97
|
static Error_DuplicateTransformsType: (o: {
|
|
98
98
|
types: string[];
|
|
99
99
|
}) => import("@keymanapp/common-types").CompilerEvent;
|
|
100
|
-
static ERROR_DuplicateTransformsType: number;
|
|
101
|
-
static Error_MixedTransformGroup: () => import("@keymanapp/common-types").CompilerEvent;
|
|
102
100
|
static ERROR_MixedTransformGroup: number;
|
|
103
|
-
static
|
|
101
|
+
static Error_MixedTransformGroup: () => import("@keymanapp/common-types").CompilerEvent;
|
|
104
102
|
static ERROR_EmptyTransformGroup: number;
|
|
103
|
+
static Error_EmptyTransformGroup: () => import("@keymanapp/common-types").CompilerEvent;
|
|
104
|
+
static ERROR_MissingStringVariable: number;
|
|
105
105
|
static Error_MissingStringVariable: (o: {
|
|
106
106
|
id: string;
|
|
107
107
|
}) => import("@keymanapp/common-types").CompilerEvent;
|
|
108
|
-
static
|
|
108
|
+
static ERROR_MissingSetVariable: number;
|
|
109
109
|
static Error_MissingSetVariable: (o: {
|
|
110
110
|
id: string;
|
|
111
111
|
}) => import("@keymanapp/common-types").CompilerEvent;
|
|
112
|
-
static
|
|
112
|
+
static ERROR_MissingUnicodeSetVariable: number;
|
|
113
113
|
static Error_MissingUnicodeSetVariable: (o: {
|
|
114
114
|
id: string;
|
|
115
115
|
}) => import("@keymanapp/common-types").CompilerEvent;
|
|
116
|
-
static
|
|
116
|
+
static ERROR_NeedSpacesBetweenSetVariables: number;
|
|
117
117
|
static Error_NeedSpacesBetweenSetVariables: (o: {
|
|
118
118
|
item: string;
|
|
119
119
|
}) => import("@keymanapp/common-types").CompilerEvent;
|
|
120
|
-
static
|
|
120
|
+
static ERROR_CantReferenceSetFromUnicodeSet: number;
|
|
121
121
|
static Error_CantReferenceSetFromUnicodeSet: (o: {
|
|
122
122
|
id: string;
|
|
123
123
|
}) => import("@keymanapp/common-types").CompilerEvent;
|
|
124
|
-
static
|
|
124
|
+
static ERROR_MissingMarkers: number;
|
|
125
125
|
static Error_MissingMarkers: (o: {
|
|
126
126
|
ids: string[];
|
|
127
127
|
}) => import("@keymanapp/common-types").CompilerEvent;
|
|
128
|
-
static
|
|
128
|
+
static ERROR_DisplayNeedsToOrId: number;
|
|
129
129
|
static Error_DisplayNeedsToOrId: (o: {
|
|
130
130
|
output?: string;
|
|
131
131
|
keyId?: string;
|
|
132
132
|
}) => import("@keymanapp/common-types").CompilerEvent;
|
|
133
|
-
static
|
|
133
|
+
static HINT_PUACharacters: number;
|
|
134
134
|
static Hint_PUACharacters: (o: {
|
|
135
135
|
count: number;
|
|
136
136
|
lowestCh: number;
|
|
137
137
|
}) => import("@keymanapp/common-types").CompilerEvent;
|
|
138
|
-
static
|
|
138
|
+
static WARN_UnassignedCharacters: number;
|
|
139
139
|
static Warn_UnassignedCharacters: (o: {
|
|
140
140
|
count: number;
|
|
141
141
|
lowestCh: number;
|
|
142
142
|
}) => import("@keymanapp/common-types").CompilerEvent;
|
|
143
|
-
static
|
|
143
|
+
static ERROR_IllegalCharacters: number;
|
|
144
144
|
static Error_IllegalCharacters: (o: {
|
|
145
145
|
count: number;
|
|
146
146
|
lowestCh: number;
|
|
147
147
|
}) => import("@keymanapp/common-types").CompilerEvent;
|
|
148
|
-
static
|
|
148
|
+
static HINT_CharClassImplicitDenorm: number;
|
|
149
149
|
static Hint_CharClassImplicitDenorm: (o: {
|
|
150
150
|
lowestCh: number;
|
|
151
151
|
}) => import("@keymanapp/common-types").CompilerEvent;
|
|
152
|
-
static
|
|
152
|
+
static WARN_CharClassExplicitDenorm: number;
|
|
153
153
|
static Warn_CharClassExplicitDenorm: (o: {
|
|
154
154
|
lowestCh: number;
|
|
155
155
|
}) => import("@keymanapp/common-types").CompilerEvent;
|
|
156
|
-
static
|
|
156
|
+
static ERROR_UnparseableReorderSet: number;
|
|
157
157
|
static Error_UnparseableReorderSet: (o: {
|
|
158
158
|
from: string;
|
|
159
159
|
set: string;
|
|
160
160
|
}) => import("@keymanapp/common-types").CompilerEvent;
|
|
161
|
-
static
|
|
161
|
+
static ERROR_UnparseableTransformFrom: number;
|
|
162
162
|
static Error_UnparseableTransformFrom: (o: {
|
|
163
163
|
from: string;
|
|
164
164
|
message: string;
|
|
165
165
|
}) => import("@keymanapp/common-types").CompilerEvent;
|
|
166
|
-
static
|
|
166
|
+
static ERROR_InvalidQuadEscape: number;
|
|
167
167
|
static Error_InvalidQuadEscape: (o: {
|
|
168
168
|
cp: number;
|
|
169
169
|
}) => import("@keymanapp/common-types").CompilerEvent;
|
|
170
|
-
static ERROR_InvalidQuadEscape: number;
|
|
171
170
|
}
|
|
172
171
|
//# sourceMappingURL=messages.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"messages.d.ts","sourceRoot":"","sources":["../../../src/compiler/messages.ts"],"names":[],"mappings":"AAOA,qBAAa,gBAAgB;IAC3B,MAAM,CAAC,0BAA0B,
|
|
1
|
+
{"version":3,"file":"messages.d.ts","sourceRoot":"","sources":["../../../src/compiler/messages.ts"],"names":[],"mappings":"AAOA;;GAEG;AACH,qBAAa,gBAAgB;IAC3B,MAAM,CAAC,0BAA0B,SAAoB;IACrD,MAAM,CAAC,0BAA0B,wDAA0F;IAE3H,MAAM,CAAC,mBAAmB,SAAqB;IAC/C,MAAM,CAAC,mBAAmB,MAAM;QAAC,GAAG,EAAE,MAAM,CAAA;KAAC,qDAA+E;IAE5H,MAAM,CAAC,iCAAiC,SAAqB;IAC7D,MAAM,CAAC,iCAAiC,wDAAyF;IAEjI,MAAM,CAAC,sCAAsC,SAAqB;IAClE,MAAM,CAAC,sCAAsC,MAAM;QAAC,GAAG,EAAE,MAAM,C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AAqB;IACnD,MAAM,CAAC,uBAAuB,MAAO;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAA;KAAE,qDAC+D;IAEvI,MAAM,CAAC,4BAA4B,SAAoB;IACvD,MAAM,CAAC,4BAA4B,MAAO;QAAE,QAAQ,EAAE,MAAM,CAAA;KAAE,qDACsH;IAEpL,MAAM,CAAC,4BAA4B,SAAoB;IACvD,MAAM,CAAC,4BAA4B,MAAO;QAAE,QAAQ,EAAE,MAAM,CAAA;KAAE,qDAC0H;IAExL,MAAM,CAAC,2BAA2B,SAAqB;IACvD,MAAM,CAAC,2BAA2B,MAAO;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,MAAM,CAAA;KAAE,qDAC+B;IAErG,MAAM,CAAC,8BAA8B,SAAqB;IAC1D,MAAM,CAAC,8BAA8B,MAAO;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE,qDACyB;IAEtG,MAAM,CAAC,uBAAuB,SAAqB;IACnD,MAAM,CAAC,uBAAuB,MAAO;QAAE,EAAE,EAAE,MAAM,CAAA;KAAE,qDACiF;CACrI"}
|
|
@@ -1,40 +1,42 @@
|
|
|
1
|
-
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="
|
|
2
|
-
import { util, CompilerErrorNamespace, CompilerErrorSeverity, CompilerMessageSpec as m } from "@keymanapp/common-types";
|
|
1
|
+
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="88e58129-a932-5a0a-9fed-3912e5a5d584")}catch(e){}}();
|
|
2
|
+
import { util, CompilerErrorNamespace, CompilerErrorSeverity, CompilerMessageSpec as m, CompilerMessageDef as def } from "@keymanapp/common-types";
|
|
3
3
|
// const SevInfo = CompilerErrorSeverity.Info | CompilerErrorNamespace.LdmlKeyboardCompiler;
|
|
4
4
|
const SevHint = CompilerErrorSeverity.Hint | CompilerErrorNamespace.LdmlKeyboardCompiler;
|
|
5
5
|
const SevWarn = CompilerErrorSeverity.Warn | CompilerErrorNamespace.LdmlKeyboardCompiler;
|
|
6
6
|
const SevError = CompilerErrorSeverity.Error | CompilerErrorNamespace.LdmlKeyboardCompiler;
|
|
7
|
-
const SevFatal = CompilerErrorSeverity.Fatal | CompilerErrorNamespace.LdmlKeyboardCompiler;
|
|
7
|
+
// const SevFatal = CompilerErrorSeverity.Fatal | CompilerErrorNamespace.LdmlKeyboardCompiler;
|
|
8
|
+
/**
|
|
9
|
+
* @internal
|
|
10
|
+
*/
|
|
8
11
|
export class CompilerMessages {
|
|
9
|
-
static Hint_NormalizationDisabled = () => m(this.HINT_NormalizationDisabled, `normalization=disabled is not recommended.`);
|
|
10
12
|
static HINT_NormalizationDisabled = SevHint | 0x0001;
|
|
11
|
-
static
|
|
13
|
+
static Hint_NormalizationDisabled = () => m(this.HINT_NormalizationDisabled, `normalization=disabled is not recommended.`);
|
|
12
14
|
static ERROR_InvalidLocale = SevError | 0x0002;
|
|
13
|
-
static
|
|
15
|
+
static Error_InvalidLocale = (o) => m(this.ERROR_InvalidLocale, `Invalid BCP 47 locale form '${def(o.tag)}'`);
|
|
14
16
|
static ERROR_HardwareLayerHasTooManyRows = SevError | 0x0003;
|
|
15
|
-
static
|
|
17
|
+
static Error_HardwareLayerHasTooManyRows = () => m(this.ERROR_HardwareLayerHasTooManyRows, `'hardware' layer has too many rows`);
|
|
16
18
|
static ERROR_RowOnHardwareLayerHasTooManyKeys = SevError | 0x0004;
|
|
17
|
-
static
|
|
19
|
+
static Error_RowOnHardwareLayerHasTooManyKeys = (o) => m(this.ERROR_RowOnHardwareLayerHasTooManyKeys, `Row #${def(o.row)} on 'hardware' ${def(o.hardware)} layer for modifier ${o.modifiers || 'none'} has too many keys`);
|
|
18
20
|
static ERROR_KeyNotFoundInKeyBag = SevError | 0x0005;
|
|
19
|
-
static
|
|
21
|
+
static Error_KeyNotFoundInKeyBag = (o) => m(this.ERROR_KeyNotFoundInKeyBag, `Key '${def(o.keyId)}' in position #${def(o.col)} on row #${def(o.row)} of layer ${def(o.layer)}, form '${def(o.form)}' not found in key bag`);
|
|
20
22
|
static HINT_OneOrMoreRepeatedLocales = SevHint | 0x0006;
|
|
21
|
-
static
|
|
23
|
+
static Hint_OneOrMoreRepeatedLocales = () => m(this.HINT_OneOrMoreRepeatedLocales, `After minimization, one or more locales is repeated and has been removed`);
|
|
22
24
|
static ERROR_InvalidFile = SevError | 0x0007;
|
|
23
|
-
static
|
|
25
|
+
static Error_InvalidFile = (o) => m(this.ERROR_InvalidFile, `The source file has an invalid structure: ${def(o.errorText)}`);
|
|
24
26
|
static HINT_LocaleIsNotMinimalAndClean = SevHint | 0x0008;
|
|
25
|
-
static
|
|
27
|
+
static Hint_LocaleIsNotMinimalAndClean = (o) => m(this.HINT_LocaleIsNotMinimalAndClean, `Locale '${def(o.sourceLocale)}' is not minimal or correctly formatted and should be '${def(o.locale)}'`);
|
|
26
28
|
static ERROR_InvalidScanCode = SevError | 0x0009;
|
|
27
|
-
static
|
|
29
|
+
static Error_InvalidScanCode = (o) => m(this.ERROR_InvalidScanCode, `Form '${def(o.form)}' has invalid/unknown scancodes '${def(o.codes?.join(' '))}'`);
|
|
28
30
|
static WARN_CustomForm = SevWarn | 0x000A;
|
|
29
|
-
static
|
|
31
|
+
static Warn_CustomForm = (o) => m(this.WARN_CustomForm, `Custom <form id="${def(o.id)}"> element. Key layout may not be as expected.`);
|
|
30
32
|
static ERROR_GestureKeyNotFoundInKeyBag = SevError | 0x000B;
|
|
33
|
+
static Error_GestureKeyNotFoundInKeyBag = (o) => m(this.ERROR_GestureKeyNotFoundInKeyBag, `Key '${def(o.keyId)}' not found in key bag, referenced from other '${def(o.parentKeyId)}' in ${def(o.attribute)}`);
|
|
31
34
|
// 0x000C - available
|
|
32
|
-
static Error_InvalidVersion = (o) => m(this.ERROR_InvalidVersion, `Version number '${o.version}' must be a semantic version format string.`);
|
|
33
35
|
static ERROR_InvalidVersion = SevError | 0x000D;
|
|
34
|
-
static
|
|
36
|
+
static Error_InvalidVersion = (o) => m(this.ERROR_InvalidVersion, `Version number '${def(o.version)}' must be a semantic version format string.`);
|
|
35
37
|
static ERROR_MustBeAtLeastOneLayerElement = SevError | 0x000E;
|
|
36
|
-
static
|
|
37
|
-
|
|
38
|
+
static Error_MustBeAtLeastOneLayerElement = () => m(this.ERROR_MustBeAtLeastOneLayerElement, `The source file must contain at least one layer element.`);
|
|
39
|
+
// 0x000F - available
|
|
38
40
|
/** annotate the to= or id= entry */
|
|
39
41
|
static outputOrKeyId(o) {
|
|
40
42
|
if (o.output && o.keyId) {
|
|
@@ -50,59 +52,59 @@ export class CompilerMessages {
|
|
|
50
52
|
return '';
|
|
51
53
|
}
|
|
52
54
|
}
|
|
53
|
-
static Error_DisplayIsRepeated = (o) => m(this.ERROR_DisplayIsRepeated, `display ${CompilerMessages.outputOrKeyId(o)} has more than one display entry.`);
|
|
54
55
|
static ERROR_DisplayIsRepeated = SevError | 0x0010;
|
|
55
|
-
static
|
|
56
|
+
static Error_DisplayIsRepeated = (o) => m(this.ERROR_DisplayIsRepeated, `display ${CompilerMessages.outputOrKeyId(o)} has more than one display entry.`);
|
|
56
57
|
static ERROR_KeyMissingToGapOrSwitch = SevError | 0x0011;
|
|
57
|
-
static
|
|
58
|
+
static Error_KeyMissingToGapOrSwitch = (o) => m(this.ERROR_KeyMissingToGapOrSwitch, `key id='${def(o.keyId)}' must have either output=, gap=, or layerId=.`);
|
|
58
59
|
static ERROR_ExcessHardware = SevError | 0x0012;
|
|
59
|
-
static
|
|
60
|
+
static Error_ExcessHardware = (o) => m(this.ERROR_ExcessHardware, `layers formId=${def(o.formId)}: Can only have one non-'touch' element`);
|
|
60
61
|
static ERROR_InvalidHardware = SevError | 0x0013;
|
|
61
|
-
static
|
|
62
|
+
static Error_InvalidHardware = (o) => m(this.ERROR_InvalidHardware, `layers has invalid value formId=${def(o.formId)}`);
|
|
62
63
|
static ERROR_InvalidModifier = SevError | 0x0014;
|
|
63
|
-
static
|
|
64
|
+
static Error_InvalidModifier = (o) => m(this.ERROR_InvalidModifier, `layer has invalid modifiers='${def(o.modifiers)}' on layer id=${def(o.layer)}`);
|
|
64
65
|
static ERROR_MissingFlicks = SevError | 0x0015;
|
|
65
|
-
static
|
|
66
|
+
static Error_MissingFlicks = (o) => m(this.ERROR_MissingFlicks, `key id=${def(o.id)} refers to missing flickId=${def(o.flickId)}`);
|
|
66
67
|
static ERROR_DuplicateVariable = SevError | 0x0016;
|
|
68
|
+
static Error_DuplicateVariable = (o) => m(this.ERROR_DuplicateVariable, `duplicate variables: id=${def(o.ids)}`);
|
|
67
69
|
// Not hit due to XML parsing
|
|
68
|
-
static Error_InvalidTransformsType = (o) => m(this.ERROR_InvalidTransformsType, `Invalid transforms types: '${o.types?.join(',')}'`);
|
|
69
70
|
static ERROR_InvalidTransformsType = SevError | 0x0018;
|
|
70
|
-
static
|
|
71
|
+
static Error_InvalidTransformsType = (o) => m(this.ERROR_InvalidTransformsType, `Invalid transforms types: '${def(o.types?.join(','))}'`);
|
|
71
72
|
static ERROR_DuplicateTransformsType = SevError | 0x0019;
|
|
72
|
-
static
|
|
73
|
+
static Error_DuplicateTransformsType = (o) => m(this.ERROR_DuplicateTransformsType, `Duplicate transforms types: '${def(o.types?.join(','))}'`);
|
|
73
74
|
static ERROR_MixedTransformGroup = SevError | 0x001A;
|
|
74
|
-
static
|
|
75
|
+
static Error_MixedTransformGroup = () => m(this.ERROR_MixedTransformGroup, `transformGroup cannot contain both reorder and transform elements`);
|
|
75
76
|
static ERROR_EmptyTransformGroup = SevError | 0x001B;
|
|
76
|
-
static
|
|
77
|
+
static Error_EmptyTransformGroup = () => m(this.ERROR_EmptyTransformGroup, `transformGroup must have either reorder or transform elements`);
|
|
77
78
|
static ERROR_MissingStringVariable = SevError | 0x001C;
|
|
78
|
-
static
|
|
79
|
+
static Error_MissingStringVariable = (o) => m(this.ERROR_MissingStringVariable, `Reference to undefined string variable: \${${def(o.id)}}`);
|
|
79
80
|
static ERROR_MissingSetVariable = SevError | 0x001D;
|
|
80
|
-
static
|
|
81
|
+
static Error_MissingSetVariable = (o) => m(this.ERROR_MissingSetVariable, `Reference to undefined set variable: \$[${def(o.id)}]`);
|
|
81
82
|
static ERROR_MissingUnicodeSetVariable = SevError | 0x001E;
|
|
82
|
-
static
|
|
83
|
+
static Error_MissingUnicodeSetVariable = (o) => m(this.ERROR_MissingUnicodeSetVariable, `Reference to undefined UnicodeSet variable: \$[${def(o.id)}]`);
|
|
83
84
|
static ERROR_NeedSpacesBetweenSetVariables = SevError | 0x001F;
|
|
84
|
-
static
|
|
85
|
+
static Error_NeedSpacesBetweenSetVariables = (o) => m(this.ERROR_NeedSpacesBetweenSetVariables, `Need spaces between set variables: ${def(o.item)}`);
|
|
85
86
|
static ERROR_CantReferenceSetFromUnicodeSet = SevError | 0x0020;
|
|
86
|
-
static
|
|
87
|
+
static Error_CantReferenceSetFromUnicodeSet = (o) => m(this.ERROR_CantReferenceSetFromUnicodeSet, `Illegal use of set variable from within UnicodeSet: \$[${def(o.id)}]`);
|
|
87
88
|
static ERROR_MissingMarkers = SevError | 0x0021;
|
|
88
|
-
static
|
|
89
|
+
static Error_MissingMarkers = (o) => m(this.ERROR_MissingMarkers, `Markers used for matching but not defined: ${def(o.ids?.join(','))}`);
|
|
89
90
|
static ERROR_DisplayNeedsToOrId = SevError | 0x0022;
|
|
90
|
-
static
|
|
91
|
+
static Error_DisplayNeedsToOrId = (o) => m(this.ERROR_DisplayNeedsToOrId, `display ${CompilerMessages.outputOrKeyId(o)} needs output= or keyId=, but not both`);
|
|
91
92
|
static HINT_PUACharacters = SevHint | 0x0023;
|
|
92
|
-
static
|
|
93
|
+
static Hint_PUACharacters = (o) => m(this.HINT_PUACharacters, `File contains ${def(o.count)} PUA character(s), including ${util.describeCodepoint(o.lowestCh)}`);
|
|
93
94
|
static WARN_UnassignedCharacters = SevWarn | 0x0024;
|
|
94
|
-
static
|
|
95
|
+
static Warn_UnassignedCharacters = (o) => m(this.WARN_UnassignedCharacters, `File contains ${def(o.count)} unassigned character(s), including ${util.describeCodepoint(o.lowestCh)}`);
|
|
95
96
|
static ERROR_IllegalCharacters = SevError | 0x0025;
|
|
96
|
-
static
|
|
97
|
+
static Error_IllegalCharacters = (o) => m(this.ERROR_IllegalCharacters, `File contains ${def(o.count)} illegal character(s), including ${util.describeCodepoint(o.lowestCh)}`);
|
|
97
98
|
static HINT_CharClassImplicitDenorm = SevHint | 0x0026;
|
|
98
|
-
static
|
|
99
|
+
static Hint_CharClassImplicitDenorm = (o) => m(this.HINT_CharClassImplicitDenorm, `File has character classes which span non-NFD character(s), including ${util.describeCodepoint(o.lowestCh)}. These will not match any text.`);
|
|
99
100
|
static WARN_CharClassExplicitDenorm = SevWarn | 0x0027;
|
|
100
|
-
static
|
|
101
|
+
static Warn_CharClassExplicitDenorm = (o) => m(this.WARN_CharClassExplicitDenorm, `File has character classes which include non-NFD characters(s), including ${util.describeCodepoint(o.lowestCh)}. These will not match any text.`);
|
|
101
102
|
static ERROR_UnparseableReorderSet = SevError | 0x0028;
|
|
102
|
-
static
|
|
103
|
+
static Error_UnparseableReorderSet = (o) => m(this.ERROR_UnparseableReorderSet, `Illegal UnicodeSet "${def(o.set)}" in reorder "${def(o.from)}`);
|
|
103
104
|
static ERROR_UnparseableTransformFrom = SevError | 0x0029;
|
|
104
|
-
static
|
|
105
|
+
static Error_UnparseableTransformFrom = (o) => m(this.ERROR_UnparseableTransformFrom, `Invalid transfom from "${def(o.from)}": "${def(o.message)}"`);
|
|
105
106
|
static ERROR_InvalidQuadEscape = SevError | 0x0030;
|
|
107
|
+
static Error_InvalidQuadEscape = (o) => m(this.ERROR_InvalidQuadEscape, `Invalid escape "\\u${util.hexQuad(o?.cp || 0)}", use "\\u{${def(o?.cp?.toString(16))}}" instead.`);
|
|
106
108
|
}
|
|
107
|
-
//# debugId=
|
|
109
|
+
//# debugId=88e58129-a932-5a0a-9fed-3912e5a5d584
|
|
108
110
|
//# sourceMappingURL=messages.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"debug_id":"
|
|
1
|
+
{"debug_id":"88e58129-a932-5a0a-9fed-3912e5a5d584","file":"messages.js","mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,sBAAsB,EAAE,qBAAqB,EAAE,mBAAmB,IAAI,CAAC,EAAE,kBAAkB,IAAI,GAAG,EAAE,MAAM,yBAAyB,CAAC;AACnJ,4FAA4F;AAC5F,MAAM,OAAO,GAAG,qBAAqB,CAAC,IAAI,GAAG,sBAAsB,CAAC,oBAAoB,CAAC;AACzF,MAAM,OAAO,GAAG,qBAAqB,CAAC,IAAI,GAAG,sBAAsB,CAAC,oBAAoB,CAAC;AACzF,MAAM,QAAQ,GAAG,qBAAqB,CAAC,KAAK,GAAG,sBAAsB,CAAC,oBAAoB,CAAC;AAC3F,8FAA8F;AAE9F;;GAEG;AACH,MAAM,OAAO,gBAAgB;IAC3B,MAAM,CAAC,0BAA0B,GAAG,OAAO,GAAG,MAAM,CAAC;IACrD,MAAM,CAAC,0BAA0B,GAAG,GAAG,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,0BAA0B,EAAE,4CAA4C,CAAC,CAAC;IAE3H,MAAM,CAAC,mBAAmB,GAAG,QAAQ,GAAG,MAAM,CAAC;IAC/C,MAAM,CAAC,mBAAmB,GAAG,CAAC,CAAe,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,mBAAmB,EAAE,+BAA+B,GAAG,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IAE5H,MAAM,CAAC,iCAAiC,GAAG,QAAQ,GAAG,MAAM,CAAC;IAC7D,MAAM,CAAC,iCAAiC,GAAG,GAAG,EA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AAM,CAAC,2BAA2B,GAAG,CAAC,CAAgC,EAAE,EAAE,CAC1E,CAAC,CAAC,IAAI,CAAC,2BAA2B,EAAE,uBAAuB,GAAG,CAAC,CAAC,CAAC,GAAG,CAAC,iBAAiB,GAAG,CAAC,CAAC,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;IAErG,MAAM,CAAC,8BAA8B,GAAG,QAAQ,GAAG,MAAM,CAAC;IAC1D,MAAM,CAAC,8BAA8B,GAAG,CAAC,CAAoC,EAAE,EAAE,CACjF,CAAC,CAAC,IAAI,CAAC,8BAA8B,EAAE,0BAA0B,GAAG,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,GAAG,CAAC,CAAC,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;IAEtG,MAAM,CAAC,uBAAuB,GAAG,QAAQ,GAAG,MAAM,CAAC;IACnD,MAAM,CAAC,uBAAuB,GAAG,CAAC,CAAiB,EAAE,EAAE,CACvD,CAAC,CAAC,IAAI,CAAC,uBAAuB,EAAE,sBAAsB,IAAI,CAAC,OAAO,CAAC,CAAC,EAAE,EAAE,IAAI,CAAC,CAAC,eAAe,GAAG,CAAC,CAAC,EAAE,EAAE,EAAE,QAAQ,CAAC,EAAE,CAAC,CAAC,aAAa,CAAC,CAAC","names":[],"sourceRoot":"","sources":["../../../src/compiler/messages.ts"],"version":3}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Verb for SubstitutionTracker.add()
|
|
3
|
+
*/
|
|
4
|
+
export declare enum SubstitutionUse {
|
|
5
|
+
/** outputs this marker into context (e.g. transform to= or key to=) */
|
|
6
|
+
emit = 0,
|
|
7
|
+
/** consumes this marker out of the context (e.g. transform from=) */
|
|
8
|
+
consume = 1,
|
|
9
|
+
/** matches the marker, but doesn't consume (e.g. display to=) */
|
|
10
|
+
match = 2,
|
|
11
|
+
/** variable definition: might consume, emit, or match. */
|
|
12
|
+
variable = 3
|
|
13
|
+
}
|
|
14
|
+
type SubstitutionSet = Set<string>;
|
|
15
|
+
/** Tracks usage of markers */
|
|
16
|
+
export declare class SubstitutionTracker {
|
|
17
|
+
/** markers that were emitted */
|
|
18
|
+
emitted: SubstitutionSet;
|
|
19
|
+
/** markers that were consumed and removed from the context */
|
|
20
|
+
consumed: SubstitutionSet;
|
|
21
|
+
/** markers that were matched, but not necessarily consumed */
|
|
22
|
+
matched: SubstitutionSet;
|
|
23
|
+
/** all markers */
|
|
24
|
+
all: SubstitutionSet;
|
|
25
|
+
constructor();
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @param verb what kind of use we are adding
|
|
29
|
+
* @param markers list of substitutions to add
|
|
30
|
+
*/
|
|
31
|
+
add(verb: SubstitutionUse, markers: string[]): void;
|
|
32
|
+
}
|
|
33
|
+
/** rollup of several substitution types */
|
|
34
|
+
export declare class Substitutions {
|
|
35
|
+
addSetAndStringSubtitution(verb: SubstitutionUse, str?: string): void;
|
|
36
|
+
/** add a string that can have string var substitutions or markers */
|
|
37
|
+
addStringAndMarkerSubstitution(verb: SubstitutionUse, str?: string): void;
|
|
38
|
+
addStringSubstitution(verb: SubstitutionUse, str?: string): void;
|
|
39
|
+
/** add a string that's just markers */
|
|
40
|
+
addMarkers(verb: SubstitutionUse, str?: string): void;
|
|
41
|
+
markers: SubstitutionTracker;
|
|
42
|
+
set: SubstitutionTracker;
|
|
43
|
+
string: SubstitutionTracker;
|
|
44
|
+
uset: SubstitutionTracker;
|
|
45
|
+
constructor();
|
|
46
|
+
}
|
|
47
|
+
export {};
|
|
48
|
+
//# sourceMappingURL=substitution-tracker.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"substitution-tracker.d.ts","sourceRoot":"","sources":["../../../src/compiler/substitution-tracker.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,oBAAY,eAAe;IACzB,uEAAuE;IACvE,IAAI,IAAA;IACJ,qEAAqE;IACrE,OAAO,IAAA;IACP,iEAAiE;IACjE,KAAK,IAAA;IACL,0DAA0D;IAC1D,QAAQ,IAAA;CACT;AAED,KAAK,eAAe,GAAG,GAAG,CAAC,MAAM,CAAC,CAAC;AAEnC,8BAA8B;AAC9B,qBAAa,mBAAmB;IAC9B,gCAAgC;IAChC,OAAO,EAAE,eAAe,CAAC;IACzB,8DAA8D;IAC9D,QAAQ,EAAE,eAAe,CAAC;IAC1B,8DAA8D;IAC9D,OAAO,EAAE,eAAe,CAAC;IACzB,kBAAkB;IAClB,GAAG,EAAE,eAAe,CAAC;;IASrB;;;;OAIG;IACH,GAAG,CAAC,IAAI,EAAE,eAAe,EAAE,OAAO,EAAE,MAAM,EAAE;CAgC7C;AAED,2CAA2C;AAC3C,qBAAa,aAAa;IACxB,0BAA0B,CAAC,IAAI,EAAE,eAAe,EAAE,GAAG,CAAC,EAAE,MAAM;IAI9D,qEAAqE;IACrE,8BAA8B,CAAC,IAAI,EAAE,eAAe,EAAE,GAAG,CAAC,EAAE,MAAM;IAIlE,qBAAqB,CAAC,IAAI,EAAE,eAAe,EAAE,GAAG,CAAC,EAAE,MAAM;IAGzD,uCAAuC;IACvC,UAAU,CAAC,IAAI,EAAE,eAAe,EAAE,GAAG,CAAC,EAAE,MAAM;IAG9C,OAAO,EAAE,mBAAmB,CAAC;IAC7B,GAAG,EAAE,mBAAmB,CAAC;IACzB,MAAM,EAAE,mBAAmB,CAAC;IAC5B,IAAI,EAAE,mBAAmB,CAAC;;CAQ3B"}
|
|
@@ -1,20 +1,21 @@
|
|
|
1
|
-
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="
|
|
1
|
+
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="7aac6235-1791-5d7b-b3ba-a1eebffc6344")}catch(e){}}();
|
|
2
|
+
import { MarkerParser, VariableParser } from "@keymanapp/common-types";
|
|
2
3
|
/**
|
|
3
|
-
* Verb for
|
|
4
|
+
* Verb for SubstitutionTracker.add()
|
|
4
5
|
*/
|
|
5
|
-
export var
|
|
6
|
-
(function (
|
|
6
|
+
export var SubstitutionUse;
|
|
7
|
+
(function (SubstitutionUse) {
|
|
7
8
|
/** outputs this marker into context (e.g. transform to= or key to=) */
|
|
8
|
-
|
|
9
|
+
SubstitutionUse[SubstitutionUse["emit"] = 0] = "emit";
|
|
9
10
|
/** consumes this marker out of the context (e.g. transform from=) */
|
|
10
|
-
|
|
11
|
+
SubstitutionUse[SubstitutionUse["consume"] = 1] = "consume";
|
|
11
12
|
/** matches the marker, but doesn't consume (e.g. display to=) */
|
|
12
|
-
|
|
13
|
+
SubstitutionUse[SubstitutionUse["match"] = 2] = "match";
|
|
13
14
|
/** variable definition: might consume, emit, or match. */
|
|
14
|
-
|
|
15
|
-
})(
|
|
15
|
+
SubstitutionUse[SubstitutionUse["variable"] = 3] = "variable";
|
|
16
|
+
})(SubstitutionUse || (SubstitutionUse = {}));
|
|
16
17
|
/** Tracks usage of markers */
|
|
17
|
-
export class
|
|
18
|
+
export class SubstitutionTracker {
|
|
18
19
|
/** markers that were emitted */
|
|
19
20
|
emitted;
|
|
20
21
|
/** markers that were consumed and removed from the context */
|
|
@@ -32,31 +33,31 @@ export class MarkerTracker {
|
|
|
32
33
|
/**
|
|
33
34
|
*
|
|
34
35
|
* @param verb what kind of use we are adding
|
|
35
|
-
* @param markers list of
|
|
36
|
+
* @param markers list of substitutions to add
|
|
36
37
|
*/
|
|
37
38
|
add(verb, markers) {
|
|
38
39
|
if (!markers.length) {
|
|
39
40
|
return; // skip if empty
|
|
40
41
|
}
|
|
41
|
-
if (verb ==
|
|
42
|
+
if (verb == SubstitutionUse.emit) {
|
|
42
43
|
markers.forEach((m) => {
|
|
43
44
|
this.emitted.add(m);
|
|
44
45
|
this.all.add(m);
|
|
45
46
|
});
|
|
46
47
|
}
|
|
47
|
-
else if (verb ==
|
|
48
|
+
else if (verb == SubstitutionUse.consume) {
|
|
48
49
|
markers.forEach((m) => {
|
|
49
50
|
this.consumed.add(m);
|
|
50
51
|
this.all.add(m);
|
|
51
52
|
});
|
|
52
53
|
}
|
|
53
|
-
else if (verb ==
|
|
54
|
+
else if (verb == SubstitutionUse.match) {
|
|
54
55
|
markers.forEach((m) => {
|
|
55
56
|
this.matched.add(m);
|
|
56
57
|
this.all.add(m);
|
|
57
58
|
});
|
|
58
59
|
}
|
|
59
|
-
else if (verb ==
|
|
60
|
+
else if (verb == SubstitutionUse.variable) {
|
|
60
61
|
markers.forEach((m) => {
|
|
61
62
|
// we don't know, so add it to all three
|
|
62
63
|
this.matched.add(m);
|
|
@@ -71,5 +72,34 @@ export class MarkerTracker {
|
|
|
71
72
|
}
|
|
72
73
|
}
|
|
73
74
|
}
|
|
74
|
-
|
|
75
|
-
|
|
75
|
+
/** rollup of several substitution types */
|
|
76
|
+
export class Substitutions {
|
|
77
|
+
addSetAndStringSubtitution(verb, str) {
|
|
78
|
+
this.set.add(verb, VariableParser.allSetReferences(str));
|
|
79
|
+
this.addStringAndMarkerSubstitution(verb, str);
|
|
80
|
+
}
|
|
81
|
+
/** add a string that can have string var substitutions or markers */
|
|
82
|
+
addStringAndMarkerSubstitution(verb, str) {
|
|
83
|
+
this.addMarkers(verb, str);
|
|
84
|
+
this.addStringSubstitution(verb, str);
|
|
85
|
+
}
|
|
86
|
+
addStringSubstitution(verb, str) {
|
|
87
|
+
this.string.add(verb, VariableParser.allStringReferences(str));
|
|
88
|
+
}
|
|
89
|
+
/** add a string that's just markers */
|
|
90
|
+
addMarkers(verb, str) {
|
|
91
|
+
this.markers.add(verb, MarkerParser.allReferences(str));
|
|
92
|
+
}
|
|
93
|
+
markers;
|
|
94
|
+
set;
|
|
95
|
+
string;
|
|
96
|
+
uset;
|
|
97
|
+
constructor() {
|
|
98
|
+
this.markers = new SubstitutionTracker();
|
|
99
|
+
this.set = new SubstitutionTracker();
|
|
100
|
+
this.string = new SubstitutionTracker();
|
|
101
|
+
this.uset = new SubstitutionTracker();
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
//# debugId=7aac6235-1791-5d7b-b3ba-a1eebffc6344
|
|
105
|
+
//# sourceMappingURL=substitution-tracker.js.map
|