예제 #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
 }