Lines Matching defs:lex
2 # ply: lex.py
413 # ==== Lex Builder ===
861 # lex(module)
865 def lex(module=None,object=None,debug=0,optimize=0,lextab="lextab",reflags=0,nowarn=0,outputdir="", debuglog=None, errorlog=None):
909 debuglog.info("lex: tokens = %r", linfo.tokens)
910 debuglog.info("lex: literals = %r", linfo.literals)
911 debuglog.info("lex: states = %r", linfo.stateinfo)
938 debuglog.info("lex: Adding rule %s -> '%s' (state '%s')",fname,f.__doc__, state)
944 debuglog.info("lex: Adding rule %s -> '%s' (state '%s')",name,r, state)
951 debuglog.info("lex: ==== MASTER REGEXS FOLLOW ====")
960 debuglog.info("lex: state '%s' : regex[%d] = '%s'",state, i, re_text[i])