}
}
// Check for parameters
if (!done) {
PageElementParameter parameter = analysis.isInParameter(currentIndex);
if ((parameter != null) &&
(parameter.getBeginIndex() == currentIndex)) {
result = true;
done = true;
if (errors == null) {
return true;
}
CheckErrorResult errorResult = createCheckErrorResult(
analysis, parameter.getBeginIndex(), parameter.getEndIndex());
if (parameter.getParameterCount() == 1) {
String value = parameter.getParameterValue(0);
if (value != null) {
errorResult.addReplacement(value);
}
}
errors.add(errorResult);
nextIndex = parameter.getEndIndex();
}
}
// Check for functions
if (!done) {