@tokens-studio/tokenscript-interpreter 0.36.4 → 0.37.1

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 (79) hide show
  1. package/dist/chunk-3D6X7EAK.js +6605 -0
  2. package/dist/chunk-3D6X7EAK.js.map +1 -0
  3. package/dist/chunk-6KHDVYST.js +6616 -0
  4. package/dist/chunk-6KHDVYST.js.map +1 -0
  5. package/dist/chunk-6MXPTXGR.js +6591 -0
  6. package/dist/chunk-6MXPTXGR.js.map +1 -0
  7. package/dist/chunk-EM64RW7I.js +6592 -0
  8. package/dist/chunk-EM64RW7I.js.map +1 -0
  9. package/dist/chunk-H7YXFZ4I.js +6605 -0
  10. package/dist/chunk-H7YXFZ4I.js.map +1 -0
  11. package/dist/chunk-Z437BNC5.js +107 -0
  12. package/dist/chunk-Z437BNC5.js.map +1 -0
  13. package/dist/cli.js +149 -16
  14. package/dist/cli.js.map +1 -1
  15. package/dist/compliance-suite.js +3 -5
  16. package/dist/compliance-suite.js.map +1 -1
  17. package/dist/config-B-kbeoff.d.ts +927 -0
  18. package/dist/config-Mw_Iq324.d.ts +921 -0
  19. package/dist/lib/{chunk-S7WGJBSX.js → chunk-24FMHL6W.js} +16 -3
  20. package/dist/lib/chunk-24FMHL6W.js.map +1 -0
  21. package/dist/lib/{chunk-2BDFE7U4.js → chunk-4L54VFWU.js} +132 -15
  22. package/dist/lib/chunk-4L54VFWU.js.map +1 -0
  23. package/dist/lib/{chunk-UF6I25ED.cjs → chunk-KX5QZ5G2.cjs} +685 -567
  24. package/dist/lib/chunk-KX5QZ5G2.cjs.map +1 -0
  25. package/dist/lib/{chunk-K65UI6KX.cjs → chunk-OABJLZRZ.cjs} +113 -100
  26. package/dist/lib/chunk-OABJLZRZ.cjs.map +1 -0
  27. package/dist/lib/{chunk-AEOBCHBK.js → chunk-SLITBMFB.js} +10 -3
  28. package/dist/lib/chunk-SLITBMFB.js.map +1 -0
  29. package/dist/lib/{chunk-KHF2VXWO.cjs → chunk-ZMMIYWFF.cjs} +10 -2
  30. package/dist/lib/chunk-ZMMIYWFF.cjs.map +1 -0
  31. package/dist/lib/index.cjs +99 -91
  32. package/dist/lib/index.d.cts +4 -4
  33. package/dist/lib/index.d.ts +4 -4
  34. package/dist/lib/index.js +3 -3
  35. package/dist/lib/{interpreter-DdF_Hj-J.d.ts → interpreter-B7BcLEBz.d.cts} +54 -4
  36. package/dist/lib/{interpreter-Cz_vWDDa.d.cts → interpreter-wKto6JTb.d.ts} +54 -4
  37. package/dist/lib/interpreter.cjs +81 -73
  38. package/dist/lib/interpreter.d.cts +7 -6
  39. package/dist/lib/interpreter.d.ts +7 -6
  40. package/dist/lib/interpreter.js +3 -3
  41. package/dist/lib/processor-node.cjs +12 -12
  42. package/dist/lib/processor-node.d.cts +3 -3
  43. package/dist/lib/processor-node.d.ts +3 -3
  44. package/dist/lib/processor-node.js +3 -3
  45. package/dist/lib/processor.cjs +17 -17
  46. package/dist/lib/processor.d.cts +4 -4
  47. package/dist/lib/processor.d.ts +4 -4
  48. package/dist/lib/processor.js +3 -3
  49. package/dist/lib/schema.cjs +5 -5
  50. package/dist/lib/schema.d.cts +1 -1
  51. package/dist/lib/schema.d.ts +1 -1
  52. package/dist/lib/schema.js +3 -3
  53. package/dist/lib/syntax-highlighting.cjs +15 -15
  54. package/dist/lib/syntax-highlighting.d.cts +1 -1
  55. package/dist/lib/syntax-highlighting.d.ts +1 -1
  56. package/dist/lib/syntax-highlighting.js +2 -2
  57. package/dist/lib/{types-DRpZJjkx.d.ts → types-BHcQYEQ-.d.ts} +2 -2
  58. package/dist/lib/{types-CxQPMHn1.d.ts → types-BMYcHiSq.d.cts} +9 -1
  59. package/dist/lib/{types-CxQPMHn1.d.cts → types-BMYcHiSq.d.ts} +9 -1
  60. package/dist/lib/{types-6QQt-XVS.d.cts → types-BOyxzACN.d.cts} +2 -2
  61. package/dist/lib/types.cjs +10 -6
  62. package/dist/lib/types.d.cts +1 -1
  63. package/dist/lib/types.d.ts +1 -1
  64. package/dist/lib/types.js +1 -1
  65. package/dist/processor/index.d.ts +1 -1
  66. package/dist/processor/index.js +18 -2
  67. package/dist/processor/index.js.map +1 -1
  68. package/dist/repl.d.ts +15 -3
  69. package/dist/repl.js +6 -8
  70. package/dist/repl.js.map +1 -1
  71. package/dist/types.d.ts +1 -1
  72. package/dist/types.js +1 -1
  73. package/package.json +1 -1
  74. package/dist/lib/chunk-2BDFE7U4.js.map +0 -1
  75. package/dist/lib/chunk-AEOBCHBK.js.map +0 -1
  76. package/dist/lib/chunk-K65UI6KX.cjs.map +0 -1
  77. package/dist/lib/chunk-KHF2VXWO.cjs.map +0 -1
  78. package/dist/lib/chunk-S7WGJBSX.js.map +0 -1
  79. package/dist/lib/chunk-UF6I25ED.cjs.map +0 -1
@@ -1,362 +1,370 @@
1
1
  'use strict';
2
2
 
3
- var chunkUF6I25ED_cjs = require('./chunk-UF6I25ED.cjs');
4
- var chunkK65UI6KX_cjs = require('./chunk-K65UI6KX.cjs');
5
- var chunkKHF2VXWO_cjs = require('./chunk-KHF2VXWO.cjs');
3
+ var chunkKX5QZ5G2_cjs = require('./chunk-KX5QZ5G2.cjs');
4
+ var chunkOABJLZRZ_cjs = require('./chunk-OABJLZRZ.cjs');
5
+ var chunkZMMIYWFF_cjs = require('./chunk-ZMMIYWFF.cjs');
6
6
 
7
7
 
8
8
 
9
9
  Object.defineProperty(exports, "ASTNodes", {
10
10
  enumerable: true,
11
- get: function () { return chunkUF6I25ED_cjs.ASTNodes; }
11
+ get: function () { return chunkKX5QZ5G2_cjs.ASTNodes; }
12
12
  });
13
13
  Object.defineProperty(exports, "ColorManager", {
14
14
  enumerable: true,
15
- get: function () { return chunkUF6I25ED_cjs.ColorManager; }
15
+ get: function () { return chunkKX5QZ5G2_cjs.ColorManager; }
16
16
  });
