예제 #1
0
    def used_vars(self):
        from pythonql.Ast import get_all_vars, get_ast
        if self.expr:
            return get_all_vars(get_ast(self.expr))

        else:
            return get_all_vars(get_ast(self.key_expr)).union(
                get_all_vars(get_ast(self.value_expr)))
예제 #2
0
  def used_vars(self):
    from pythonql.Ast import get_all_vars,get_ast
    if self.expr:
        return get_all_vars(get_ast(self.expr))

    else:
        return get_all_vars(get_ast(self.key_expr)).union(
            get_all_vars(get_ast(self.value_expr)))
예제 #3
0
    def used_vars(self):
        from pythonql.Ast import get_all_vars, get_ast
        vs = set()
        for c in self.left_conds:
            vs = vs.union(get_all_vars(get_ast(c)))
        for c in self.right_conds:
            vs = vs.union(get_all_vars(get_ast(c)))

        return vs
예제 #4
0
  def used_vars(self):
    from pythonql.Ast import get_all_vars,get_ast
    vs = set()
    for c in self.left_conds:
        vs = vs.union( get_all_vars(get_ast(c)))
    for c in self.right_conds:
        vs = vs.union( get_all_vars(get_ast(c)))

    return vs
예제 #5
0
    def used_vars(self):
        from pythonql.Ast import get_all_vars, get_ast
        vs = set()
        for (ex, _) in self.groupby_list:
            vs = vs.union(get_all_vars(get_ast(ex)))

        return vs
예제 #6
0
  def used_vars(self):
    from pythonql.Ast import get_all_vars,get_ast
    vs = set()
    for (ex,_) in self.groupby_list:
        vs = vs.union(get_all_vars(get_ast(ex)))

    return vs
예제 #7
0
 def used_vars(self):
     from pythonql.Ast import get_all_vars, get_ast
     return get_all_vars(self.on)
예제 #8
0
 def used_vars(self):
     from pythonql.Ast import get_all_vars, get_ast
     return get_all_vars(get_ast(expr.binding_seq))
예제 #9
0
 def used_vars(self):
   from pythonql.Ast import get_all_vars,get_ast
   return get_all_vars(self.on)
예제 #10
0
 def used_vars(self):
   from pythonql.Ast import get_all_vars,get_ast
   return get_all_vars( get_ast( expr.binding_seq ))