示例#1
0
 /// <summary>
 /// Creates an equality expression from existing <see cref="SFeel"/> expression
 /// </summary>
 /// <param name="e"><see cref="SFeel"/> expression</param>
 public static string Eq(SFeel e) => e; //Eq (==) is default operator
示例#2
0
 /// <summary>
 /// Creates an inequality expression from existing <see cref="SFeel"/> expression
 /// </summary>
 /// <param name="e"><see cref="SFeel"/> expression</param>
 public static string Ne(SFeel e) => Not(e);
示例#3
0
 /// <summary>
 /// Creates a <code>not</code> SFeel expression encapsulating an existing <see cref="SFeel"/> expression
 /// </summary>
 /// <param name="e"><see cref="SFeel"/> expression to negate</param>
 public static string Not(SFeel e) => $"not({e})";