/// <summary> /// Called when [NCC node] is visited. /// </summary> /// <param name="node">The node.</param> public override void OnNCCNode(NCCNode node) { _sb.Append(_indentString).AppendLine("NCC Node"); _sb.Append(_indentString).AppendLine(" |"); _sb.Append(_indentString).AppendLine(" | ====== MATCHES ======"); foreach (Token item in node.Items) { item.Accept(this); } _sb.Append(_indentString).AppendLine(" |"); _sb.Append(_indentString).AppendLine(" V"); foreach (ReteNode child in node.Children) { child.Accept(this); } }
/// <summary> /// Called when [NCC node] is visited. /// </summary> /// <param name="node">The node.</param> public virtual void OnNCCNode(NCCNode node) { }