kaitai-struct-compiler 0.11.0-SNAPSHOT20240819.174857.793ba60 → 0.11.0-SNAPSHOT20240824.204755.5929d44

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.
@@ -3012,8 +3012,8 @@ function $m_Lio_kaitai_struct_Utils$() {
3012
3012
  function $c_Lio_kaitai_struct_Version$() {
3013
3013
  this.Lio_kaitai_struct_Version$__f_version = null;
3014
3014
  this.Lio_kaitai_struct_Version$__f_gitTime = null;
3015
- this.Lio_kaitai_struct_Version$__f_version = "0.11-SNAPSHOT20240819.174857.793ba60";
3016
- this.Lio_kaitai_struct_Version$__f_gitTime = "2024-08-19T17:48:57Z"
3015
+ this.Lio_kaitai_struct_Version$__f_version = "0.11-SNAPSHOT20240824.204755.5929d44";
3016
+ this.Lio_kaitai_struct_Version$__f_gitTime = "2024-08-24T20:47:55Z"
3017
3017
  }
3018
3018
  $c_Lio_kaitai_struct_Version$.prototype = new $h_O();
3019
3019
  $c_Lio_kaitai_struct_Version$.prototype.constructor = $c_Lio_kaitai_struct_Version$;
@@ -92322,19 +92322,21 @@ $c_Lio_kaitai_struct_languages_CppCompiler.prototype.enumDeclaration__sci_List__
92322
92322
  var suffix = $m_sci_Nil$().prependedAll__sc_IterableOnce__sci_List(elems$1);
92323
92323
  var enumClassAbs = $n($$x8).types2class__sci_List__T(this$16.appendedAll__sc_IterableOnce__sci_List(suffix));
92324
92324
  var valuesSetAbsRef = (($m_Lio_kaitai_struct_languages_CppCompiler$().types2class__sci_List__T(curClass) + "::_values_") + enumClass);
92325
- var this$18 = $n($as_sc_IterableOnceOps($n(enumColl).map__F1__O(new $c_sjsr_AnonFunction1(((x0$2$2) => {
92325
+ var this$19 = $n($as_sc_IterableOnceOps($n(enumColl).map__F1__O(new $c_sjsr_AnonFunction1(((x0$2$2) => {
92326
92326
  var x0$2 = $as_T2(x0$2$2);
92327
92327
  if ((x0$2 !== null)) {
92328
92328
  var this$17 = $n(x0$2);
92329
92329
  var t$2 = $uJ(this$17.T2__f__1);
92330
92330
  var lo$2 = t$2.RTLong__f_lo;
92331
92331
  var hi$2 = t$2.RTLong__f_hi;
92332
- return ("" + new $c_RTLong(lo$2, hi$2))
92332
+ var $$x9 = $n(this.Lio_kaitai_struct_languages_CppCompiler__f_translator);
92333
+ var this$18 = $m_s_math_BigInt$();
92334
+ return $n($$x9).doIntLiteral__s_math_BigInt__T(this$18.apply__J__s_math_BigInt(new $c_RTLong(lo$2, hi$2)))
92333
92335
  } else {
92334
92336
  throw new $c_s_MatchError(x0$2)
92335
92337
  }
92336
92338
  })))));
92337
- var setEntriesStr = $f_sc_IterableOnceOps__mkString__T__T__T__T(this$18, "", ", ", "");
92339
+ var setEntriesStr = $f_sc_IterableOnceOps__mkString__T__T__T__T(this$19, "", ", ", "");
92338
92340
  $n(this.Lio_kaitai_struct_languages_CppCompiler__f_outSrc).puts__T__V((((((("const std::set<std::underlying_type<" + enumClassAbs) + ">::type> ") + valuesSetAbsRef) + "{") + setEntriesStr) + "};"))
92339
92341
  }
92340
92342
  });
@@ -95507,22 +95509,24 @@ $c_Lio_kaitai_struct_languages_PHPCompiler.prototype.enumDeclaration__sci_List__
95507
95509
  })));
95508
95510
  var this$11 = $n(this.Lio_kaitai_struct_languages_PHPCompiler__f_out);
95509
95511
  $n(this$11.Lio_kaitai_struct_StringLanguageOutputWriter__f_sb).append__T__scm_StringBuilder("\n");
95510
- var this$13 = $n($as_sc_IterableOnceOps($n(enumColl).map__F1__O(new $c_sjsr_AnonFunction1(((x0$2$2) => {
95512
+ var this$14 = $n($as_sc_IterableOnceOps($n(enumColl).map__F1__O(new $c_sjsr_AnonFunction1(((x0$2$2) => {
95511
95513
  var x0$2 = $as_T2(x0$2$2);
95512
95514
  if ((x0$2 !== null)) {
95513
95515
  var this$12 = $n(x0$2);
95514
95516
  var t$1 = $uJ(this$12.T2__f__1);
95515
95517
  var lo$1 = t$1.RTLong__f_lo;
95516
95518
  var hi$1 = t$1.RTLong__f_hi;
95517
- return (new $c_RTLong(lo$1, hi$1) + " => true")
95519
+ var $$x4 = this.Lio_kaitai_struct_languages_PHPCompiler__f_translator;
95520
+ var this$13 = $m_s_math_BigInt$();
95521
+ return ($n($$x4).doIntLiteral__s_math_BigInt__T(this$13.apply__J__s_math_BigInt(new $c_RTLong(lo$1, hi$1))) + " => true")
95518
95522
  } else {
95519
95523
  throw new $c_s_MatchError(x0$2)
95520
95524
  }
95521
95525
  })))));
95522
- var arrayEntriesStr = $f_sc_IterableOnceOps__mkString__T__T__T__T(this$13, "", ", ", "");
95526
+ var arrayEntriesStr = $f_sc_IterableOnceOps__mkString__T__T__T__T(this$14, "", ", ", "");
95523
95527
  $n(this.Lio_kaitai_struct_languages_PHPCompiler__f_out).puts__T__V((("private const _VALUES = [" + arrayEntriesStr) + "];"));
95524
- var this$14 = $n(this.Lio_kaitai_struct_languages_PHPCompiler__f_out);
95525
- $n(this$14.Lio_kaitai_struct_StringLanguageOutputWriter__f_sb).append__T__scm_StringBuilder("\n");
95528
+ var this$15 = $n(this.Lio_kaitai_struct_languages_PHPCompiler__f_out);
95529
+ $n(this$15.Lio_kaitai_struct_StringLanguageOutputWriter__f_sb).append__T__scm_StringBuilder("\n");
95526
95530
  $n(this.Lio_kaitai_struct_languages_PHPCompiler__f_out).puts__T__V("public static function isDefined(int $v): bool {");
95527
95531
  $n(this.Lio_kaitai_struct_languages_PHPCompiler__f_out).inc__V();
95528
95532
  $n(this.Lio_kaitai_struct_languages_PHPCompiler__f_out).puts__T__V("return isset(self::_VALUES[$v]);");
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-SNAPSHOT20240819.174857.793ba60"
38
+ "version": "0.11.0-SNAPSHOT20240824.204755.5929d44"
39
39
  }