playtest-unity/playtest/Library/PackageCache/com.unity.visualscripting@1.../Runtime/VisualScripting.Flow/Dependencies/NCalc/EvaluationOption.cs

38 lines
979 B
C#
Raw Permalink Normal View History

2023-06-19 23:21:21 -04:00
using System;
namespace Unity.VisualScripting.Dependencies.NCalc
{
/// <summary>
/// Provides enumerated values to use to set evaluation options.
/// </summary>
[Flags]
public enum EvaluateOptions
{
/// <summary>
/// Specifies that no options are set.
/// </summary>
None = 1,
/// <summary>
/// Specifies case-insensitive matching.
/// </summary>
IgnoreCase = 2,
/// <summary>
/// No-cache mode. Ingores any pre-compiled expression in the cache.
/// </summary>
NoCache = 4,
/// <summary>
/// Treats parameters as arrays and result a set of results.
/// </summary>
IterateParameters = 8,
/// <summary>
/// When using Round(), if a number is halfway between two others, it is rounded toward the nearest number that is away
/// from zero.
/// </summary>
RoundAwayFromZero = 16
}
}