17
17
  Object.defineProperty(exports, "ColorSpecificationSchema", {
18
18
  enumerable: true,
19
- get: function () { return chunkUF6I25ED_cjs.ColorSpecificationSchema; }
19
+ get: function () { return chunkKX5QZ5G2_cjs.ColorSpecificationSchema; }
20
20
  });
21
21
  Object.defineProperty(exports, "Config", {
22
22
  enumerable: true,
23
- get: function () { return chunkUF6I25ED_cjs.Config; }
23
+ get: function () { return chunkKX5QZ5G2_cjs.Config; }
24
24
  });
25
25
  Object.defineProperty(exports, "ConstantsSpecificationSchema", {
26
26
  enumerable: true,
27
- get: function () { return chunkUF6I25ED_cjs.ConstantsSpecificationSchema; }
27
+ get: function () { return chunkKX5QZ5G2_cjs.ConstantsSpecificationSchema; }
28
28
  });
29
29
  Object.defineProperty(exports, "DEFAULT_LANGUAGE_OPTIONS", {
30
30
  enumerable: true,
31
- get: function () { return chunkUF6I25ED_cjs.DEFAULT_LANGUAGE_OPTIONS; }
31
+ get: function () { return chunkKX5QZ5G2_cjs.DEFAULT_LANGUAGE_OPTIONS; }
32
32
  });
33
33
  Object.defineProperty(exports, "FunctionSpecificationSchema", {
34
34
  enumerable: true,
35
- get: function () { return chunkUF6I25ED_cjs.FunctionSpecificationSchema; }
35
+ get: function () { return chunkKX5QZ5G2_cjs.FunctionSpecificationSchema; }
36
36
  });
37
37
  Object.defineProperty(exports, "FunctionsManager", {
38
38
  enumerable: true,
39
- get: function () { return chunkUF6I25ED_cjs.FunctionsManager; }
39
+ get: function () { return chunkKX5QZ5G2_cjs.FunctionsManager; }
40
40
  });
41
41
  Object.defineProperty(exports, "IncompleteType", {
42
42
  enumerable: true,
43
- get: function () { return chunkUF6I25ED_cjs.IncompleteType; }
43
+ get: function () { return chunkKX5QZ5G2_cjs.IncompleteType; }
44
44
  });
45
45
  Object.defineProperty(exports, "Interpreter", {
46
46
  enumerable: true,
47
- get: function () { return chunkUF6I25ED_cjs.Interpreter; }
47
+ get: function () { return chunkKX5QZ5G2_cjs.Interpreter; }
48
48
  });
49
49
  Object.defineProperty(exports, "Lexer", {
50
50
  enumerable: true,
51
- get: function () { return chunkUF6I25ED_cjs.Lexer; }
51
+ get: function () { return chunkKX5QZ5G2_cjs.Lexer; }
52
52
  });
53
53
  Object.defineProperty(exports, "ParseState", {
54
54
  enumerable: true,
55
- get: function () { return chunkUF6I25ED_cjs.ParseState; }
55
+ get: function () { return chunkKX5QZ5G2_cjs.ParseState; }
56
56
  });
57
57
  Object.defineProperty(exports, "Parser", {
58
58
  enumerable: true,
59
- get: function () { return chunkUF6I25ED_cjs.Parser; }
59
+ get: function () { return chunkKX5QZ5G2_cjs.Parser; }
60
60
  });
61
61
  Object.defineProperty(exports, "PartialBinOpNode", {
62
62
  enumerable: true,
63
- get: function () { return chunkUF6I25ED_cjs.PartialBinOpNode; }
63
+ get: function () { return chunkKX5QZ5G2_cjs.PartialBinOpNode; }
64
64
  });
65
65
  Object.defineProperty(exports, "PartialFunctionCallNode", {
66
66
  enumerable: true,
67
- get: function () { return chunkUF6I25ED_cjs.PartialFunctionCallNode; }
67
+ get: function () { return chunkKX5QZ5G2_cjs.PartialFunctionCallNode; }
68
68
  });
69
69
  Object.defineProperty(exports, "PartialParenNode", {
70
70
  enumerable: true,
71
- get: function () { return chunkUF6I25ED_cjs.PartialParenNode; }
71
+ get: function () { return chunkKX5QZ5G2_cjs.PartialParenNode; }
72
72
  });
73
73
  Object.defineProperty(exports, "PartialReferenceNode", {
74
74
  enumerable: true,
75
- get: function () { return chunkUF6I25ED_cjs.PartialReferenceNode; }
75
+ get: function () { return chunkKX5QZ5G2_cjs.PartialReferenceNode; }
76
76
  });
77
77
  Object.defineProperty(exports, "PartialStringNode", {
78
78
  enumerable: true,
79
- get: function () { return chunkUF6I25ED_cjs.PartialStringNode; }
79
+ get: function () { return chunkKX5QZ5G2_cjs.PartialStringNode; }
80
80
  });
81
81
  Object.defineProperty(exports, "PartialUnaryOpNode", {
82
82
  enumerable: true,
83
- get: function () { return chunkUF6I25ED_cjs.PartialUnaryOpNode; }
83
+ get: function () { return chunkKX5QZ5G2_cjs.PartialUnaryOpNode; }
84
84
  });
85
85
  Object.defineProperty(exports, "TokenResolver", {
86
86
  enumerable: true,
87
- get: function () { return chunkUF6I25ED_cjs.TokenResolver; }
87
+ get: function () { return chunkKX5QZ5G2_cjs.TokenResolver; }
88
88
  });
89
89
  Object.defineProperty(exports, "UnitManager", {
90
90
  enumerable: true,
91
- get: function () { return chunkUF6I25ED_cjs.UnitManager; }
91
+ get: function () { return chunkKX5QZ5G2_cjs.UnitManager; }
92
92
  });
93
93
  Object.defineProperty(exports, "UnitSpecificationSchema", {
94
94
  enumerable: true,
95
- get: function () { return chunkUF6I25ED_cjs.UnitSpecificationSchema; }
95
+ get: function () { return chunkKX5QZ5G2_cjs.UnitSpecificationSchema; }
96
96
  });
97
97
  Object.defineProperty(exports, "ValidationSeverity", {
98
98
  enumerable: true,
99
- get: function () { return chunkUF6I25ED_cjs.ValidationSeverity; }
99
+ get: function () { return chunkKX5QZ5G2_cjs.ValidationSeverity; }
100
100
  });
101
101
  Object.defineProperty(exports, "buildTokens", {
102
102
  enumerable: true,
103
- get: function () { return chunkUF6I25ED_cjs.buildTokens; }
103
+ get: function () { return chunkKX5QZ5G2_cjs.buildTokens; }
104
104
  });
105
105
  Object.defineProperty(exports, "builders", {
106
106
  enumerable: true,
107
- get: function () { return chunkUF6I25ED_cjs.builders_exports; }
107
+ get: function () { return chunkKX5QZ5G2_cjs.builders_exports; }
108
108
  });
109
109
  Object.defineProperty(exports, "collectAllReferences", {
110
110
  enumerable: true,
111
- get: function () { return chunkUF6I25ED_cjs.collectAllReferences; }
111
+ get: function () { return chunkKX5QZ5G2_cjs.collectAllReferences; }
112
112
  });
113
113
  Object.defineProperty(exports, "collectReferenceNodes", {
114
114
  enumerable: true,
115
- get: function () { return chunkUF6I25ED_cjs.collectReferenceNodes; }
115
+ get: function () { return chunkKX5QZ5G2_cjs.collectReferenceNodes; }
116
116
  });
