Exemplo n.º 1
0
 /// <summary>
 ///     Visit Then node in DFS manner.
 /// </summary>
 /// <param name="node">Then node that will be visited.</param>
 public virtual void Visit(ThenNode node)
 {
     node.Descendant.Accept(this);
     node.Accept(_visitor);
 }
Exemplo n.º 2
0
 /// <summary>
 ///     Visit Then node in BFS manner.
 /// </summary>
 /// <param name="node">Then node that will be visited.</param>
 public override void Visit(ThenNode node)
 {
     node.Accept(Visitor);
     node.Descendant.Accept(this);
     _contextChangeTracker.Push(true);
 }