if (theCase.isDefault()) {
theCase.getStatement().interpret(eval);
return true;
}
PatternWithAction rule = theCase.getPatternWithAction();
if (rule.hasStatement()) {
return Cases.matchAndEval(subject, rule.getPattern(), pattern.getStatement(), eval);
}
else {
return matchEvalAndReplace(subject, rule.getPattern(), conditions, insert, eval);
}
}