117
117
  Object.defineProperty(exports, "errorClasses", {
118
118
  enumerable: true,
119
- get: function () { return chunkUF6I25ED_cjs.errorClasses; }
119
+ get: function () { return chunkKX5QZ5G2_cjs.errorClasses; }
120
120
  });
121
121
  Object.defineProperty(exports, "errorHelpers", {
122
122
  enumerable: true,
123
- get: function () { return chunkUF6I25ED_cjs.errorHelpers; }
123
+ get: function () { return chunkKX5QZ5G2_cjs.errorHelpers; }
124
124
  });
125
125
  Object.defineProperty(exports, "evaluateExpression", {
126
126
  enumerable: true,
127
- get: function () { return chunkUF6I25ED_cjs.evaluateExpression; }
127
+ get: function () { return chunkKX5QZ5G2_cjs.evaluateExpression; }
128
128
  });
129
129
  Object.defineProperty(exports, "fetchAndRegisterSchemas", {
130
130
  enumerable: true,
131
- get: function () { return chunkUF6I25ED_cjs.fetchAndRegisterSchemas; }
131
+ get: function () { return chunkKX5QZ5G2_cjs.fetchAndRegisterSchemas; }
132
132
  });
133
133
  Object.defineProperty(exports, "fetchTokenScriptSchema", {
134
134
  enumerable: true,
135
- get: function () { return chunkUF6I25ED_cjs.fetchTokenScriptSchema; }
135
+ get: function () { return chunkKX5QZ5G2_cjs.fetchTokenScriptSchema; }
136
136
  });
137
137
  Object.defineProperty(exports, "filterAST", {
138
138
  enumerable: true,
139
- get: function () { return chunkUF6I25ED_cjs.filterAST; }
139
+ get: function () { return chunkKX5QZ5G2_cjs.filterAST; }
140
140
  });
141
141
  Object.defineProperty(exports, "flattenChildrenMap", {
142
142
  enumerable: true,
143
- get: function () { return chunkUF6I25ED_cjs.flattenChildrenMap; }
143
+ get: function () { return chunkKX5QZ5G2_cjs.flattenChildrenMap; }
144
144
  });
145
145
  Object.defineProperty(exports, "flattenChildrenObject", {
146
146
  enumerable: true,
147
- get: function () { return chunkUF6I25ED_cjs.flattenChildrenObject; }
147
+ get: function () { return chunkKX5QZ5G2_cjs.flattenChildrenObject; }
148
148
  });
149
149
  Object.defineProperty(exports, "getAffectedTokens", {
150
150
  enumerable: true,
151
- get: function () { return chunkUF6I25ED_cjs.getAffectedTokens; }
151
+ get: function () { return chunkKX5QZ5G2_cjs.getAffectedTokens; }
152
152
  });
153
153
  Object.defineProperty(exports, "getBrokenReferences", {
154
154
  enumerable: true,
155
- get: function () { return chunkUF6I25ED_cjs.getBrokenReferences; }
155
+ get: function () { return chunkKX5QZ5G2_cjs.getBrokenReferences; }
156
156
  });
157
157
  Object.defineProperty(exports, "getModifiedDependants", {
158
158
  enumerable: true,
159
- get: function () { return chunkUF6I25ED_cjs.getModifiedDependants; }
159
+ get: function () { return chunkKX5QZ5G2_cjs.getModifiedDependants; }
160
160
  });
161
161
  Object.defineProperty(exports, "getRenamedReferences", {
162
162
  enumerable: true,
163
- get: function () { return chunkUF6I25ED_cjs.getRenamedReferences; }
163
+ get: function () { return chunkKX5QZ5G2_cjs.getRenamedReferences; }
164
164
  });
165
165
  Object.defineProperty(exports, "hasPartialNodes", {
166
166
  enumerable: true,
167
- get: function () { return chunkUF6I25ED_cjs.hasPartialNodes; }
167
+ get: function () { return chunkKX5QZ5G2_cjs.hasPartialNodes; }
168
+ });
169
+ Object.defineProperty(exports, "lexerOptionsForMode", {
170
+ enumerable: true,
171
+ get: function () { return chunkKX5QZ5G2_cjs.lexerOptionsForMode; }
168
172
  });
169
173
  Object.defineProperty(exports, "parseExpression", {
170
174
  enumerable: true,
171
- get: function () { return chunkUF6I25ED_cjs.parseExpression; }
175
+ get: function () { return chunkKX5QZ5G2_cjs.parseExpression; }
172
176
  });
173
177
  Object.defineProperty(exports, "parseTolerantly", {
174
178
  enumerable: true,
175
- get: function () { return chunkUF6I25ED_cjs.parseTolerantly; }
179
+ get: function () { return chunkKX5QZ5G2_cjs.parseTolerantly; }
176
180
  });
177
181
  Object.defineProperty(exports, "processTokenSets", {
178
182
  enumerable: true,
179
- get: function () { return chunkUF6I25ED_cjs.processTokenSets; }
183
+ get: function () { return chunkKX5QZ5G2_cjs.processTokenSets; }
180
184
  });
181
185
  Object.defineProperty(exports, "processTokens", {
182
186
  enumerable: true,
183
- get: function () { return chunkUF6I25ED_cjs.processTokens; }
187
+ get: function () { return chunkKX5QZ5G2_cjs.processTokens; }
184
188
  });
185
189
  Object.defineProperty(exports, "renameReferences", {
186
190
  enumerable: true,
187
- get: function () { return chunkUF6I25ED_cjs.renameReferences; }
191
+ get: function () { return chunkKX5QZ5G2_cjs.renameReferences; }
188
192
  });
189
193
  Object.defineProperty(exports, "tokenizeTolerantly", {
190
194
  enumerable: true,
191
- get: function () { return chunkUF6I25ED_cjs.tokenizeTolerantly; }
195
+ get: function () { return chunkKX5QZ5G2_cjs.tokenizeTolerantly; }
192
196
  });
193
197
  Object.defineProperty(exports, "validateTokenName", {
194
198
  enumerable: true,
195
- get: function () { return chunkUF6I25ED_cjs.validateTokenName; }
199
+ get: function () { return chunkKX5QZ5G2_cjs.validateTokenName; }
196
200
  });
197
201
  Object.defineProperty(exports, "validateTokenPath", {
198
202
  enumerable: true,
199
- get: function () { return chunkUF6I25ED_cjs.validateTokenPath; }
203
+ get: function () { return chunkKX5QZ5G2_cjs.validateTokenPath; }
200
204
  });
201
205
  Object.defineProperty(exports, "walkAST", {
202
206
  enumerable: true,
203
- get: function () { return chunkUF6I25ED_cjs.walkAST; }
207
+ get: function () { return chunkKX5QZ5G2_cjs.walkAST; }
204
208
  });
205
209
  Object.defineProperty(exports, "BaseSymbolType", {
206
210
  enumerable: true,
207
- get: function () { return chunkK65UI6KX_cjs.BaseSymbolType; }
211
+ get: function () { return chunkOABJLZRZ_cjs.BaseSymbolType; }
208
212
  });
209
213
  Object.defineProperty(exports, "BooleanSymbol", {
210
214
  enumerable: true,
211
- get: function () { return chunkK65UI6KX_cjs.BooleanSymbol; }
215
+ get: function () { return chunkOABJLZRZ_cjs.BooleanSymbol; }
212
216
  });
