prompto.problem.UnknownIdentifierProblem Maven / Gradle / Ivy
The newest version!
package prompto.problem;
import prompto.parser.ICodeSection;
public class UnknownIdentifierProblem extends SyntaxProblemBase {
String name;
public UnknownIdentifierProblem(ICodeSection section, String name) {
super(section);
this.name = name;
}
@Override
public Type getType() {
return Type.ERROR;
}
@Override
public String getMessage() {
return "Unknown identifier: " + name;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy