Exemplo n.º 1
0
 /// <summary>
 /// Visits the Temporary Variable node.
 /// </summary>
 /// <param name="node">The node to visit.</param>
 public override bool VisitTemporaryVariable(TemporaryVariableNode node)
 {
     if (node.Parent == null)
     {
         return(false);
     }
     if (node.Token == null)
     {
         return(false);
     }
     return(true);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Visits the Temporary Variable node.
 /// </summary>
 /// <param name="node">The node to visit.</param>
 public virtual TResult VisitTemporaryVariable(TemporaryVariableNode node)
 {
     throw new NotImplementedException();
 }
Exemplo n.º 3
0
 /// <summary>
 /// Visits the Temporary Variable node.
 /// </summary>
 /// <param name="node">The node to visit.</param>
 public virtual TResult VisitTemporaryVariable(TemporaryVariableNode node)
 {
     return(default(TResult));            // The default naive implementation
 }