prompto.runtime.ErrorVariable Maven / Gradle / Ivy
The newest version!
package prompto.runtime;
import prompto.grammar.Identifier;
import prompto.type.EnumeratedCategoryType;
import prompto.type.IType;
public class ErrorVariable extends Variable {
public ErrorVariable(Identifier name) {
super(name,null);
}
@Override
public String toString() {
return getId().toString();
}
@Override
public IType getType(Context context) {
return new EnumeratedCategoryType(new Identifier("Error"));
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy