/// <inheritdoc /> public override void VisitAnyCompoundValue(AnyCompoundValue value) { // Skip <see cref="AnyValue" />. The type is super-type of <see cref="AnyCompoundValue" />, // but it is concrete type and its visit method can contain code that is solving the same // problem as the previous visit methods. In this case, use additional method with shared code. VisitValue(value); }
/// <inheritdoc /> public override void VisitAnyCompoundValue(AnyCompoundValue value) { isConcrete = false; integerIndex = null; stringIndex = null; isNotConvertibleToInteger = true; isCompoundValue = true; }
/// <inheritdoc /> public override void VisitAnyCompoundValue(AnyCompoundValue value) { if (PerformCommonAnyOperandOperations()) { return; } base.VisitAnyCompoundValue(value); }
/// <inheritdoc /> public override void VisitAnyCompoundValue(AnyCompoundValue value) { result = Comparison.AbstractCompare(OutSet, operation); if (result != null) { // Ommitted warning message that object cannot be converted to integer return; } base.VisitAnyCompoundValue(value); }
/// <inheritdoc /> public override void VisitAnyCompoundValue(AnyCompoundValue value) { if (operation == Operations.BitNegation) { // TODO: This must be fatal error SetWarning("Unsupported operand types: Bit negation of compound value"); result = OutSet.AnyValue; return; } // AnyValue has its own implementation, thou must be skipped base.VisitAnyCompoundValue(value); }
/// <inheritdoc /> public override void VisitAnyCompoundValue(AnyCompoundValue value) { switch (operation) { case Operations.Identical: result = OutSet.CreateBool(false); break; case Operations.NotIdentical: result = OutSet.CreateBool(true); break; default: base.VisitAnyCompoundValue(value); break; } }
/// <inheritdoc /> public override void VisitAnyCompoundValue(AnyCompoundValue value) { switch (operation) { case Operations.Identical: result = OutSet.CreateBool(false); break; case Operations.NotIdentical: result = OutSet.CreateBool(true); break; default: result = Comparison.RightAlwaysGreater(OutSet, operation); if (result != null) { break; } base.VisitAnyCompoundValue(value); break; } }
/// <inheritdoc /> public override void VisitAnyCompoundValue(AnyCompoundValue value) { result = value; }
/// <inheritdoc /> public override void VisitAnyCompoundValue(AnyCompoundValue value) { preservedValues.Add(value); }