}
}
private void printStep(String status, List<Argument> arguments, String location) {
Step step = steps.remove(0);
Format textFormat = getFormat(status);
Format argFormat = getArgFormat(status);
printComments(step.getComments(), " ");
StringBuilder buffer = new StringBuilder(" ");
buffer.append(textFormat.text(step.getKeyword()));
stepPrinter.writeStep(new NiceAppendable(buffer), textFormat, argFormat, step.getName(), arguments);
buffer.append(indentedLocation(location));
out.println(buffer);
if (step.getRows() != null) {
table(step.getRows());
} else if (step.getDocString() != null) {
docString(step.getDocString());
}
}