/// <summary> /// Visits a LAST expression /// </summary> /// <param name="lastExpression"></param> protected virtual void VisitLastExpression(LastExpression lastExpression) { if (lastExpression != null) { VisitConditionBasedListExpression(lastExpression); } }
/// <summary> /// Gets the expression tree that was deserialized. /// </summary> /// <remarks> /// Used mainly for troubleshooting. /// </remarks> /// <returns>The expression tree.</returns> public string GetExpressionTree() { if (LastExpression == null) { return(string.Empty); } var result = LastExpression.AsEnumerable().ToString(); LastExpression = null; return(result); }