@mintplayer/polyglot-target-typescript 0.9.9 → 0.10.0
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/package.json +1 -1
- package/polyglot-plugin.json +6 -68
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mintplayer/polyglot-target-typescript",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.10.0",
|
|
4
4
|
"description": "MintPlayer Polyglot TypeScript / JavaScript target — a pure-JSON language plugin (spec + emission rules + capabilities + std bindings) for the polyglot transpiler.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"polyglot",
|
package/polyglot-plugin.json
CHANGED
|
@@ -2,6 +2,11 @@
|
|
|
2
2
|
"schema": 1,
|
|
3
3
|
"name": "typescript",
|
|
4
4
|
"crossDirImports": true,
|
|
5
|
+
"originMapping": {
|
|
6
|
+
"style": "sourceMapV3",
|
|
7
|
+
"sidecarExtension": ".map",
|
|
8
|
+
"footer": "//# sourceMappingURL=$f"
|
|
9
|
+
},
|
|
5
10
|
"capabilities": {
|
|
6
11
|
"interfaces:runtimeIdentity": false,
|
|
7
12
|
"attributes:target.function": false,
|
|
@@ -2731,74 +2736,7 @@
|
|
|
2731
2736
|
]
|
|
2732
2737
|
}
|
|
2733
2738
|
]
|
|
2734
|
-
]
|
|
2735
|
-
"else": {
|
|
2736
|
-
"seq": [
|
|
2737
|
-
{
|
|
2738
|
-
"line": {
|
|
2739
|
-
"tmpl": [
|
|
2740
|
-
{
|
|
2741
|
-
"case": {
|
|
2742
|
-
"when": [
|
|
2743
|
-
[
|
|
2744
|
-
{
|
|
2745
|
-
"eq": [
|
|
2746
|
-
"item.#",
|
|
2747
|
-
"0"
|
|
2748
|
-
]
|
|
2749
|
-
},
|
|
2750
|
-
""
|
|
2751
|
-
]
|
|
2752
|
-
],
|
|
2753
|
-
"else": "else "
|
|
2754
|
-
}
|
|
2755
|
-
},
|
|
2756
|
-
"{"
|
|
2757
|
-
]
|
|
2758
|
-
}
|
|
2759
|
-
},
|
|
2760
|
-
{
|
|
2761
|
-
"indent": [
|
|
2762
|
-
{
|
|
2763
|
-
"case": {
|
|
2764
|
-
"when": [
|
|
2765
|
-
[
|
|
2766
|
-
{
|
|
2767
|
-
"eq": [
|
|
2768
|
-
"item.hasBinding",
|
|
2769
|
-
"true"
|
|
2770
|
-
]
|
|
2771
|
-
},
|
|
2772
|
-
{
|
|
2773
|
-
"line": {
|
|
2774
|
-
"tmpl": [
|
|
2775
|
-
"const ",
|
|
2776
|
-
{
|
|
2777
|
-
"fn": "ident",
|
|
2778
|
-
"args": [
|
|
2779
|
-
{
|
|
2780
|
-
"get": "item.binding"
|
|
2781
|
-
}
|
|
2782
|
-
]
|
|
2783
|
-
},
|
|
2784
|
-
" = __e;"
|
|
2785
|
-
]
|
|
2786
|
-
}
|
|
2787
|
-
}
|
|
2788
|
-
]
|
|
2789
|
-
]
|
|
2790
|
-
}
|
|
2791
|
-
},
|
|
2792
|
-
{
|
|
2793
|
-
"stmts": "item.body"
|
|
2794
|
-
}
|
|
2795
|
-
]
|
|
2796
|
-
},
|
|
2797
|
-
{
|
|
2798
|
-
"line": "}"
|
|
2799
|
-
}
|
|
2800
|
-
]
|
|
2801
|
-
}
|
|
2739
|
+
]
|
|
2802
2740
|
}
|
|
2803
2741
|
}
|
|
2804
2742
|
},
|