@abaplint/transpiler-cli 2.14.8 → 2.14.10
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 +15 -0
- package/build/bundle.js +5941 -1186
- package/build/types.d.ts +6 -2
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -8,6 +8,21 @@ Call `abap_transpile` on the command line, see example in
|
|
|
8
8
|
|
|
9
9
|
https://github.com/larshp/abap-advent-2020/blob/main/package.json#L8
|
|
10
10
|
|
|
11
|
+
Shared factory functions for repeated composite type constructors are enabled by
|
|
12
|
+
default. Each factory call creates a fresh ABAP value. To preserve inline
|
|
13
|
+
constructor output, set `options.sharedTypeFactories` to `false` in
|
|
14
|
+
`abap_transpile.json`:
|
|
15
|
+
|
|
16
|
+
```json
|
|
17
|
+
{
|
|
18
|
+
"options": {
|
|
19
|
+
"sharedTypeFactories": false
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
Omit the option or set it to `true` to use shared factories.
|
|
25
|
+
|
|
11
26
|
## Output layout
|
|
12
27
|
|
|
13
28
|
The CLI writes generated project files into `output_folder/project/`. All
|