213
217
  Object.defineProperty(exports, "ColorErrorCode", {
214
218
  enumerable: true,
215
- get: function () { return chunkK65UI6KX_cjs.ColorErrorCode; }
219
+ get: function () { return chunkOABJLZRZ_cjs.ColorErrorCode; }
216
220
  });
217
221
  Object.defineProperty(exports, "ColorSymbol", {
218
222
  enumerable: true,
219
- get: function () { return chunkK65UI6KX_cjs.ColorSymbol; }
223
+ get: function () { return chunkOABJLZRZ_cjs.ColorSymbol; }
220
224
  });
221
225
  Object.defineProperty(exports, "ConfigErrorCode", {
222
226
  enumerable: true,
223
- get: function () { return chunkK65UI6KX_cjs.ConfigErrorCode; }
227
+ get: function () { return chunkOABJLZRZ_cjs.ConfigErrorCode; }
224
228
  });
225
229
  Object.defineProperty(exports, "DictionarySymbol", {
226
230
  enumerable: true,
227
- get: function () { return chunkK65UI6KX_cjs.DictionarySymbol; }
231
+ get: function () { return chunkOABJLZRZ_cjs.DictionarySymbol; }
228
232
  });
229
233
  Object.defineProperty(exports, "FunctionsErrorCode", {
230
234
  enumerable: true,
231
- get: function () { return chunkK65UI6KX_cjs.FunctionsErrorCode; }
235
+ get: function () { return chunkOABJLZRZ_cjs.FunctionsErrorCode; }
232
236
  });
233
237
  Object.defineProperty(exports, "InterpreterError", {
234
238
  enumerable: true,
235
- get: function () { return chunkK65UI6KX_cjs.InterpreterError; }
239
+ get: function () { return chunkOABJLZRZ_cjs.InterpreterError; }
236
240
  });
237
241
  Object.defineProperty(exports, "InterpreterErrorCode", {
238
242
  enumerable: true,
239
- get: function () { return chunkK65UI6KX_cjs.InterpreterErrorCode; }
243
+ get: function () { return chunkOABJLZRZ_cjs.InterpreterErrorCode; }
240
244
  });
241
245
  Object.defineProperty(exports, "LanguageError", {
242
246
  enumerable: true,
243
- get: function () { return chunkK65UI6KX_cjs.LanguageError; }
247
+ get: function () { return chunkOABJLZRZ_cjs.LanguageError; }
244
248
  });
245
249
  Object.defineProperty(exports, "LexerError", {
246
250
  enumerable: true,
247
- get: function () { return chunkK65UI6KX_cjs.LexerError; }
251
+ get: function () { return chunkOABJLZRZ_cjs.LexerError; }
248
252
  });
249
253
  Object.defineProperty(exports, "LexerErrorCode", {
250
254
  enumerable: true,
251
- get: function () { return chunkK65UI6KX_cjs.LexerErrorCode; }
255
+ get: function () { return chunkOABJLZRZ_cjs.LexerErrorCode; }
252
256
  });
253
257
  Object.defineProperty(exports, "ListSymbol", {
254
258
  enumerable: true,
255
- get: function () { return chunkK65UI6KX_cjs.ListSymbol; }
259
+ get: function () { return chunkOABJLZRZ_cjs.ListSymbol; }
256
260
  });
257
261
  Object.defineProperty(exports, "NullSymbol", {
258
262
  enumerable: true,
259
- get: function () { return chunkK65UI6KX_cjs.NullSymbol; }
263
+ get: function () { return chunkOABJLZRZ_cjs.NullSymbol; }
260
264
  });
261
265
  Object.defineProperty(exports, "NumberSymbol", {
262
266
  enumerable: true,
263
- get: function () { return chunkK65UI6KX_cjs.NumberSymbol; }
267
+ get: function () { return chunkOABJLZRZ_cjs.NumberSymbol; }
264
268
  });
265
269
  Object.defineProperty(exports, "NumberWithUnitSymbol", {
266
270
  enumerable: true,
267
- get: function () { return chunkK65UI6KX_cjs.NumberWithUnitSymbol; }
271
+ get: function () { return chunkOABJLZRZ_cjs.NumberWithUnitSymbol; }
268
272
  });
269
273
  Object.defineProperty(exports, "OperationsErrorCode", {
270
274
  enumerable: true,
271
- get: function () { return chunkK65UI6KX_cjs.OperationsErrorCode; }
275
+ get: function () { return chunkOABJLZRZ_cjs.OperationsErrorCode; }
272
276
  });
273
277
  Object.defineProperty(exports, "ParserError", {
274
278
  enumerable: true,
275
- get: function () { return chunkK65UI6KX_cjs.ParserError; }
279
+ get: function () { return chunkOABJLZRZ_cjs.ParserError; }
276
280
  });
277
281
  Object.defineProperty(exports, "ParserErrorCode", {
278
282
  enumerable: true,
279
- get: function () { return chunkK65UI6KX_cjs.ParserErrorCode; }
283
+ get: function () { return chunkOABJLZRZ_cjs.ParserErrorCode; }
280
284
  });
281
285
  Object.defineProperty(exports, "ProcessorError", {
282
286
  enumerable: true,
283
- get: function () { return chunkK65UI6KX_cjs.ProcessorError; }
287
+ get: function () { return chunkOABJLZRZ_cjs.ProcessorError; }
284
288
  });
285
289
  Object.defineProperty(exports, "ProcessorErrorCode", {
286
290
  enumerable: true,
287
- get: function () { return chunkK65UI6KX_cjs.ProcessorErrorCode; }
291
+ get: function () { return chunkOABJLZRZ_cjs.ProcessorErrorCode; }
288
292
  });
289
293
  Object.defineProperty(exports, "StringSymbol", {
290
294
  enumerable: true,
291
- get: function () { return chunkK65UI6KX_cjs.StringSymbol; }
295
+ get: function () { return chunkOABJLZRZ_cjs.StringSymbol; }
292
296
  });
293
297
  Object.defineProperty(exports, "SymbolsErrorCode", {
294
298
  enumerable: true,
295
- get: function () { return chunkK65UI6KX_cjs.SymbolsErrorCode; }
299
+ get: function () { return chunkOABJLZRZ_cjs.SymbolsErrorCode; }
296
300
  });
297
301
  Object.defineProperty(exports, "TokenSymbol", {
298
302
  enumerable: true,
299
- get: function () { return chunkK65UI6KX_cjs.TokenSymbol; }
303
+ get: function () { return chunkOABJLZRZ_cjs.TokenSymbol; }
300
304
  });
301
305
  Object.defineProperty(exports, "UnitErrorCode", {
302
306
  enumerable: true,
303
- get: function () { return chunkK65UI6KX_cjs.UnitErrorCode; }
307
+ get: function () { return chunkOABJLZRZ_cjs.UnitErrorCode; }
304
308
  });
305
309
  Object.defineProperty(exports, "getMessage", {
306
310
  enumerable: true,
307
- get: function () { return chunkK65UI6KX_cjs.getMessage; }
311
+ get: function () { return chunkOABJLZRZ_cjs.getMessage; }
308
312
  });
309
313
  Object.defineProperty(exports, "getResultTypeName", {
310
314
  enumerable: true,
311
- get: function () { return chunkK65UI6KX_cjs.getResultTypeName; }
315
+ get: function () { return chunkOABJLZRZ_cjs.getResultTypeName; }
312
316
  });
313
317
  Object.defineProperty(exports, "isInterpreterError", {
314
318
  enumerable: true,
315
- get: function () { return chunkK65UI6KX_cjs.isInterpreterError; }
319
+ get: function () { return chunkOABJLZRZ_cjs.isInterpreterError; }
316
320
  });
317
321
  Object.defineProperty(exports, "isLanguageError", {
318
322
  enumerable: true,
319
- get: function () { return chunkK65UI6KX_cjs.isLanguageError; }
323
+ get: function () { return chunkOABJLZRZ_cjs.isLanguageError; }
320
324
  });
321
325
  Object.defineProperty(exports, "isLexerError", {
322
326
  enumerable: true,
323
- get: function () { return chunkK65UI6KX_cjs.isLexerError; }
327
+ get: function () { return chunkOABJLZRZ_cjs.isLexerError; }
324
328
  });
325
329
  Object.defineProperty(exports, "isParserError", {
326
330
  enumerable: true,
327
- get: function () { return chunkK65UI6KX_cjs.isParserError; }
331
+ get: function () { return chunkOABJLZRZ_cjs.isParserError; }
328
332
  });
329
333
  Object.defineProperty(exports, "isProcessorError", {
330
334
  enumerable: true,
331
- get: function () { return chunkK65UI6KX_cjs.isProcessorError; }
335
+ get: function () { return chunkOABJLZRZ_cjs.isProcessorError; }
332
336
  });
333
337
  Object.defineProperty(exports, "jsValueToSymbolType", {
334
338
  enumerable: true,
335
- get: function () { return chunkK65UI6KX_cjs.jsValueToSymbolType; }
339
+ get: function () { return chunkOABJLZRZ_cjs.jsValueToSymbolType; }
336
340
  });
337
341
  Object.defineProperty(exports, "serializeError", {
338
342
  enumerable: true,
339
- get: function () { return chunkK65UI6KX_cjs.serializeError; }
343
+ get: function () { return chunkOABJLZRZ_cjs.serializeError; }
340
344
  });
341
345
  Object.defineProperty(exports, "Operations", {
342
346
  enumerable: true,
343
- get: function () { return chunkKHF2VXWO_cjs.Operations; }
347
+ get: function () { return chunkZMMIYWFF_cjs.Operations; }
344
348
  });
345
349
  Object.defineProperty(exports, "ReservedKeyword", {
346
350
  enumerable: true,
347
- get: function () { return chunkKHF2VXWO_cjs.ReservedKeyword; }
351
+ get: function () { return chunkZMMIYWFF_cjs.ReservedKeyword; }
352
+ });
353
+ Object.defineProperty(exports, "SCRIPT_ONLY_STATEMENT_KEYWORDS", {
354
+ enumerable: true,
355
+ get: function () { return chunkZMMIYWFF_cjs.SCRIPT_ONLY_STATEMENT_KEYWORDS; }
348
356
  });
349
357
  Object.defineProperty(exports, "SupportedFormats", {
350
358
  enumerable: true,
351
- get: function () { return chunkKHF2VXWO_cjs.SupportedFormats; }
359
+ get: function () { return chunkZMMIYWFF_cjs.SupportedFormats; }
352
360
  });
353
361
  Object.defineProperty(exports, "TokenType", {
354
362
  enumerable: true,
355
- get: function () { return chunkKHF2VXWO_cjs.TokenType; }
363
+ get: function () { return chunkZMMIYWFF_cjs.TokenType; }
356
364
  });
357
365
  Object.defineProperty(exports, "UNINTERPRETED_KEYWORDS", {
358
366
  enumerable: true,
359
- get: function () { return chunkKHF2VXWO_cjs.UNINTERPRETED_KEYWORDS; }
367
+ get: function () { return chunkZMMIYWFF_cjs.UNINTERPRETED_KEYWORDS; }
360
368
  });
361
369
  //# sourceMappingURL=index.cjs.map
362
370
  //# sourceMappingURL=index.cjs.map
@@ -1,9 +1,9 @@
1
- import { P as ProcessorError, L as LanguageError, a as LexerError, b as ParserError, I as InterpreterError } from './interpreter-Cz_vWDDa.cjs';
2
- export { A as AllErrorCodes, C as ColorErrorCode, c as ColorErrorData, d as ConfigErrorCode, e as ConfigErrorData, E as ErrorOptions, F as FunctionsErrorCode, f as FunctionsErrorData, g as IncompleteInfo, h as IncompleteType, i as Interpreter, j as InterpreterErrorCode, k as InterpreterErrorData, l as InterpreterResult, m as Lexer, n as LexerErrorCode, o as LexerErrorData, O as OperationsErrorCode, p as OperationsErrorData, q as ParseState, r as Parser, s as ParserErrorCode, t as ParserErrorData, u as ProcessorErrorCode, v as ProcessorErrorData, S as SerializedError, w as SymbolsErrorCode, x as SymbolsErrorData, T as TolerantParseResult, U as UnitErrorCode, y as UnitErrorData, z as isInterpreterError, B as isLanguageError, D as isLexerError, G as isParserError, H as isProcessorError, J as parseExpression, K as serializeError } from './interpreter-Cz_vWDDa.cjs';
1
+ import { P as ProcessorError, L as LanguageError, a as LexerError, b as ParserError, I as InterpreterError } from './interpreter-B7BcLEBz.cjs';
2
+ export { A as AllErrorCodes, C as ColorErrorCode, c as ColorErrorData, d as ConfigErrorCode, e as ConfigErrorData, E as ErrorOptions, F as FunctionsErrorCode, f as FunctionsErrorData, g as IncompleteInfo, h as IncompleteType, i as Interpreter, j as InterpreterErrorCode, k as InterpreterErrorData, l as InterpreterResult, m as Lexer, n as LexerErrorCode, o as LexerErrorData, O as OperationsErrorCode, p as OperationsErrorData, q as ParseMode, r as ParseState, s as Parser, t as ParserErrorCode, u as ParserErrorData, v as ProcessorErrorCode, w as ProcessorErrorData, S as SerializedError, x as SymbolsErrorCode, y as SymbolsErrorData, T as TolerantParseResult, U as UnitErrorCode, z as UnitErrorData, B as isInterpreterError, D as isLanguageError, G as isLexerError, H as isParserError, J as isProcessorError, K as lexerOptionsForMode, M as parseExpression, N as serializeError } from './interpreter-B7BcLEBz.cjs';
3
3
  export { ASTNodes, EvalError, EvalOptions, EvalResult, EvalSuccess, PartialBinOpNode, PartialFunctionCallNode, PartialParenNode, PartialReferenceNode, PartialStringNode, PartialUnaryOpNode, ReferenceInfo, collectAllReferences, evaluateExpression, getMessage, hasPartialNodes, parseTolerantly, renameReferences, tokenizeTolerantly } from './interpreter.cjs';
4
4
  export { FlattenCallback, builders, flattenChildrenMap, flattenChildrenObject, getAffectedTokens, getBrokenReferences, getModifiedDependants, getRenamedReferences, processTokenSets, processTokens, validateTokenName, validateTokenPath } from './processor.cjs';
