Home | History | Annotate | Download | only in compiler

Lines Matching refs:meth

45         meth = self._cache.get(klass, None)
46 if meth is None:
48 meth = getattr(self.visitor, 'visit' + className, self.default)
49 self._cache[klass] = meth
53 ## if meth == 0:
56 ## print "dispatch", className, (meth and meth.__name__ or '')
57 return meth(node, *args)
76 meth = self._cache.get(node.__class__, None)
78 if meth is None:
79 meth = getattr(self.visitor, 'visit' + className, 0)
80 self._cache[node.__class__] = meth
82 print "dispatch", className, (meth and meth.__name__ or '')
83 if meth:
84 meth(node, *args)