kaitai-struct-compiler 0.11.0-SNAPSHOT20250906.100703.8f8bb0f → 0.11.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.
@@ -3038,8 +3038,8 @@ function $m_Lio_kaitai_struct_Utils$() {
3038
3038
  function $c_Lio_kaitai_struct_Version$() {
3039
3039
  this.Lio_kaitai_struct_Version$__f_version = null;
3040
3040
  this.Lio_kaitai_struct_Version$__f_gitTime = null;
3041
- this.Lio_kaitai_struct_Version$__f_version = "0.11-SNAPSHOT20250906.100703.8f8bb0f";
3042
- this.Lio_kaitai_struct_Version$__f_gitTime = "2025-09-06T10:07:03Z"
3041
+ this.Lio_kaitai_struct_Version$__f_version = "0.11.0";
3042
+ this.Lio_kaitai_struct_Version$__f_gitTime = "2025-09-07T18:59:46Z"
3043
3043
  }
3044
3044
  $c_Lio_kaitai_struct_Version$.prototype = new $h_O();
3045
3045
  $c_Lio_kaitai_struct_Version$.prototype.constructor = $c_Lio_kaitai_struct_Version$;
@@ -108996,7 +108996,7 @@ $c_Lio_kaitai_struct_languages_JavaCompiler.prototype.attrBasicCheck__Lio_kaitai
108996
108996
  var msgStr = $f_Lio_kaitai_struct_languages_components_ObjectOrientedLanguage__expression__Lio_kaitai_struct_exprlang_Ast$expr__T(this, e);
108997
108997
  $n(this.Lio_kaitai_struct_languages_JavaCompiler__f_out).puts__T__V((("if (" + $f_Lio_kaitai_struct_languages_components_ObjectOrientedLanguage__expression__Lio_kaitai_struct_exprlang_Ast$expr__T(this, checkExpr)) + ")"));
108998
108998
  $n(this.Lio_kaitai_struct_languages_JavaCompiler__f_out).inc__V();
108999
- $n(this.Lio_kaitai_struct_languages_JavaCompiler__f_out).puts__T__V((((((("throw new ConsistencyError(" + msgStr) + ", ") + $f_Lio_kaitai_struct_languages_components_ObjectOrientedLanguage__expression__Lio_kaitai_struct_exprlang_Ast$expr__T(this, actual)) + ", ") + $f_Lio_kaitai_struct_languages_components_ObjectOrientedLanguage__expression__Lio_kaitai_struct_exprlang_Ast$expr__T(this, expected)) + ");"));
108999
+ $n(this.Lio_kaitai_struct_languages_JavaCompiler__f_out).puts__T__V((((((("throw new ConsistencyError(" + msgStr) + ", ") + $f_Lio_kaitai_struct_languages_components_ObjectOrientedLanguage__expression__Lio_kaitai_struct_exprlang_Ast$expr__T(this, expected)) + ", ") + $f_Lio_kaitai_struct_languages_components_ObjectOrientedLanguage__expression__Lio_kaitai_struct_exprlang_Ast$expr__T(this, actual)) + ");"));
109000
109000
  $n(this.Lio_kaitai_struct_languages_JavaCompiler__f_out).dec__V();
109001
109001
  var this$1 = $n(this.Lio_kaitai_struct_languages_JavaCompiler__f_importList);
109002
109002
  $m_Lio_kaitai_struct_Utils$().addUniqueAttr__scm_ListBuffer__O__V(this$1.Lio_kaitai_struct_ImportList__f_list, "io.kaitai.struct.ConsistencyError")
@@ -109006,7 +109006,7 @@ $c_Lio_kaitai_struct_languages_JavaCompiler.prototype.attrObjectsEqualCheck__Lio
109006
109006
  var msgStr = $f_Lio_kaitai_struct_languages_components_ObjectOrientedLanguage__expression__Lio_kaitai_struct_exprlang_Ast$expr__T(this, e);
109007
109007
  $n(this.Lio_kaitai_struct_languages_JavaCompiler__f_out).puts__T__V((((("if (!Objects.equals(" + $f_Lio_kaitai_struct_languages_components_ObjectOrientedLanguage__expression__Lio_kaitai_struct_exprlang_Ast$expr__T(this, actual)) + ", ") + $f_Lio_kaitai_struct_languages_components_ObjectOrientedLanguage__expression__Lio_kaitai_struct_exprlang_Ast$expr__T(this, expected)) + "))"));
109008
109008
  $n(this.Lio_kaitai_struct_languages_JavaCompiler__f_out).inc__V();
109009
- $n(this.Lio_kaitai_struct_languages_JavaCompiler__f_out).puts__T__V((((((("throw new ConsistencyError(" + msgStr) + ", ") + $f_Lio_kaitai_struct_languages_components_ObjectOrientedLanguage__expression__Lio_kaitai_struct_exprlang_Ast$expr__T(this, actual)) + ", ") + $f_Lio_kaitai_struct_languages_components_ObjectOrientedLanguage__expression__Lio_kaitai_struct_exprlang_Ast$expr__T(this, expected)) + ");"));
109009
+ $n(this.Lio_kaitai_struct_languages_JavaCompiler__f_out).puts__T__V((((((("throw new ConsistencyError(" + msgStr) + ", ") + $f_Lio_kaitai_struct_languages_components_ObjectOrientedLanguage__expression__Lio_kaitai_struct_exprlang_Ast$expr__T(this, expected)) + ", ") + $f_Lio_kaitai_struct_languages_components_ObjectOrientedLanguage__expression__Lio_kaitai_struct_exprlang_Ast$expr__T(this, actual)) + ");"));
109010
109010
  $n(this.Lio_kaitai_struct_languages_JavaCompiler__f_out).dec__V();
109011
109011
  var this$1 = $n(this.Lio_kaitai_struct_languages_JavaCompiler__f_importList);
109012
109012
  $m_Lio_kaitai_struct_Utils$().addUniqueAttr__scm_ListBuffer__O__V(this$1.Lio_kaitai_struct_ImportList__f_list, "java.util.Objects");
@@ -109065,7 +109065,7 @@ $c_Lio_kaitai_struct_languages_JavaCompiler.prototype.attrParentParamCheck__Lio_
109065
109065
  var msgStr = $f_Lio_kaitai_struct_languages_components_ObjectOrientedLanguage__expression__Lio_kaitai_struct_exprlang_Ast$expr__T(this, e);
109066
109066
  $n(this.Lio_kaitai_struct_languages_JavaCompiler__f_out).puts__T__V((((("if (!Objects.equals(" + $f_Lio_kaitai_struct_languages_components_ObjectOrientedLanguage__expression__Lio_kaitai_struct_exprlang_Ast$expr__T(this, actualParentExpr)) + ", ") + expectedParent) + "))"));
109067
109067
  $n(this.Lio_kaitai_struct_languages_JavaCompiler__f_out).inc__V();
109068
- $n(this.Lio_kaitai_struct_languages_JavaCompiler__f_out).puts__T__V((((((("throw new ConsistencyError(" + msgStr) + ", ") + $f_Lio_kaitai_struct_languages_components_ObjectOrientedLanguage__expression__Lio_kaitai_struct_exprlang_Ast$expr__T(this, actualParentExpr)) + ", ") + expectedParent) + ");"));
109068
+ $n(this.Lio_kaitai_struct_languages_JavaCompiler__f_out).puts__T__V((((((("throw new ConsistencyError(" + msgStr) + ", ") + expectedParent) + ", ") + $f_Lio_kaitai_struct_languages_components_ObjectOrientedLanguage__expression__Lio_kaitai_struct_exprlang_Ast$expr__T(this, actualParentExpr)) + ");"));
109069
109069
  $n(this.Lio_kaitai_struct_languages_JavaCompiler__f_out).dec__V();
109070
109070
  var this$3 = $n(this.Lio_kaitai_struct_languages_JavaCompiler__f_importList);
109071
109071
  $m_Lio_kaitai_struct_Utils$().addUniqueAttr__scm_ListBuffer__O__V(this$3.Lio_kaitai_struct_ImportList__f_list, "java.util.Objects");
@@ -109079,7 +109079,7 @@ $c_Lio_kaitai_struct_languages_JavaCompiler.prototype.attrIsEofCheck__T__Z__T__V
109079
109079
  var ifExpr = (expectedIsEof ? (("!(" + eofExpr) + ")") : eofExpr);
109080
109080
  $n(this.Lio_kaitai_struct_languages_JavaCompiler__f_out).puts__T__V((("if (" + ifExpr) + ")"));
109081
109081
  $n(this.Lio_kaitai_struct_languages_JavaCompiler__f_out).inc__V();
109082
- $n(this.Lio_kaitai_struct_languages_JavaCompiler__f_out).puts__T__V((((("throw new ConsistencyError(" + msgStr) + ", ") + this.exprIORemainingSize__T__T(io)) + ", 0);"));
109082
+ $n(this.Lio_kaitai_struct_languages_JavaCompiler__f_out).puts__T__V((((("throw new ConsistencyError(" + msgStr) + ", 0, ") + this.exprIORemainingSize__T__T(io)) + ");"));
109083
109083
  $n(this.Lio_kaitai_struct_languages_JavaCompiler__f_out).dec__V();
109084
109084
  var this$1 = $n(this.Lio_kaitai_struct_languages_JavaCompiler__f_importList);
109085
109085
  $m_Lio_kaitai_struct_Utils$().addUniqueAttr__scm_ListBuffer__O__V(this$1.Lio_kaitai_struct_ImportList__f_list, "io.kaitai.struct.ConsistencyError")
@@ -110373,7 +110373,7 @@ $c_Lio_kaitai_struct_languages_PythonCompiler.prototype.attrBasicCheck__Lio_kait
110373
110373
  var msgStr = $f_Lio_kaitai_struct_languages_components_ObjectOrientedLanguage__expression__Lio_kaitai_struct_exprlang_Ast$expr__T(this, e);
110374
110374
  $n(this.Lio_kaitai_struct_languages_PythonCompiler__f_out).puts__T__V((("if " + $f_Lio_kaitai_struct_languages_components_ObjectOrientedLanguage__expression__Lio_kaitai_struct_exprlang_Ast$expr__T(this, checkExpr)) + ":"));
110375
110375
  $n(this.Lio_kaitai_struct_languages_PythonCompiler__f_out).inc__V();
110376
- $n(this.Lio_kaitai_struct_languages_PythonCompiler__f_out).puts__T__V((((((("raise kaitaistruct.ConsistencyError(" + msgStr) + ", ") + $f_Lio_kaitai_struct_languages_components_ObjectOrientedLanguage__expression__Lio_kaitai_struct_exprlang_Ast$expr__T(this, actual)) + ", ") + $f_Lio_kaitai_struct_languages_components_ObjectOrientedLanguage__expression__Lio_kaitai_struct_exprlang_Ast$expr__T(this, expected)) + ")"));
110376
+ $n(this.Lio_kaitai_struct_languages_PythonCompiler__f_out).puts__T__V((((((("raise kaitaistruct.ConsistencyError(" + msgStr) + ", ") + $f_Lio_kaitai_struct_languages_components_ObjectOrientedLanguage__expression__Lio_kaitai_struct_exprlang_Ast$expr__T(this, expected)) + ", ") + $f_Lio_kaitai_struct_languages_components_ObjectOrientedLanguage__expression__Lio_kaitai_struct_exprlang_Ast$expr__T(this, actual)) + ")"));
110377
110377
  $n(this.Lio_kaitai_struct_languages_PythonCompiler__f_out).dec__V()
110378
110378
  });
110379
110379
  $c_Lio_kaitai_struct_languages_PythonCompiler.prototype.attrObjectsEqualCheck__Lio_kaitai_struct_exprlang_Ast$expr__Lio_kaitai_struct_exprlang_Ast$expr__T__V = (function(actual, expected, msg) {
@@ -110381,7 +110381,7 @@ $c_Lio_kaitai_struct_languages_PythonCompiler.prototype.attrObjectsEqualCheck__L
110381
110381
  var msgStr = $f_Lio_kaitai_struct_languages_components_ObjectOrientedLanguage__expression__Lio_kaitai_struct_exprlang_Ast$expr__T(this, e);
110382
110382
  $n(this.Lio_kaitai_struct_languages_PythonCompiler__f_out).puts__T__V((((("if " + $f_Lio_kaitai_struct_languages_components_ObjectOrientedLanguage__expression__Lio_kaitai_struct_exprlang_Ast$expr__T(this, actual)) + " != ") + $f_Lio_kaitai_struct_languages_components_ObjectOrientedLanguage__expression__Lio_kaitai_struct_exprlang_Ast$expr__T(this, expected)) + ":"));
110383
110383
  $n(this.Lio_kaitai_struct_languages_PythonCompiler__f_out).inc__V();
110384
- $n(this.Lio_kaitai_struct_languages_PythonCompiler__f_out).puts__T__V((((((("raise kaitaistruct.ConsistencyError(" + msgStr) + ", ") + $f_Lio_kaitai_struct_languages_components_ObjectOrientedLanguage__expression__Lio_kaitai_struct_exprlang_Ast$expr__T(this, actual)) + ", ") + $f_Lio_kaitai_struct_languages_components_ObjectOrientedLanguage__expression__Lio_kaitai_struct_exprlang_Ast$expr__T(this, expected)) + ")"));
110384
+ $n(this.Lio_kaitai_struct_languages_PythonCompiler__f_out).puts__T__V((((((("raise kaitaistruct.ConsistencyError(" + msgStr) + ", ") + $f_Lio_kaitai_struct_languages_components_ObjectOrientedLanguage__expression__Lio_kaitai_struct_exprlang_Ast$expr__T(this, expected)) + ", ") + $f_Lio_kaitai_struct_languages_components_ObjectOrientedLanguage__expression__Lio_kaitai_struct_exprlang_Ast$expr__T(this, actual)) + ")"));
110385
110385
  $n(this.Lio_kaitai_struct_languages_PythonCompiler__f_out).dec__V()
110386
110386
  });
110387
110387
  $c_Lio_kaitai_struct_languages_PythonCompiler.prototype.attrParentParamCheck__Lio_kaitai_struct_exprlang_Ast$expr__Lio_kaitai_struct_datatype_DataType$UserType__s_Option__T__V = (function(actualParentExpr, ut, shouldDependOnIo, msg) {
@@ -110436,7 +110436,7 @@ $c_Lio_kaitai_struct_languages_PythonCompiler.prototype.attrParentParamCheck__Li
110436
110436
  var msgStr = $f_Lio_kaitai_struct_languages_components_ObjectOrientedLanguage__expression__Lio_kaitai_struct_exprlang_Ast$expr__T(this, e);
110437
110437
  $n(this.Lio_kaitai_struct_languages_PythonCompiler__f_out).puts__T__V((((("if " + $f_Lio_kaitai_struct_languages_components_ObjectOrientedLanguage__expression__Lio_kaitai_struct_exprlang_Ast$expr__T(this, actualParentExpr)) + " != ") + expectedParent) + ":"));
110438
110438
  $n(this.Lio_kaitai_struct_languages_PythonCompiler__f_out).inc__V();
110439
- $n(this.Lio_kaitai_struct_languages_PythonCompiler__f_out).puts__T__V((((((("raise kaitaistruct.ConsistencyError(" + msgStr) + ", ") + $f_Lio_kaitai_struct_languages_components_ObjectOrientedLanguage__expression__Lio_kaitai_struct_exprlang_Ast$expr__T(this, actualParentExpr)) + ", ") + expectedParent) + ")"));
110439
+ $n(this.Lio_kaitai_struct_languages_PythonCompiler__f_out).puts__T__V((((((("raise kaitaistruct.ConsistencyError(" + msgStr) + ", ") + expectedParent) + ", ") + $f_Lio_kaitai_struct_languages_components_ObjectOrientedLanguage__expression__Lio_kaitai_struct_exprlang_Ast$expr__T(this, actualParentExpr)) + ")"));
110440
110440
  $n(this.Lio_kaitai_struct_languages_PythonCompiler__f_out).dec__V()
110441
110441
  });
