idx++;
break;
case Ignore:
break;
default:
throw new AnalystCodeGenerationError(
"Can't generate Ninjascript code, unsupported normalizatoin action: "
+ field.getAction().toString());
}
}
if (field.isOutput()) {
if (firstOutputField == null) {
firstOutputField = field;
}
}
}
if (firstOutputField == null) {
throw new AnalystCodeGenerationError(
"Could not find an output field.");
}
addLine("Compute(input,output);");