Ejemplo n.º 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
Ejemplo n.º 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);
Ejemplo n.º 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})";