Select Git revision
ActivityDiagramFormCreation.PNG
-
James D'Alton authoredJames D'Alton authored
IncrParser.java 384 B
public class IncrParser extends Unary {
public IncrParser() {
super("incr");
}
@Override
public void _execute() throws OperationError {
setNewValue(getInterpreter().executeIncr(getVariable(0)));
}
@Override
public String getChangeMessage() {
return getVariableString(getVariable()) + "incremented to " + getNewValue();
}
}