110442
110442
  $c_Lio_kaitai_struct_languages_PythonCompiler.prototype.attrIsEofCheck__T__Z__T__V = (function(io, expectedIsEof, msg) {
@@ -110446,7 +110446,7 @@ $c_Lio_kaitai_struct_languages_PythonCompiler.prototype.attrIsEofCheck__T__Z__T_
110446
110446
  var ifExpr = (expectedIsEof ? ("not " + eofExpr) : eofExpr);
110447
110447
  $n(this.Lio_kaitai_struct_languages_PythonCompiler__f_out).puts__T__V((("if " + ifExpr) + ":"));
110448
110448
  $n(this.Lio_kaitai_struct_languages_PythonCompiler__f_out).inc__V();
110449
- $n(this.Lio_kaitai_struct_languages_PythonCompiler__f_out).puts__T__V((((("raise kaitaistruct.ConsistencyError(" + msgStr) + ", ") + this.exprIORemainingSize__T__T(io)) + ", 0)"));
110449
+ $n(this.Lio_kaitai_struct_languages_PythonCompiler__f_out).puts__T__V((((("raise kaitaistruct.ConsistencyError(" + msgStr) + ", 0, ") + this.exprIORemainingSize__T__T(io)) + ")"));
110450
110450
  $n(this.Lio_kaitai_struct_languages_PythonCompiler__f_out).dec__V()
110451
110451
  });
110452
110452
  $c_Lio_kaitai_struct_languages_PythonCompiler.prototype.condIfIsEofHeader__T__Z__V = (function(io, wantedIsEof) {
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-SNAPSHOT20250906.100703.8f8bb0f"
38
+ "version": "0.11.0"
39
39
  }