kaitai-struct-compiler 0.11.0-SNAPSHOT20250814.145539.cc2621d → 0.11.0-SNAPSHOT20250819.142119.0b6aa5d
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 +29 -22
- package/package.json +1 -1
|
@@ -3033,8 +3033,8 @@ function $m_Lio_kaitai_struct_Utils$() {
|
|
|
3033
3033
|
function $c_Lio_kaitai_struct_Version$() {
|
|
3034
3034
|
this.Lio_kaitai_struct_Version$__f_version = null;
|
|
3035
3035
|
this.Lio_kaitai_struct_Version$__f_gitTime = null;
|
|
3036
|
-
this.Lio_kaitai_struct_Version$__f_version = "0.11-
|
|
3037
|
-
this.Lio_kaitai_struct_Version$__f_gitTime = "2025-08-
|
|
3036
|
+
this.Lio_kaitai_struct_Version$__f_version = "0.11-SNAPSHOT20250819.142119.0b6aa5d";
|
|
3037
|
+
this.Lio_kaitai_struct_Version$__f_gitTime = "2025-08-19T14:21:19Z"
|
|
3038
3038
|
}
|
|
3039
3039
|
$c_Lio_kaitai_struct_Version$.prototype = new $h_O();
|
|
3040
3040
|
$c_Lio_kaitai_struct_Version$.prototype.constructor = $c_Lio_kaitai_struct_Version$;
|
|
@@ -35883,16 +35883,23 @@ $c_Lio_kaitai_struct_GraphvizClassCompiler.prototype.affectedVars__Lio_kaitai_st
|
|
|
35883
35883
|
return this$5.appendedAll__sc_IterableOnce__sci_List(suffix$3)
|
|
35884
35884
|
} else if (((e instanceof $c_Lio_kaitai_struct_exprlang_Ast$expr$IntNum) || ((e instanceof $c_Lio_kaitai_struct_exprlang_Ast$expr$FloatNum) || ((e instanceof $c_Lio_kaitai_struct_exprlang_Ast$expr$Str) || (e instanceof $c_Lio_kaitai_struct_exprlang_Ast$expr$Bool))))) {
|
|
35885
35885
|
return $m_sci_Nil$()
|
|
35886
|
+
} else if ((e instanceof $c_Lio_kaitai_struct_exprlang_Ast$expr$InterpolatedStr)) {
|
|
35887
|
+
var x15 = $as_Lio_kaitai_struct_exprlang_Ast$expr$InterpolatedStr(e);
|
|
35888
|
+
var exprs = $n(x15).Lio_kaitai_struct_exprlang_Ast$expr$InterpolatedStr__f_elts;
|
|
35889
|
+
return $n($as_sc_IterableOnceOps($n(exprs).flatMap__F1__O(new $c_sjsr_AnonFunction1(((e$3$2) => {
|
|
35890
|
+
var e$3 = $as_Lio_kaitai_struct_exprlang_Ast$expr(e$3$2);
|
|
35891
|
+
return this.affectedVars__Lio_kaitai_struct_exprlang_Ast$expr__sci_List(e$3)
|
|
35892
|
+
}))))).toList__sci_List()
|
|
35886
35893
|
} else if ((e instanceof $c_Lio_kaitai_struct_exprlang_Ast$expr$EnumByLabel)) {
|
|
35887
35894
|
return $m_sci_Nil$()
|
|
35888
35895
|
} else if ((e instanceof $c_Lio_kaitai_struct_exprlang_Ast$expr$EnumById)) {
|
|
35889
|
-
var
|
|
35890
|
-
var id = $n(
|
|
35896
|
+
var x17 = $as_Lio_kaitai_struct_exprlang_Ast$expr$EnumById(e);
|
|
35897
|
+
var id = $n(x17).Lio_kaitai_struct_exprlang_Ast$expr$EnumById__f_id;
|
|
35891
35898
|
return this.affectedVars__Lio_kaitai_struct_exprlang_Ast$expr__sci_List(id)
|
|
35892
35899
|
} else if ((e instanceof $c_Lio_kaitai_struct_exprlang_Ast$expr$Attribute)) {
|
|
35893
|
-
var
|
|
35894
|
-
var value = $n(
|
|
35895
|
-
var attr = $n(
|
|
35900
|
+
var x20 = $as_Lio_kaitai_struct_exprlang_Ast$expr$Attribute(e);
|
|
35901
|
+
var value = $n(x20).Lio_kaitai_struct_exprlang_Ast$expr$Attribute__f_value;
|
|
35902
|
+
var attr = $n(x20).Lio_kaitai_struct_exprlang_Ast$expr$Attribute__f_attr;
|
|
35896
35903
|
if (($n(attr).Lio_kaitai_struct_exprlang_Ast$identifier__f_name === $m_Lio_kaitai_struct_format_Identifier$().Lio_kaitai_struct_format_Identifier$__f_SIZEOF)) {
|
|
35897
35904
|
matchEnd5: {
|
|
35898
35905
|
var vars;
|
|
@@ -35949,9 +35956,9 @@ $c_Lio_kaitai_struct_GraphvizClassCompiler.prototype.affectedVars__Lio_kaitai_st
|
|
|
35949
35956
|
return this.affectedVars__Lio_kaitai_struct_exprlang_Ast$expr__sci_List(value)
|
|
35950
35957
|
}
|
|
35951
35958
|
} else if ((e instanceof $c_Lio_kaitai_struct_exprlang_Ast$expr$Call)) {
|
|
35952
|
-
var
|
|
35953
|
-
var func = $n(
|
|
35954
|
-
var args = $n(
|
|
35959
|
+
var x21 = $as_Lio_kaitai_struct_exprlang_Ast$expr$Call(e);
|
|
35960
|
+
var func = $n(x21).Lio_kaitai_struct_exprlang_Ast$expr$Call__f_func;
|
|
35961
|
+
var args = $n(x21).Lio_kaitai_struct_exprlang_Ast$expr$Call__f_args;
|
|
35955
35962
|
matchEnd6: {
|
|
35956
35963
|
var fromFunc;
|
|
35957
35964
|
if ((func instanceof $c_Lio_kaitai_struct_exprlang_Ast$expr$Attribute)) {
|
|
@@ -35969,15 +35976,15 @@ $c_Lio_kaitai_struct_GraphvizClassCompiler.prototype.affectedVars__Lio_kaitai_st
|
|
|
35969
35976
|
};
|
|
35970
35977
|
return $n(this.affectedVars__Lio_kaitai_struct_exprlang_Ast$expr__sci_List(new $c_Lio_kaitai_struct_exprlang_Ast$expr$List(args))).$colon$colon$colon__sci_List__sci_List(fromFunc)
|
|
35971
35978
|
} else if ((e instanceof $c_Lio_kaitai_struct_exprlang_Ast$expr$Subscript)) {
|
|
35972
|
-
var
|
|
35973
|
-
var value$2 = $n(
|
|
35974
|
-
var idx = $n(
|
|
35979
|
+
var x22 = $as_Lio_kaitai_struct_exprlang_Ast$expr$Subscript(e);
|
|
35980
|
+
var value$2 = $n(x22).Lio_kaitai_struct_exprlang_Ast$expr$Subscript__f_value;
|
|
35981
|
+
var idx = $n(x22).Lio_kaitai_struct_exprlang_Ast$expr$Subscript__f_idx;
|
|
35975
35982
|
var this$21 = $n(this.affectedVars__Lio_kaitai_struct_exprlang_Ast$expr__sci_List(value$2));
|
|
35976
35983
|
var suffix$4 = this.affectedVars__Lio_kaitai_struct_exprlang_Ast$expr__sci_List(idx);
|
|
35977
35984
|
return this$21.appendedAll__sc_IterableOnce__sci_List(suffix$4)
|
|
35978
35985
|
} else if ((e instanceof $c_Lio_kaitai_struct_exprlang_Ast$expr$Name)) {
|
|
35979
|
-
var
|
|
35980
|
-
var id$3 = $n(
|
|
35986
|
+
var x23 = $as_Lio_kaitai_struct_exprlang_Ast$expr$Name(e);
|
|
35987
|
+
var id$3 = $n(x23).Lio_kaitai_struct_exprlang_Ast$expr$Name__f_id;
|
|
35981
35988
|
var this$22 = $n($n(id$3).Lio_kaitai_struct_exprlang_Ast$identifier__f_name);
|
|
35982
35989
|
if (((this$22.length >= 0) && ($as_T(this$22.substring(0, 1)) === "_"))) {
|
|
35983
35990
|
return $m_sci_Nil$()
|
|
@@ -35989,15 +35996,15 @@ $c_Lio_kaitai_struct_GraphvizClassCompiler.prototype.affectedVars__Lio_kaitai_st
|
|
|
35989
35996
|
return $m_sci_Nil$().prependedAll__sc_IterableOnce__sci_List(elems$3)
|
|
35990
35997
|
}
|
|
35991
35998
|
} else if ((e instanceof $c_Lio_kaitai_struct_exprlang_Ast$expr$List)) {
|
|
35992
|
-
var
|
|
35993
|
-
var elts = $n(
|
|
35994
|
-
return $n($as_sc_IterableOnceOps($n(elts).flatMap__F1__O(new $c_sjsr_AnonFunction1(((e$
|
|
35995
|
-
var e$
|
|
35996
|
-
return this.affectedVars__Lio_kaitai_struct_exprlang_Ast$expr__sci_List(e$
|
|
35999
|
+
var x24 = $as_Lio_kaitai_struct_exprlang_Ast$expr$List(e);
|
|
36000
|
+
var elts = $n(x24).Lio_kaitai_struct_exprlang_Ast$expr$List__f_elts;
|
|
36001
|
+
return $n($as_sc_IterableOnceOps($n(elts).flatMap__F1__O(new $c_sjsr_AnonFunction1(((e$4$2) => {
|
|
36002
|
+
var e$4 = $as_Lio_kaitai_struct_exprlang_Ast$expr(e$4$2);
|
|
36003
|
+
return this.affectedVars__Lio_kaitai_struct_exprlang_Ast$expr__sci_List(e$4)
|
|
35997
36004
|
}))))).toList__sci_List()
|
|
35998
36005
|
} else if ((e instanceof $c_Lio_kaitai_struct_exprlang_Ast$expr$CastToType)) {
|
|
35999
|
-
var
|
|
36000
|
-
var expr = $n(
|
|
36006
|
+
var x25 = $as_Lio_kaitai_struct_exprlang_Ast$expr$CastToType(e);
|
|
36007
|
+
var expr = $n(x25).Lio_kaitai_struct_exprlang_Ast$expr$CastToType__f_value;
|
|
36001
36008
|
return this.affectedVars__Lio_kaitai_struct_exprlang_Ast$expr__sci_List(expr)
|
|
36002
36009
|
} else if ((e instanceof $c_Lio_kaitai_struct_exprlang_Ast$expr$ByteSizeOfType)) {
|
|
36003
36010
|
return $m_sci_Nil$()
|
package/package.json
CHANGED