예제 #1
0
 def __init__(self, fn):
   SyntaxVisitor.__init__(self)
   
   self.fn = fn
   self.call_stack.append(fn)
   self.bound = set(fn.arg_names)
   self.seen_return = False 
예제 #2
0
파일: verify.py 프로젝트: iskandr/parakeet
    def __init__(self, fn):
        SyntaxVisitor.__init__(self)

        self.fn = fn
        self.call_stack.append(fn)
        self.bound = set(fn.arg_names)
        self.seen_return = False
예제 #3
0
파일: licm.py 프로젝트: lucciano/parakeet
 def __init__(self):
   SyntaxVisitor.__init__(self)
   self.mutable_types = None
   self.volatile_vars = ScopedSet()
   self.depends_on = {}
   self.safe_to_move = set([])
   self.curr_block_id = None
   self.block_contains_return = set([])
   self.may_alias = None
예제 #4
0
 def __init__(self):
   SyntaxVisitor.__init__(self)
   self.bindings = {}
예제 #5
0
 def __init__(self):
   SyntaxVisitor.__init__(self)
   self.var_names = set([])
예제 #6
0
 def __init__(self):
     SyntaxVisitor.__init__(self)
     self.mutable_types = set([])
예제 #7
0
 def __init__(self):
   SyntaxVisitor.__init__(self)
   self.ranges = {} 
   self.old_values = ScopedDict()
   self.old_values.push()
예제 #8
0
파일: verify.py 프로젝트: lucciano/parakeet
 def __init__(self, fn):
   SyntaxVisitor.__init__(self)
   self.fn = fn
   self.bound = set(fn.arg_names)
예제 #9
0
 def __init__(self):
     SyntaxVisitor.__init__(self)
     self.ranges = {}
     self.old_values = ScopedDict()
     self.old_values.push()
예제 #10
0
 def __init__(self):
   SyntaxVisitor.__init__(self)
   self.live_vars = set([])
예제 #11
0
 def __init__(self):
   
   SyntaxVisitor.__init__(self)
   self.counts = {}
예제 #12
0
 def __init__(self):
   SyntaxVisitor.__init__(self)
   self.mutable_types = set([])
예제 #13
0
 def __init__(self):
     SyntaxVisitor.__init__(self)
     self.live_vars = set([])
예제 #14
0
    def __init__(self):

        SyntaxVisitor.__init__(self)
        self.counts = {}
예제 #15
0
 def __init__(self):
     SyntaxVisitor.__init__(self)
     self.bindings = {}
예제 #16
0
 def __init__(self):
     SyntaxVisitor.__init__(self)
     self.var_names = set([])