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

Method get

UnLuac/src/unluac/parse/LFunctionType.java:15–24  ·  view source on GitHub ↗
(Version.FunctionType type)

Source from the content-addressed store, hash-verified

13abstract public class LFunctionType extends BObjectType<LFunction> {
14
15 public static LFunctionType get(Version.FunctionType type) {
16 switch(type) {
17 case LUA50: return new LFunctionType50();
18 case LUA51: return new LFunctionType51();
19 case LUA52: return new LFunctionType52();
20 case LUA53: return new LFunctionType53();
21 case LUA54: return new LFunctionType54();
22 default: throw new IllegalStateException();
23 }
24 }
25
26 protected static class LFunctionParseState {
27

Callers 9

VersionMethod · 0.95
parseMethod · 0.45
parse_debugMethod · 0.45
parse_mainMethod · 0.45
parse_mainMethod · 0.45
parse_mainMethod · 0.45
parse_mainMethod · 0.45
parse_debugMethod · 0.45
parse_mainMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected