protected void processUnaryExpression(
RuleLineCollection ruleLines,
RuleLine parentRuleLine,
UnaryExpression unaryExpression) throws InternalErrorException {
OperatorKind operator = unaryExpression.getOperator();
if (OperatorKind.FIRED.equals(operator)
|| OperatorKind.NOT_FIRED.equals(operator)) {
processFiredRuleCondition(ruleLines, parentRuleLine, unaryExpression);
} else if (OperatorKind.NOT.equals(operator)) {
NotOperatorRuleLine notOperatorRuleLine = new NotOperatorRuleLine();
processExpressionItem(ruleLines, notOperatorRuleLine, unaryExpression.getOperand());
addRuleLine(notOperatorRuleLine, ruleLines, parentRuleLine);
} else {
throw new InternalErrorException(new Exception("Unknown operator '" + operator + "'"));
}
}