Пример #1
0
 public async Task <Value> Visit(LogicFalse constant)
 {
     //return await Loop<Value>();
     // Change: we know that this is false, instead of looping just return false
     //  if we want to loop then the expression exists(n) (n != n) will loop
     return(await Task.Run(() => new BoolValue(false))); // get rid of compiler warning
 }
Пример #2
0
 public Expression Visit(LogicFalse constant)
 {
     return(constant);
 }
 public SortedSet <string> Visit(LogicFalse constant)
 {
     return(new SortedSet <string> {
     });
 }
Пример #4
0
 public T Visit(LogicFalse constant)
 {
     return(default(T));
 }