/// <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); }
/// <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); }