return result;
}
public DebugScriptApply createDebugScriptApply(ScriptApply apply, RutaStream stream,
boolean addToIndex, boolean withMatches, Map<RutaElement, Long> timeInfo) {
DebugScriptApply debug = null;
if (apply instanceof BlockApply) {
debug = createDebugBlockApply((BlockApply) apply, stream, addToIndex, withMatches, timeInfo);
} else if (apply instanceof RuleApply) {
debug = createDebugRuleApply((RuleApply) apply, stream, addToIndex, withMatches, timeInfo);
}
if (addToIndex)
debug.addToIndexes();
return debug;
}