Пример #1
0
 /// <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);
     }
 }
Пример #2
0
 /// <summary>
 /// Called when [NCC node] is visited.
 /// </summary>
 /// <param name="node">The node.</param>
 public virtual void OnNCCNode(NCCNode node)
 {
 }
Пример #3
0
 /// <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);
     }
 }
Пример #4
0
 /// <summary>
 /// Called when [NCC node] is visited.
 /// </summary>
 /// <param name="node">The node.</param>
 public virtual void OnNCCNode(NCCNode node)
 {
 }