Lines Matching refs:lextab
216 lextab = tabfile
219 exec("import %s as lextab" % tabfile)
222 exec("import %s as lextab" % tabfile, env,env)
223 lextab = env['lextab']
225 if getattr(lextab,"_tabversion","0.0") != __version__:
228 self.lextokens = lextab._lextokens
229 self.lexreflags = lextab._lexreflags
230 self.lexliterals = lextab._lexliterals
231 self.lexstateinfo = lextab._lexstateinfo
232 self.lexstateignore = lextab._lexstateignore
235 for key,lre in lextab._lexstatere.items():
239 titem.append((re.compile(lre[i][0],lextab._lexreflags | re.VERBOSE),_names_to_funcs(lre[i][1],fdict)))
244 for key,ef in lextab._lexstateerrorf.items():
865 def lex(module=None,object=None,debug=0,optimize=0,lextab="lextab",reflags=0,nowarn=0,outputdir="", debuglog=None, errorlog=None):
896 if optimize and lextab:
898 lexobj.readtab(lextab,ldict)
1002 # If in optimize mode, we write the lextab
1003 if lextab and optimize:
1004 lexobj.writetab(lextab,outputdir)