1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
package semanticanalysis; /** * Class respresents a semantic error. */ public class SemanticError { private final String msg; public SemanticError(String msg) { this.msg = msg; } @Override public String toString() { return msg; } }