Example #1
0
 /// <summary>
 ///     Visit WhenThen node in BFS manner.
 /// </summary>
 /// <param name="node">FSlashNode node that will be visited.</param>
 public void Visit(WhenThenNode node)
 {
     node.Accept(_visitor);
     foreach (var item in node.Descendants)
     {
         item.Accept(this);
     }
 }
Example #2
0
 public override void Visit(WhenThenNode node)
 {
 }
Example #3
0
 public override void Visit(WhenThenNode node) => ProduceDebuggerInstructions(node, n => base.Visit(n));
Example #4
0
 /// <summary>
 ///     Visit WhenThen node.
 /// </summary>
 /// <param name="node">WhenThen node of AST</param>
 public abstract void Visit(WhenThenNode node);
Example #5
0
 public void Visit(WhenThenNode node)
 {
 }
Example #6
0
 /// <summary>
 ///     Performs "WhenThen" specific operations.
 /// </summary>
 /// <param name="node">The "WhenThen" node.</param>
 public virtual void Visit(WhenThenNode node)
 {
     _labels.Add($"when_{node.FullSpan.Start}{node.FullSpan.End}", Instructions.Count);
 }