kaitai-struct-compiler 0.10.0-SNAPSHOT20220415.194636.880ae970 → 0.10.0-SNAPSHOT20220505.181132.b0125311
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/kaitai-struct-compiler.js +9 -10
- package/package.json +1 -1
|
@@ -4430,9 +4430,9 @@ function $h_Lio_kaitai_struct_Version$() {
|
|
|
4430
4430
|
$h_Lio_kaitai_struct_Version$.prototype = $c_Lio_kaitai_struct_Version$.prototype;
|
|
4431
4431
|
$c_Lio_kaitai_struct_Version$.prototype.init___ = (function() {
|
|
4432
4432
|
this.name$1 = "kaitai-struct-compiler-js";
|
|
4433
|
-
this.version$1 = "0.10-
|
|
4434
|
-
this.gitCommit$1 = "
|
|
4435
|
-
this.gitTime$1 = "2022-
|
|
4433
|
+
this.version$1 = "0.10-SNAPSHOT20220505.181132.b0125311";
|
|
4434
|
+
this.gitCommit$1 = "b0125311";
|
|
4435
|
+
this.gitTime$1 = "2022-05-05T18:11:32+00:00";
|
|
4436
4436
|
return this
|
|
4437
4437
|
});
|
|
4438
4438
|
var $d_Lio_kaitai_struct_Version$ = new $TypeData().initClass({
|
|
@@ -80085,7 +80085,7 @@ $c_Lio_kaitai_struct_languages_LuaCompiler.prototype.classConstructorFooter__V =
|
|
|
80085
80085
|
var this$1 = this.out$2;
|
|
80086
80086
|
this$1.sb$2.append__T__scm_StringBuilder("\n")
|
|
80087
80087
|
});
|
|
80088
|
-
$c_Lio_kaitai_struct_languages_LuaCompiler.prototype.condRepeatUntilHeader__Lio_kaitai_struct_format_Identifier__T__Lio_kaitai_struct_datatype_DataType__Lio_kaitai_struct_exprlang_Ast$expr__V = (function(id, io, dataType,
|
|
80088
|
+
$c_Lio_kaitai_struct_languages_LuaCompiler.prototype.condRepeatUntilHeader__Lio_kaitai_struct_format_Identifier__T__Lio_kaitai_struct_datatype_DataType__Lio_kaitai_struct_exprlang_Ast$expr__V = (function(id, io, dataType, untilExpr) {
|
|
80089
80089
|
this.out$2.puts__T__V("local i = 0");
|
|
80090
80090
|
this.out$2.puts__T__V("while true do");
|
|
80091
80091
|
this.out$2.inc__V()
|
|
@@ -80380,9 +80380,8 @@ $c_Lio_kaitai_struct_languages_LuaCompiler.prototype.attrProcess__Lio_kaitai_str
|
|
|
80380
80380
|
} else {
|
|
80381
80381
|
var x = $m_Lio_kaitai_struct_format_ProcessZlib$();
|
|
80382
80382
|
if ((x === proc)) {
|
|
80383
|
-
|
|
80384
|
-
}
|
|
80385
|
-
if ((proc instanceof $c_Lio_kaitai_struct_format_ProcessRotate)) {
|
|
80383
|
+
var expr$2 = (("KaitaiStream.process_zlib(" + srcExpr) + ")")
|
|
80384
|
+
} else if ((proc instanceof $c_Lio_kaitai_struct_format_ProcessRotate)) {
|
|
80386
80385
|
var x3 = $as_Lio_kaitai_struct_format_ProcessRotate(proc);
|
|
80387
80386
|
var isLeft = x3.left$1;
|
|
80388
80387
|
var rotValue = x3.key$1;
|
|
@@ -80491,9 +80490,9 @@ function $h_Lio_kaitai_struct_languages_NimCompiler() {
|
|
|
80491
80490
|
/*<skip>*/
|
|
80492
80491
|
}
|
|
80493
80492
|
$h_Lio_kaitai_struct_languages_NimCompiler.prototype = $c_Lio_kaitai_struct_languages_NimCompiler.prototype;
|
|
80494
|
-
$c_Lio_kaitai_struct_languages_NimCompiler.prototype.condRepeatUntilFooter__Lio_kaitai_struct_format_Identifier__T__Lio_kaitai_struct_datatype_DataType__Lio_kaitai_struct_exprlang_Ast$expr__V = (function(id, io, dataType,
|
|
80493
|
+
$c_Lio_kaitai_struct_languages_NimCompiler.prototype.condRepeatUntilFooter__Lio_kaitai_struct_format_Identifier__T__Lio_kaitai_struct_datatype_DataType__Lio_kaitai_struct_exprlang_Ast$expr__V = (function(id, io, dataType, untilExpr) {
|
|
80495
80494
|
this.typeProvider$1.$$undcurrentIteratorType$1 = new $c_s_Some().init___O(dataType);
|
|
80496
|
-
this.out$2.puts__T__V((("if " + $f_Lio_kaitai_struct_languages_components_ObjectOrientedLanguage__expression__Lio_kaitai_struct_exprlang_Ast$expr__T(this,
|
|
80495
|
+
this.out$2.puts__T__V((("if " + $f_Lio_kaitai_struct_languages_components_ObjectOrientedLanguage__expression__Lio_kaitai_struct_exprlang_Ast$expr__T(this, untilExpr)) + ":"));
|
|
80497
80496
|
this.out$2.inc__V();
|
|
80498
80497
|
this.out$2.puts__T__V("break");
|
|
80499
80498
|
this.out$2.dec__V();
|
|
@@ -81081,7 +81080,7 @@ $c_Lio_kaitai_struct_languages_NimCompiler.prototype.switchCaseStart__Lio_kaitai
|
|
|
81081
81080
|
$c_Lio_kaitai_struct_languages_NimCompiler.prototype.classConstructorFooter__V = (function() {
|
|
81082
81081
|
this.out$2.dec__V()
|
|
81083
81082
|
});
|
|
81084
|
-
$c_Lio_kaitai_struct_languages_NimCompiler.prototype.condRepeatUntilHeader__Lio_kaitai_struct_format_Identifier__T__Lio_kaitai_struct_datatype_DataType__Lio_kaitai_struct_exprlang_Ast$expr__V = (function(id, io, dataType,
|
|
81083
|
+
$c_Lio_kaitai_struct_languages_NimCompiler.prototype.condRepeatUntilHeader__Lio_kaitai_struct_format_Identifier__T__Lio_kaitai_struct_datatype_DataType__Lio_kaitai_struct_exprlang_Ast$expr__V = (function(id, io, dataType, untilExpr) {
|
|
81085
81084
|
this.out$2.puts__T__V("block:");
|
|
81086
81085
|
this.out$2.inc__V();
|
|
81087
81086
|
this.out$2.puts__T__V("var i: int");
|
package/package.json
CHANGED