Exemplo n.º 1
0
		protected override IExpression VisitNullary(NullaryExpression nullaryExpression)
		{
			if ((object)nullaryExpression == null)
				throw new ArgumentNullException(nameof(nullaryExpression));

			switch (nullaryExpression.NullaryOperator)
			{
				case NullaryOperator.Nop:
					this.Strings.Append(" (-1 <> 1) ");
					break;
				default:
					throw new NotSupportedException(string.Format("The nullary operator '{0}' is not supported.", nullaryExpression.NullaryOperator));
			}

			return nullaryExpression;
		}
Exemplo n.º 2
0
		protected abstract IExpression VisitNullary(NullaryExpression nullaryExpression);