for (int i = 0; i < node.jjtGetNumChildren(); i++) {
final Node n = node.jjtGetChild(i);
if (n instanceof ASTOptionalConstraint) {
final Optional optional = new Optional();
if (testOP != null) {
optional.addSucceedingOperator(new OperatorIDTuple<Operator>(
testOP, 0));
}
testOP = (Operator) n.jjtAccept(
this, null);
if (testOP != null) {
optional.addSucceedingOperator(new OperatorIDTuple<Operator>(
testOP, 1));
}
testOP = optional;
}