Something went wrong on our end
Select Git revision
config2.yml
-
Jakub Dylag authoredJakub Dylag authored
DecrParser.java 387 B
public class DecrParser extends Unary {
public DecrParser() {
super("decr");
}
@Override
public void _execute() throws OperationError {
setNewValue(getInterpreter().executeDecr(getVariable()));
}
@Override
public String getChangeMessage() {
return "Decremented " + getVariableString(getVariable()) + "to " + getNewValue();
}
}