Warning: session_start(): open(/var/lib/php/sessions/sess_aj7s8194qk5h2vjildq7uno4aq, O_RDWR) failed: No space left on device (28) in /var/www/tb-usercake/models/config.php on line 51
Warning: session_start(): Failed to read session data: files (path: /var/lib/php/sessions) in /var/www/tb-usercake/models/config.php on line 51
static L gazelle_getChildren_withContinuations(GazelleTree tree, O... _) {
L l = gazelle_getChildren(tree, _);
new Matches m;
bool changes = false;
for i over l: {
GazelleTree t = l.get(i);
continue unless eq(t.lineType, 'instruction)
&& match("continue with line * of rule * without variables", t.line, m);
S ruleID = $2;
RuleEngine2.Rule rule = t.ctx.engine.getRule(ruleID);
if (rule == null) {
print("Follow-up rule not found: " + ruleID);
continue with l.remove(i--);
}
set changes;
t.mr.rule = rule;
t.mr.iCond = parseInt($1)-1;
t.mr.map = ciMap();
// TODO: remainingConditions?
if (!t.mr.moreConditions()) {
t.line = rule.out;
t.lineType = rule.outType;
}
gazelle_addPredictionToTreeNode(t);
}
if (changes) gazelle_sortChildren(l);
ret l;
}