5
- export { A as ASTNode, B as BaseSymbolType, a as BooleanSymbol, C as ColorManager, b as ColorSpecification, c as ColorSpecificationSchema, d as ColorSymbol, e as Config, f as ConfigOptions, g as ConstantsSpecification, h as ConstantsSpecificationSchema, D as DEFAULT_LANGUAGE_OPTIONS, i as DictionarySymbol, F as FunctionSpecification, j as FunctionSpecificationSchema, k as FunctionsManager, I as ISymbolType, J as JsValue, L as LanguageOptions, l as ListSymbol, N as NullSymbol, m as NumberSymbol, n as NumberWithUnitSymbol, O as Operations, R as ReferenceRecord, o as ReferenceRecordValue, p as ReservedKeyword, S as StringSymbol, q as SupportedFormats, r as SymbolMetadata, T as Token, s as TokenSymbol, t as TokenType, U as UNINTERPRETED_KEYWORDS, u as UnitManager, v as UnitSpecification, w as UnitSpecificationSchema, x as collectReferenceNodes, y as filterAST, z as getResultTypeName, E as jsValueToSymbolType, G as walkAST } from './types-CxQPMHn1.cjs';
6
- export { B as BuildTokensOptions, C as CreateTokenParams, b as CreateTokenResult, D as DeleteTokenParams, c as DeleteTokenResult, I as IssuesMap, d as ProcessorOutput, e as ProcessorResult, R as ResolveIssue, T as TokenBuilder, f as TokenData, g as TokenDataMap, h as TokenOperationResult, i as TokenResolver, U as UpdateTokenParams, j as UpdateTokenResult, V as ValidationIssue, k as ValidationSeverity, l as buildTokens } from './types-6QQt-XVS.cjs';
5
+ export { A as ASTNode, B as BaseSymbolType, a as BooleanSymbol, C as ColorManager, b as ColorSpecification, c as ColorSpecificationSchema, d as ColorSymbol, e as Config, f as ConfigOptions, g as ConstantsSpecification, h as ConstantsSpecificationSchema, D as DEFAULT_LANGUAGE_OPTIONS, i as DictionarySymbol, F as FunctionSpecification, j as FunctionSpecificationSchema, k as FunctionsManager, I as ISymbolType, J as JsValue, L as LanguageOptions, l as ListSymbol, N as NullSymbol, m as NumberSymbol, n as NumberWithUnitSymbol, O as Operations, R as ReferenceRecord, o as ReferenceRecordValue, p as ReservedKeyword, S as SCRIPT_ONLY_STATEMENT_KEYWORDS, q as StringSymbol, r as SupportedFormats, s as SymbolMetadata, T as Token, t as TokenSymbol, u as TokenType, U as UNINTERPRETED_KEYWORDS, v as UnitManager, w as UnitSpecification, x as UnitSpecificationSchema, y as collectReferenceNodes, z as filterAST, E as getResultTypeName, G as jsValueToSymbolType, H as walkAST } from './types-BMYcHiSq.cjs';
6
+ export { B as BuildTokensOptions, C as CreateTokenParams, b as CreateTokenResult, D as DeleteTokenParams, c as DeleteTokenResult, I as IssuesMap, d as ProcessorOutput, e as ProcessorResult, R as ResolveIssue, T as TokenBuilder, f as TokenData, g as TokenDataMap, h as TokenOperationResult, i as TokenResolver, U as UpdateTokenParams, j as UpdateTokenResult, V as ValidationIssue, k as ValidationSeverity, l as buildTokens } from './types-BOyxzACN.cjs';
7
7
  export { SchemaFetcherOptions, TokenScriptSchemaContent, TokenScriptSchemaResponse, fetchAndRegisterSchemas, fetchTokenScriptSchema } from './schema.cjs';
8
8
  import '@tokens-studio/schema-validation';
9
9
 
@@ -1,9 +1,9 @@
1
- import { P as ProcessorError, L as LanguageError, a as LexerError, b as ParserError, I as InterpreterError } from './interpreter-DdF_Hj-J.js';
2
- export { A as AllErrorCodes, C as ColorErrorCode, c as ColorErrorData, d as ConfigErrorCode, e as ConfigErrorData, E as ErrorOptions, F as FunctionsErrorCode, f as FunctionsErrorData, g as IncompleteInfo, h as IncompleteType, i as Interpreter, j as InterpreterErrorCode, k as InterpreterErrorData, l as InterpreterResult, m as Lexer, n as LexerErrorCode, o as LexerErrorData, O as OperationsErrorCode, p as OperationsErrorData, q as ParseState, r as Parser, s as ParserErrorCode, t as ParserErrorData, u as ProcessorErrorCode, v as ProcessorErrorData, S as SerializedError, w as SymbolsErrorCode, x as SymbolsErrorData, T as TolerantParseResult, U as UnitErrorCode, y as UnitErrorData, z as isInterpreterError, B as isLanguageError, D as isLexerError, G as isParserError, H as isProcessorError, J as parseExpression, K as serializeError } from './interpreter-DdF_Hj-J.js';
1
+ import { P as ProcessorError, L as LanguageError, a as LexerError, b as ParserError, I as InterpreterError } from './interpreter-wKto6JTb.js';
2
+ export { A as AllErrorCodes, C as ColorErrorCode, c as ColorErrorData, d as ConfigErrorCode, e as ConfigErrorData, E as ErrorOptions, F as FunctionsErrorCode, f as FunctionsErrorData, g as IncompleteInfo, h as IncompleteType, i as Interpreter, j as InterpreterErrorCode, k as InterpreterErrorData, l as InterpreterResult, m as Lexer, n as LexerErrorCode, o as LexerErrorData, O as OperationsErrorCode, p as OperationsErrorData, q as ParseMode, r as ParseState, s as Parser, t as ParserErrorCode, u as ParserErrorData, v as ProcessorErrorCode, w as ProcessorErrorData, S as SerializedError, x as SymbolsErrorCode, y as SymbolsErrorData, T as TolerantParseResult, U as UnitErrorCode, z as UnitErrorData, B as isInterpreterError, D as isLanguageError, G as isLexerError, H as isParserError, J as isProcessorError, K as lexerOptionsForMode, M as parseExpression, N as serializeError } from './interpreter-wKto6JTb.js';
3
3
  export { ASTNodes, EvalError, EvalOptions, EvalResult, EvalSuccess, PartialBinOpNode, PartialFunctionCallNode, PartialParenNode, PartialReferenceNode, PartialStringNode, PartialUnaryOpNode, ReferenceInfo, collectAllReferences, evaluateExpression, getMessage, hasPartialNodes, parseTolerantly, renameReferences, tokenizeTolerantly } from './interpreter.js';
4
4
  export { FlattenCallback, builders, flattenChildrenMap, flattenChildrenObject, getAffectedTokens, getBrokenReferences, getModifiedDependants, getRenamedReferences, processTokenSets, processTokens, validateTokenName, validateTokenPath } from './processor.js';
5
- export { A as ASTNode, B as BaseSymbolType, a as BooleanSymbol, C as ColorManager, b as ColorSpecification, c as ColorSpecificationSchema, d as ColorSymbol, e as Config, f as ConfigOptions, g as ConstantsSpecification, h as ConstantsSpecificationSchema, D as DEFAULT_LANGUAGE_OPTIONS, i as DictionarySymbol, F as FunctionSpecification, j as FunctionSpecificationSchema, k as FunctionsManager, I as ISymbolType, J as JsValue, L as LanguageOptions, l as ListSymbol, N as NullSymbol, m as NumberSymbol, n as NumberWithUnitSymbol, O as Operations, R as ReferenceRecord, o as ReferenceRecordValue, p as ReservedKeyword, S as StringSymbol, q as SupportedFormats, r as SymbolMetadata, T as Token, s as TokenSymbol, t as TokenType, U as UNINTERPRETED_KEYWORDS, u as UnitManager, v as UnitSpecification, w as UnitSpecificationSchema, x as collectReferenceNodes, y as filterAST, z as getResultTypeName, E as jsValueToSymbolType, G as walkAST } from './types-CxQPMHn1.js';
6
- export { B as BuildTokensOptions, C as CreateTokenParams, b as CreateTokenResult, D as DeleteTokenParams, c as DeleteTokenResult, I as IssuesMap, d as ProcessorOutput, e as ProcessorResult, R as ResolveIssue, T as TokenBuilder, f as TokenData, g as TokenDataMap, h as TokenOperationResult, i as TokenResolver, U as UpdateTokenParams, j as UpdateTokenResult, V as ValidationIssue, k as ValidationSeverity, l as buildTokens } from './types-DRpZJjkx.js';
5
+ export { A as ASTNode, B as BaseSymbolType, a as BooleanSymbol, C as ColorManager, b as ColorSpecification, c as ColorSpecificationSchema, d as ColorSymbol, e as Config, f as ConfigOptions, g as ConstantsSpecification, h as ConstantsSpecificationSchema, D as DEFAULT_LANGUAGE_OPTIONS, i as DictionarySymbol, F as FunctionSpecification, j as FunctionSpecificationSchema, k as FunctionsManager, I as ISymbolType, J as JsValue, L as LanguageOptions, l as ListSymbol, N as NullSymbol, m as NumberSymbol, n as NumberWithUnitSymbol, O as Operations, R as ReferenceRecord, o as ReferenceRecordValue, p as ReservedKeyword, S as SCRIPT_ONLY_STATEMENT_KEYWORDS, q as StringSymbol, r as SupportedFormats, s as SymbolMetadata, T as Token, t as TokenSymbol, u as TokenType, U as UNINTERPRETED_KEYWORDS, v as UnitManager, w as UnitSpecification, x as UnitSpecificationSchema, y as collectReferenceNodes, z as filterAST, E as getResultTypeName, G as jsValueToSymbolType, H as walkAST } from './types-BMYcHiSq.js';
6
+ export { B as BuildTokensOptions, C as CreateTokenParams, b as CreateTokenResult, D as DeleteTokenParams, c as DeleteTokenResult, I as IssuesMap, d as ProcessorOutput, e as ProcessorResult, R as ResolveIssue, T as TokenBuilder, f as TokenData, g as TokenDataMap, h as TokenOperationResult, i as TokenResolver, U as UpdateTokenParams, j as UpdateTokenResult, V as ValidationIssue, k as ValidationSeverity, l as buildTokens } from './types-BHcQYEQ-.js';
7
7
  export { SchemaFetcherOptions, TokenScriptSchemaContent, TokenScriptSchemaResponse, fetchAndRegisterSchemas, fetchTokenScriptSchema } from './schema.js';
8
8
  import '@tokens-studio/schema-validation';
9
9
 
package/dist/lib/index.js CHANGED
@@ -1,5 +1,5 @@
1
- export { ASTNodes, ColorManager, ColorSpecificationSchema, Config, ConstantsSpecificationSchema, DEFAULT_LANGUAGE_OPTIONS, FunctionSpecificationSchema, FunctionsManager, IncompleteType, Interpreter, Lexer, ParseState, Parser, PartialBinOpNode, PartialFunctionCallNode, PartialParenNode, PartialReferenceNode, PartialStringNode, PartialUnaryOpNode, TokenResolver, UnitManager, UnitSpecificationSchema, ValidationSeverity, buildTokens, builders_exports as builders, collectAllReferences, collectReferenceNodes, errorClasses, errorHelpers, evaluateExpression, fetchAndRegisterSchemas, fetchTokenScriptSchema, filterAST, flattenChildrenMap, flattenChildrenObject, getAffectedTokens, getBrokenReferences, getModifiedDependants, getRenamedReferences, hasPartialNodes, parseExpression, parseTolerantly, processTokenSets, processTokens, renameReferences, tokenizeTolerantly, validateTokenName, validateTokenPath, walkAST } from './chunk-2BDFE7U4.js';
2
- export { BaseSymbolType, BooleanSymbol, ColorErrorCode, ColorSymbol, ConfigErrorCode, DictionarySymbol, FunctionsErrorCode, InterpreterError, InterpreterErrorCode, LanguageError, LexerError, LexerErrorCode, ListSymbol, NullSymbol, NumberSymbol, NumberWithUnitSymbol, OperationsErrorCode, ParserError, ParserErrorCode, ProcessorError, ProcessorErrorCode, StringSymbol, SymbolsErrorCode, TokenSymbol, UnitErrorCode, getMessage, getResultTypeName, isInterpreterError, isLanguageError, isLexerError, isParserError, isProcessorError, jsValueToSymbolType, serializeError } from './chunk-S7WGJBSX.js';
3
- export { Operations, ReservedKeyword, SupportedFormats, TokenType, UNINTERPRETED_KEYWORDS } from './chunk-AEOBCHBK.js';
1
+ export { ASTNodes, ColorManager, ColorSpecificationSchema, Config, ConstantsSpecificationSchema, DEFAULT_LANGUAGE_OPTIONS, FunctionSpecificationSchema, FunctionsManager, IncompleteType, Interpreter, Lexer, ParseState, Parser, PartialBinOpNode, PartialFunctionCallNode, PartialParenNode, PartialReferenceNode, PartialStringNode, PartialUnaryOpNode, TokenResolver, UnitManager, UnitSpecificationSchema, ValidationSeverity, buildTokens, builders_exports as builders, collectAllReferences, collectReferenceNodes, errorClasses, errorHelpers, evaluateExpression, fetchAndRegisterSchemas, fetchTokenScriptSchema, filterAST, flattenChildrenMap, flattenChildrenObject, getAffectedTokens, getBrokenReferences, getModifiedDependants, getRenamedReferences, hasPartialNodes, lexerOptionsForMode, parseExpression, parseTolerantly, processTokenSets, processTokens, renameReferences, tokenizeTolerantly, validateTokenName, validateTokenPath, walkAST } from './chunk-4L54VFWU.js';
2
+ export { BaseSymbolType, BooleanSymbol, ColorErrorCode, ColorSymbol, ConfigErrorCode, DictionarySymbol, FunctionsErrorCode, InterpreterError, InterpreterErrorCode, LanguageError, LexerError, LexerErrorCode, ListSymbol, NullSymbol, NumberSymbol, NumberWithUnitSymbol, OperationsErrorCode, ParserError, ParserErrorCode, ProcessorError, ProcessorErrorCode, StringSymbol, SymbolsErrorCode, TokenSymbol, UnitErrorCode, getMessage, getResultTypeName, isInterpreterError, isLanguageError, isLexerError, isParserError, isProcessorError, jsValueToSymbolType, serializeError } from './chunk-24FMHL6W.js';
3
+ export { Operations, ReservedKeyword, SCRIPT_ONLY_STATEMENT_KEYWORDS, SupportedFormats, TokenType, UNINTERPRETED_KEYWORDS } from './chunk-SLITBMFB.js';
4
4
  //# sourceMappingURL=index.js.map
5
5
  //# sourceMappingURL=index.js.map
@@ -1,4 +1,4 @@
1
- import { T as Token, A as ASTNode, I as ISymbolType, e as Config, R as ReferenceRecord } from './types-CxQPMHn1.js';
1
+ import { T as Token, A as ASTNode, I as ISymbolType, e as Config, R as ReferenceRecord } from './types-BMYcHiSq.cjs';
2
2
 
3
3
  /**
4
4
  * Union type for serialized error data that can be passed in error data objects.
@@ -366,7 +366,8 @@ declare enum ParserErrorCode {
366
366
  UNEXPECTED_END = "PARSER_UNEXPECTED_END",
367
367
  CONDITION_MUST_BE_BOOLEAN = "PARSER_CONDITION_MUST_BE_BOOLEAN",
368
368
  INVALID_SYNTAX = "PARSER_INVALID_SYNTAX",
369
- TOLERANT_REQUIRES_INLINE = "PARSER_TOLERANT_REQUIRES_INLINE"
369
+ TOLERANT_REQUIRES_INLINE = "PARSER_TOLERANT_REQUIRES_INLINE",
370
+ UNALLOWED_INLINE_SYNTAX = "PARSER_UNALLOWED_INLINE_SYNTAX"
370
371
  }
371
372
  interface ParserErrorData {
372
373
  [ParserErrorCode.UNEXPECTED_TOKEN]: {
@@ -382,6 +383,9 @@ interface ParserErrorData {
382
383
  };
383
384
  [ParserErrorCode.UNEXPECTED_END]: Record<string, never>;
384
385
  [ParserErrorCode.TOLERANT_REQUIRES_INLINE]: Record<string, never>;
386
+ [ParserErrorCode.UNALLOWED_INLINE_SYNTAX]: {
387
+ originalError: string;
388
+ };
385
389
  }
386
390
 
387
391
  declare enum ProcessorErrorCode {
@@ -583,6 +587,16 @@ interface LexerOptions {
583
587
  * Instead, it will return partial tokens where appropriate.
584
588
  */
585
589
  tolerant?: boolean;
590
+ /**
591
+ * If true, unquoted strings consume greedily until whitespace or a
592
+ * structural delimiter ({, }, (, ), [, ], ", ', ,, ;).
593
+ *
594
+ * This allows values like `http://foo.bar` to be parsed as a single string
595
+ * instead of being split on `:`, `/`, and `.`.
596
+ *
597
+ * Intended for inline mode (token $value parsing) only.
598
+ */
599
+ greedyStrings?: boolean;
586
600
  }
587
601
  declare class Lexer {
588
602
  private text;
@@ -600,6 +614,7 @@ declare class Lexer {
600
614
  */
601
615
  private _lastUnitableToken;
602
616
  private tolerant;
617
+ private greedyStrings;
603
618
  private collectedTokens;
604
619
  constructor(text: string, options?: LexerOptions);
605
620
  /**
@@ -619,7 +634,18 @@ declare class Lexer {
619
634
  private isDigit;
620
635
  private isValidIdentifierStart;
621
636
  private isValidStringElement;
637
+ /**
638
+ * Greedy variant of isValidStringElement.
639
+ * Consumes everything except whitespace and structural delimiters.
640
+ * Used in inline mode to allow values like `http://foo.bar` as a single string.
641
+ */
642
+ private isValidStringElementGreedy;
622
643
  private stringElement;
644
+ /**
645
+ * Non-greedy string element parsing, used when in format-adjacent position
646
+ * so that unit suffixes are correctly extracted even in greedy mode.
647
+ */
648
+ private stringElementNonGreedy;
623
649
  private reference;
624
650
  private explicitString;
625
651
  /**
@@ -794,7 +820,31 @@ interface ParseExpressionResult {
794
820
  parser: Parser;
795
821
  ast: ASTNode | null;
796
822
  }
797
- declare function parseExpression(text: string): ParseExpressionResult;
823
+ /**
824
+ * Parsing mode — determines how the lexer and parser behave.
825
+ *
826
+ * - `"inline"` — Expression-only mode for token `$value` fields.
827
+ * Enables greedy strings (URLs, dotted paths parsed as single tokens).
828
+ * No statements (variable, if, while, etc.).
829
+ *
830
+ * - `"script"` — Full statement mode for schema/function bodies.
831
+ * Standard lexing (`:`, `.`, `/` produce separate tokens).
832
+ */
833
+ type ParseMode = "inline" | "script";
834
+ /**
835
+ * Derive LexerOptions from a ParseMode, with optional overrides.
836
+ *
837
+ * Centralises the coupling between mode and lexer flags so call sites
838
+ * don't have to manually keep them in sync.
839
+ */
840
+ declare function lexerOptionsForMode(mode: ParseMode, overrides?: Partial<LexerOptions>): LexerOptions;
841
+ interface ParseExpressionOptions {
842
+ /** Parsing mode. Defaults to `"script"`. */
843
+ mode?: ParseMode;
844
+ /** Extra lexer options merged on top of the mode defaults. */
845
+ lexerOverrides?: Partial<LexerOptions>;
846
+ }
847
+ declare function parseExpression(text: string, options?: ParseExpressionOptions): ParseExpressionResult;
798
848
 
799
849
  declare class SymbolTable {
800
850
  private symbols;
@@ -861,4 +911,4 @@ declare class Interpreter {
861
911
  interpret(): InterpreterResult;
862
912
  }
863
913
 
864
- export { type AllErrorCodes as A, isLanguageError as B, ColorErrorCode as C, isLexerError as D, type ErrorOptions as E, FunctionsErrorCode as F, isParserError as G, isProcessorError as H, InterpreterError as I, parseExpression as J, serializeError as K, LanguageError as L, OperationsErrorCode as O, ProcessorError as P, type SerializedError as S, type TolerantParseResult as T, UnitErrorCode as U, LexerError as a, ParserError as b, type ColorErrorData as c, ConfigErrorCode as d, type ConfigErrorData as e, type FunctionsErrorData as f, type IncompleteInfo as g, IncompleteType as h, Interpreter as i, InterpreterErrorCode as j, type InterpreterErrorData as k, type InterpreterResult as l, Lexer as m, LexerErrorCode as n, type LexerErrorData as o, type OperationsErrorData as p, ParseState as q, Parser as r, ParserErrorCode as s, type ParserErrorData as t, ProcessorErrorCode as u, type ProcessorErrorData as v, SymbolsErrorCode as w, type SymbolsErrorData as x, type UnitErrorData as y, isInterpreterError as z };
914
+ export { type AllErrorCodes as A, isInterpreterError as B, ColorErrorCode as C, isLanguageError as D, type ErrorOptions as E, FunctionsErrorCode as F, isLexerError as G, isParserError as H, InterpreterError as I, isProcessorError as J, lexerOptionsForMode as K, LanguageError as L, parseExpression as M, serializeError as N, OperationsErrorCode as O, ProcessorError as P, type SerializedError as S, type TolerantParseResult as T, UnitErrorCode as U, LexerError as a, ParserError as b, type ColorErrorData as c, ConfigErrorCode as d, type ConfigErrorData as e, type FunctionsErrorData as f, type IncompleteInfo as g, IncompleteType as h, Interpreter as i, InterpreterErrorCode as j, type InterpreterErrorData as k, type InterpreterResult as l, Lexer as m, LexerErrorCode as n, type LexerErrorData as o, type OperationsErrorData as p, type ParseMode as q, ParseState as r, Parser as s, ParserErrorCode as t, type ParserErrorData as u, ProcessorErrorCode as v, type ProcessorErrorData as w, SymbolsErrorCode as x, type SymbolsErrorData as y, type UnitErrorData as z };