kaitai-struct-compiler 0.11.0-SNAPSHOT20240302.124222.b47078c → 0.11.0-SNAPSHOT20240302.135815.89cf9b7

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.
@@ -2974,8 +2974,8 @@ function $m_Lio_kaitai_struct_Utils$() {
2974
2974
  function $c_Lio_kaitai_struct_Version$() {
2975
2975
  this.Lio_kaitai_struct_Version$__f_version = null;
2976
2976
  this.Lio_kaitai_struct_Version$__f_gitTime = null;
2977
- this.Lio_kaitai_struct_Version$__f_version = "0.11-SNAPSHOT20240302.124222.b47078c";
2978
- this.Lio_kaitai_struct_Version$__f_gitTime = "2024-03-02T12:42:22+00:00"
2977
+ this.Lio_kaitai_struct_Version$__f_version = "0.11-SNAPSHOT20240302.135815.89cf9b7";
2978
+ this.Lio_kaitai_struct_Version$__f_gitTime = "2024-03-02T13:58:15+00:00"
2979
2979
  }
2980
2980
  $c_Lio_kaitai_struct_Version$.prototype = new $h_O();
2981
2981
  $c_Lio_kaitai_struct_Version$.prototype.constructor = $c_Lio_kaitai_struct_Version$;
@@ -85210,6 +85210,17 @@ $c_Lio_kaitai_struct_translators_NimTranslator.prototype.strSubstring__Lio_kaita
85210
85210
  $c_Lio_kaitai_struct_translators_NimTranslator.prototype.strToInt__Lio_kaitai_struct_exprlang_Ast$expr__Lio_kaitai_struct_exprlang_Ast$expr__T = (function(s, base) {
85211
85211
  return (((this.translate__Lio_kaitai_struct_exprlang_Ast$expr__T(s) + ".parseInt(") + this.translate__Lio_kaitai_struct_exprlang_Ast$expr__T(base)) + ")")
85212
85212
  });
85213
+ $c_Lio_kaitai_struct_translators_NimTranslator.prototype.doInterpolatedStringLiteral__sci_Seq__T = (function(exprs) {
85214
+ if ($n(exprs).isEmpty__Z()) {
85215
+ return $f_Lio_kaitai_struct_translators_CommonLiterals__doStringLiteral__T__T(this, "")
85216
+ } else {
85217
+ var this$2 = $n($as_sc_IterableOnceOps($n(exprs).map__F1__O(new $c_sjsr_AnonFunction1(((value$2) => {
85218
+ var value = $as_Lio_kaitai_struct_exprlang_Ast$expr(value$2);
85219
+ return this.anyToStr__Lio_kaitai_struct_exprlang_Ast$expr__T(value)
85220
+ })))));
85221
+ return $f_sc_IterableOnceOps__mkString__T__T__T__T(this$2, "", " & ", "")
85222
+ }
85223
+ });
85213
85224
  $c_Lio_kaitai_struct_translators_NimTranslator.prototype.strToInt__Lio_kaitai_struct_exprlang_Ast$expr__Lio_kaitai_struct_exprlang_Ast$expr__O = (function(s, base) {
85214
85225
  return this.strToInt__Lio_kaitai_struct_exprlang_Ast$expr__Lio_kaitai_struct_exprlang_Ast$expr__T(s, base)
85215
85226
  });
@@ -87645,6 +87656,17 @@ $c_Lio_kaitai_struct_translators_LuaTranslator.prototype.arrayMax__Lio_kaitai_st
87645
87656
  $m_Lio_kaitai_struct_Utils$().addUniqueAttr__scm_ListBuffer__O__V(this$1.Lio_kaitai_struct_ImportList__f_list, "local utils = require(\"utils\")");
87646
87657
  return (("utils.array_max(" + this.translate__Lio_kaitai_struct_exprlang_Ast$expr__T(a)) + ")")
87647
87658
  });
87659
+ $c_Lio_kaitai_struct_translators_LuaTranslator.prototype.doInterpolatedStringLiteral__sci_Seq__T = (function(exprs) {
87660
+ if ($n(exprs).isEmpty__Z()) {
87661
+ return $f_Lio_kaitai_struct_translators_CommonLiterals__doStringLiteral__T__T(this, "")
87662
+ } else {
87663
+ var this$2 = $n($as_sc_IterableOnceOps($n(exprs).map__F1__O(new $c_sjsr_AnonFunction1(((value$2) => {
87664
+ var value = $as_Lio_kaitai_struct_exprlang_Ast$expr(value$2);
87665
+ return this.anyToStr__Lio_kaitai_struct_exprlang_Ast$expr__T(value)
87666
+ })))));
87667
+ return $f_sc_IterableOnceOps__mkString__T__T__T__T(this$2, "", " .. ", "")
87668
+ }
87669
+ });
87648
87670
  $c_Lio_kaitai_struct_translators_LuaTranslator.prototype.kaitaiStreamSize__Lio_kaitai_struct_exprlang_Ast$expr__T = (function(value) {
87649
87671
  return (this.translate__Lio_kaitai_struct_exprlang_Ast$expr__T(value) + ":size()")
87650
87672
  });
package/package.json CHANGED
@@ -35,5 +35,5 @@
35
35
  "scripts": {
36
36
  "test": "echo \"Error: no test specified\" && exit 1"
37
37
  },
38
- "version": "0.11.0-SNAPSHOT20240302.124222.b47078c"
38
+ "version": "0.11.0-SNAPSHOT20240302.135815.89cf9b7"
39
39
  }