MCPcopy Create free account
hub / github.com/acsoto/BUAA-Compiler / Error

Class Error

src/Error.java:1–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1public class Error {
2 private int n;
3 private String type;
4
5 public Error(int n, String type) {
6 this.n = n;
7 this.type = type;
8 }
9
10 public int getN() {
11 return n;
12 }
13
14 @Override
15 public String toString() {
16 return n+" "+type;
17 }
18}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected