コード例 #1
0
        /// <inheritdoc/>
        protected override Provider VisitExcept(ExceptProvider provider)
        {
            OnRecursionEntrance(provider);
            var left  = VisitCompilable(provider.Left);
            var right = VisitCompilable(provider.Right);

            OnRecursionExit(provider);
            if (left == provider.Left && right == provider.Right)
            {
                return(provider);
            }
            return(new ExceptProvider(left, right));
        }
コード例 #2
0
 /// <summary>
 /// Visits the <see cref="ExceptProvider"/>.
 /// </summary>
 /// <param name="provider">Except provider.</param>
 /// <returns></returns>
 protected abstract Provider VisitExcept(ExceptProvider provider);