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

Class LAbsLineInfo

UnLuac/src/unluac/parse/LAbsLineInfo.java:3–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1package unluac.parse;
2
3public class LAbsLineInfo extends LObject {
4
5 public final int pc;
6 public final int line;
7
8 public LAbsLineInfo(int pc, int line) {
9 this.pc = pc;
10 this.line = line;
11 }
12
13 @Override
14 public boolean equals(Object o) {
15 if(o instanceof LAbsLineInfo) {
16 LAbsLineInfo other = (LAbsLineInfo) o;
17 return pc == other.pc && line == other.line;
18 } else {
19 return false;
20 }
21 }
22
23}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected