@lionweb/io-lionweb-mps-specific 0.7.0-beta.23 → 0.7.0-beta.25
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/dist/deserializer.js +2 -2
- package/dist/deserializer.js.map +1 -1
- package/package.json +6 -7
- package/src/deserializer.ts +2 -2
package/dist/deserializer.js
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
//
|
|
15
15
|
// SPDX-FileCopyrightText: 2025 TRUMPF Laser SE and other contributors
|
|
16
16
|
// SPDX-License-Identifier: Apache-2.0
|
|
17
|
-
import {
|
|
17
|
+
import { builtinPropertyValueDeserializer, defaultSimplisticHandler, deserializeChunk, Language, lioncore, lioncoreBuiltins, nodesExtractorUsing } from "@lionweb/core";
|
|
18
18
|
import { lioncoreExtractionFacade } from "@lionweb/core/dist/m3/facade.js";
|
|
19
19
|
import { ioLionWebMpsSpecificLanguage } from "./definition.js";
|
|
20
20
|
import { combinedWriter } from "./facade.js";
|
|
@@ -23,5 +23,5 @@ import { combinedWriter } from "./facade.js";
|
|
|
23
23
|
* Any LionCore/M3 node can be annotated using annotations from the `io.lionweb.mps.specific` language.
|
|
24
24
|
* Problems are reported through the given {@link SimplisticHandler} which defaults to {@link defaultSimplisticHandler}.
|
|
25
25
|
*/
|
|
26
|
-
export const deserializeLanguagesWithIoLionWebMpsSpecific = (serializationChunk, problemHandler = defaultSimplisticHandler) => deserializeChunk(serializationChunk, combinedWriter, [lioncore, ioLionWebMpsSpecificLanguage], [lioncore, lioncoreBuiltins].flatMap(nodesExtractorUsing(lioncoreExtractionFacade)),
|
|
26
|
+
export const deserializeLanguagesWithIoLionWebMpsSpecific = (serializationChunk, problemHandler = defaultSimplisticHandler) => deserializeChunk(serializationChunk, combinedWriter, [lioncore, ioLionWebMpsSpecificLanguage], [lioncore, lioncoreBuiltins].flatMap(nodesExtractorUsing(lioncoreExtractionFacade)), builtinPropertyValueDeserializer, problemHandler).filter((node) => node instanceof Language);
|
|
27
27
|
//# sourceMappingURL=deserializer.js.map
|
package/dist/deserializer.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deserializer.js","sourceRoot":"","sources":["../src/deserializer.ts"],"names":[],"mappings":"AAAA,wDAAwD;AACxD,EAAE;AACF,iEAAiE;AACjE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,iDAAiD;AACjD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;AACjC,EAAE;AACF,sEAAsE;AACtE,sCAAsC;AAGtC,OAAO,EACH,gCAAgC,EAChC,wBAAwB,EACxB,gBAAgB,EAChB,QAAQ,EACR,QAAQ,EACR,gBAAgB,EAChB,mBAAmB,EAEtB,MAAM,eAAe,CAAA;AACtB,OAAO,EAAE,wBAAwB,EAAE,MAAM,iCAAiC,CAAA;AAC1E,OAAO,EAAE,4BAA4B,EAAE,MAAM,iBAAiB,CAAA;AAC9D,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAA;AAE5C;;;;GAIG;AACH,MAAM,CAAC,MAAM,4CAA4C,GAAG,CAAC,kBAAoC,EAAE,iBAAoC,wBAAwB,EAAE,EAAE,CAC/J,gBAAgB,CACZ,kBAAkB,EAClB,cAAc,EACd,CAAC,QAAQ,EAAE,4BAA4B,CAAC,EACxC,CAAC,QAAQ,EAAE,gBAAgB,CAAC,CAAC,OAAO,CAAC,mBAAmB,CAAC,wBAAwB,CAAC,CAAC,EACnF,
|
|
1
|
+
{"version":3,"file":"deserializer.js","sourceRoot":"","sources":["../src/deserializer.ts"],"names":[],"mappings":"AAAA,wDAAwD;AACxD,EAAE;AACF,iEAAiE;AACjE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,iDAAiD;AACjD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;AACjC,EAAE;AACF,sEAAsE;AACtE,sCAAsC;AAGtC,OAAO,EACH,gCAAgC,EAChC,wBAAwB,EACxB,gBAAgB,EAChB,QAAQ,EACR,QAAQ,EACR,gBAAgB,EAChB,mBAAmB,EAEtB,MAAM,eAAe,CAAA;AACtB,OAAO,EAAE,wBAAwB,EAAE,MAAM,iCAAiC,CAAA;AAC1E,OAAO,EAAE,4BAA4B,EAAE,MAAM,iBAAiB,CAAA;AAC9D,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAA;AAE5C;;;;GAIG;AACH,MAAM,CAAC,MAAM,4CAA4C,GAAG,CAAC,kBAAoC,EAAE,iBAAoC,wBAAwB,EAAE,EAAE,CAC/J,gBAAgB,CACZ,kBAAkB,EAClB,cAAc,EACd,CAAC,QAAQ,EAAE,4BAA4B,CAAC,EACxC,CAAC,QAAQ,EAAE,gBAAgB,CAAC,CAAC,OAAO,CAAC,mBAAmB,CAAC,wBAAwB,CAAC,CAAC,EACnF,gCAAgC,EAChC,cAAc,CACjB,CAAC,MAAM,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,YAAY,QAAQ,CAAe,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lionweb/io-lionweb-mps-specific",
|
|
3
|
-
"version": "0.7.0-beta.
|
|
3
|
+
"version": "0.7.0-beta.25",
|
|
4
4
|
"description": "TypeScript implementation of the io.lionweb.mps.specific language",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -15,12 +15,11 @@
|
|
|
15
15
|
"url": "https://github.com/LionWeb-io/lionweb-typescript/issues"
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@lionweb/core": "0.7.0-beta.
|
|
19
|
-
"@lionweb/json": "0.7.0-beta.
|
|
20
|
-
"@lionweb/textgen-utils": "0.7.0-beta.
|
|
21
|
-
"@lionweb/ts-utils": "0.7.0-beta.
|
|
22
|
-
"littoral-templates": "0.5.1"
|
|
23
|
-
"nanoid": "5.1.5"
|
|
18
|
+
"@lionweb/core": "0.7.0-beta.25",
|
|
19
|
+
"@lionweb/json": "0.7.0-beta.25",
|
|
20
|
+
"@lionweb/textgen-utils": "0.7.0-beta.25",
|
|
21
|
+
"@lionweb/ts-utils": "0.7.0-beta.25",
|
|
22
|
+
"littoral-templates": "0.5.1"
|
|
24
23
|
},
|
|
25
24
|
"scripts": {
|
|
26
25
|
"clean": "npx rimraf dist node_modules -g lionweb-io-lionweb-mps-specific-*.tgz",
|
package/src/deserializer.ts
CHANGED
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
|
|
18
18
|
import { LionWebJsonChunk } from "@lionweb/json"
|
|
19
19
|
import {
|
|
20
|
-
|
|
20
|
+
builtinPropertyValueDeserializer,
|
|
21
21
|
defaultSimplisticHandler,
|
|
22
22
|
deserializeChunk,
|
|
23
23
|
Language,
|
|
@@ -41,7 +41,7 @@ export const deserializeLanguagesWithIoLionWebMpsSpecific = (serializationChunk:
|
|
|
41
41
|
combinedWriter,
|
|
42
42
|
[lioncore, ioLionWebMpsSpecificLanguage],
|
|
43
43
|
[lioncore, lioncoreBuiltins].flatMap(nodesExtractorUsing(lioncoreExtractionFacade)),
|
|
44
|
-
|
|
44
|
+
builtinPropertyValueDeserializer,
|
|
45
45
|
problemHandler
|
|
46
46
|
).filter((node) => node instanceof Language) as Language[]
|
|
47
47
|
|