protected override void InfixVisit(IOrOperatorNode <TraceNode> node) { var trace = (OrOperatorTrace)node; Pad(sb, indent); sb.Append("OR ").Append(trace.Outcome).Append(") "); if (trace.Right == null) { sb.AppendLine("<Skipped>"); } else { sb.Append(" "); } }
protected override void PostVisit(IOrOperatorNode <IDaisyAstNode> node) { indent--; }
protected override bool PreVisit(IOrOperatorNode <IDaisyAstNode> node) { Pad(sb, indent); sb.Append("OR\r\n"); indent++; return(true); }
protected virtual bool PreVisit(IOrOperatorNode <T> node) { return(true); }
protected virtual void PostVisit(IOrOperatorNode <T> node) { }
protected virtual void InfixVisit(IOrOperatorNode <T> node) { }