/// <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); }
/// <summary> /// Visits the Temporary Variable node. /// </summary> /// <param name="node">The node to visit.</param> public virtual TResult VisitTemporaryVariable(TemporaryVariableNode node) { throw new NotImplementedException(); }
/// <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 }