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

Method Function

UnLuac/src/unluac/decompile/Function.java:14–21  ·  view source on GitHub ↗
(LFunction function)

Source from the content-addressed store, hash-verified

12 private final CodeExtract extract;
13
14 public Function(LFunction function) {
15 version = function.header.version;
16 constants = new Constant[function.constants.length];
17 for(int i = 0; i < constants.length; i++) {
18 constants[i] = new Constant(function.constants[i]);
19 }
20 extract = function.header.extractor;
21 }
22
23 public boolean isConstant(int register) {
24 return extract.is_k(register);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected