MCPcopy Create free account
hub / github.com/Hiro420/NikkeTools / make50

Method make50

UnLuac/src/unluac/decompile/block/TForBlock.java:35–47  ·  view source on GitHub ↗
(LFunction function, int begin, int end, int register, int length, boolean innerClose)

Source from the content-addressed store, hash-verified

33 private Expression[] values;
34
35 public static TForBlock make50(LFunction function, int begin, int end, int register, int length, boolean innerClose) {
36 int innerScopeEnd = end - 3;
37 if(innerClose) {
38 innerScopeEnd--;
39 }
40 return new TForBlock(
41 function, begin, end,
42 register, register + 1, register + 2, register + 1 + length,
43 begin - 1, end - 1,
44 begin - 1, end - 1,
45 innerScopeEnd
46 );
47 }
48
49 public static TForBlock make51(LFunction function, int begin, int end, int register, int length, boolean forvarClose, boolean innerClose) {
50 int explicitScopeEnd = end - 3;

Callers 1

find_fixed_blocksMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected