Пример #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);
 }
Пример #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();
 }
Пример #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
 }