@Test public void match_2() { MapAction mapAction = new MapAction(); mapAction.put(Var.alloc("a"), new ActionMatchVar()); MapResult mapResult = new MapResult(); mapResult.put(Var.alloc("a"), ExprUtils.parse("?x")); match("?x", "?a", mapAction, mapResult); }
public SortCondition(Node var, int dir) { this(ExprUtils.nodeToExpr(var), dir); }