| 1 | package unluac.parse; |
| 2 | |
| 3 | public 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 | } |
nothing calls this directly
no outgoing calls
no test coverage detected