Lines Matching refs:ldict
436 ldict = f.f_globals.copy()
438 ldict.update(f.f_locals)
440 return ldict
482 def _form_master_re(relist,reflags,ldict,toknames): argument
493 handle = ldict.get(f,None)
508 llist, lre, lnames = _form_master_re(relist[:m],reflags,ldict,toknames)
509 rlist, rre, rnames = _form_master_re(relist[m:],reflags,ldict,toknames)
545 def __init__(self,ldict,log=None,reflags=0): argument
546 self.ldict = ldict
575 tokens = self.ldict.get("tokens",None)
606 self.literals = self.ldict.get("literals","")
622 self.states = self.ldict.get("states",None)
653 tsymbols = [f for f in self.ldict if f[:2] == 't_' ]
673 t = self.ldict[f]
867 ldict = None
885 ldict = dict(_items)
887 ldict = get_caller_module_dict(2)
890 linfo = LexerReflect(ldict,log=errorlog,reflags=reflags)
898 lexobj.readtab(lextab,ldict)
954 lexre, re_text, re_names = _form_master_re(regexs[state],reflags,ldict,linfo.toknames)