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