equal
deleted
inserted
replaced
71 expression='Any X WHERE '+snippet) |
71 expression='Any X WHERE '+snippet) |
72 or snippet |
72 or snippet |
73 for snippet in exprs] |
73 for snippet in exprs] |
74 snippets.append((dict([v]), rqlexprs)) |
74 snippets.append((dict([v]), rqlexprs)) |
75 rqlhelper.compute_solutions(rqlst.children[0], {'eid': eid_func_map}, kwargs=kwargs) |
75 rqlhelper.compute_solutions(rqlst.children[0], {'eid': eid_func_map}, kwargs=kwargs) |
76 solutions = rqlst.children[0].solutions |
76 rewriter.rewrite(rqlst.children[0], snippets, kwargs, existingvars) |
77 rewriter.rewrite(rqlst.children[0], snippets, solutions, kwargs, |
|
78 existingvars) |
|
79 test_vrefs(rqlst.children[0]) |
77 test_vrefs(rqlst.children[0]) |
80 return rewriter.rewritten |
78 return rewriter.rewritten |
81 |
79 |
82 def test_vrefs(node): |
80 def test_vrefs(node): |
83 vrefmaps = {} |
81 vrefmaps = {} |